Texture

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

AttachTo
void AttachTo(GLenum textureid)
Bind
void Bind()

Binds the texture with default type

Bind
void Bind(GLenum target)

Binds the texture

Image1D
void Image1D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const(GLvoid)* data)
Image2D
void Image2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const(GLvoid)* data)
Image2DMultisample
void Image2DMultisample(GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations)
Image3D
void Image3D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const(GLvoid)* data)
Image3DMultisample
void Image3DMultisample(GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations)
SetParameter
void SetParameter(GLenum target, GLenum pname, GLint param)
SetParameter
void SetParameter(GLenum target, GLenum pname, GLfloat param)
SetParameter
void SetParameter(GLenum target, GLenum pname, GLint* param)
SetParameter
void SetParameter(GLenum target, GLenum pname, GLfloat* param)
SetParameter
void SetParameter(GLenum target, GLenum pname, const(GLint)* param)
SetParameter
void SetParameter(GLenum target, GLenum pname, const(GLuint)* param)
Unbind
void Unbind()

Unbinds the texture (binds texture 0)

Inherited Members

From GLObject

Id
GLuint Id()
Undocumented in source. Be warned that the author may not have intended to support it.
Bind
void Bind()

Binds the object with default type

Bind
void Bind(GLenum target)

Binds the object

Unbind
void Unbind()

Unbinds the object

Meta