void setFilter(GLint magFilter, GLint minFilter)
Update the filtering parameters on the bound texture.
Definition GLDepthTexture.h:106
uint32_t getHeight() const
Face height in texels.
Definition GLDepthTexture.h:94
GLDepthDataType getType() const
Depth storage type used for allocation.
Definition GLDepthTexture.h:98
~GLDepthTexture()
Destroy and delete the GL texture name.
Definition GLDepthTexture.h:48
uint32_t getWidth() const
Face width in texels.
Definition GLDepthTexture.h:96
void setEmpty(uint32_t width, uint32_t height, GLDepthDataType dataType=GLDepthDataType::DEPTH24)
Allocate empty depth storage of the requested size/format.
Definition GLDepthTexture.h:66
GLDepthTexture(GLint magFilter=GL_LINEAR, GLint minFilter=GL_LINEAR, GLint wrapX=GL_CLAMP_TO_EDGE, GLint wrapY=GL_CLAMP_TO_EDGE)
Create a depth texture with initial sampler parameters.
Definition GLDepthTexture.h:30
const GLuint getId() const
Retrieve the OpenGL texture object name.
Definition GLDepthTexture.h:56