17 #ifndef DIRECTTEXTURE_H
18 #define DIRECTTEXTURE_H
47 virtual void bind()
override;
48 virtual void unbind()
override;
53 virtual int getWidth()
const override;
70 GLint mMagFilter = GL_LINEAR;
71 GLint mMinFilter = GL_NEAREST_MIPMAP_LINEAR;
72 GLint mHorizontalWrapMode = GL_REPEAT;
73 GLint mVerticalWrapMode = GL_REPEAT;
76 #endif // DIRECTTEXTURE_H
virtual void setMinificationFilter(GLint value) override
Sets the minification filter mode applied to this Texture.
Header declaring and including types common to renderer classes such as Vector2. Also includes GL hea...
A texture which points to a user managed GL texture object.
Definition: DirectTexture.h:30
DirectTexture()
Creates a Texture which references the invalid texture object zero.
virtual void setHorizontalWrapMode(GLint value) override
Sets the wrap mode to apply to the Texture horizontally.
Texture abstract base class.
Definition: Texture.h:32
virtual ~DirectTexture()
Cleans up additional resources owned by this object.
virtual void setMagnificationFilter(GLint value) override
Sets the magnification filter mode applied to this Texture.
virtual void setVerticalWrapMode(GLint value) override
Sets the wrap mode to apply to the Texture vertically.
virtual void bind() override
Binds this Texture to the current active texture stage.
virtual GLint getVerticalWrapMode() override
Returns the wrap mode to apply to the Texture vertically.
virtual GLint getMagnificationFilter() override
Returns the magnification filter mode applied to this Texture.
virtual int getWidth() const override
Current unsupported.
virtual int getHeight() const override
Current unsupported.
virtual GLint getHorizontalWrapMode() override
Returns the wrap mode to apply to the Texture horizontally.
virtual void unbind() override
Unbinds this Texture from the current active texture stage.
virtual GLint getMinificationFilter() override
Returns the minification filter mode applied to this Texture.