GlTexture2DImpl

Undocumented in source.

Constructors

this
this(TextureImg img)
Undocumented in source.
this
this(Color[][] colors)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

Bind
void Bind(int attachPos, Shader s)

Binds the texture.

GLTexture
Texture GLTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
Id
uint Id()
Undocumented in source. Be warned that the author may not have intended to support it.
Unbind
void Unbind()

Unbinds the texture.

UpdatePixelData
void UpdatePixelData(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
rebuffer
void rebuffer()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Texture2D

image
TextureImg image;
Undocumented in source.
Id
uint Id()
Undocumented in source.
Width
int Width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Height
int Height [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Pixels
Color[][] Pixels [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Pixels
Color[][] Pixels [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Size
Rectanglei Size()
Undocumented in source. Be warned that the author may not have intended to support it.
Bind
void Bind(int attach_pos, Shader s)

Binds the texture.

UpdatePixelData
void UpdatePixelData(ubyte[] data)
Undocumented in source.
Unbind
void Unbind()

Unbinds the texture.

rebuffer
void rebuffer()
Undocumented in source.

Meta