Texture2D

Undocumented in source.

Constructors

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

Members

Functions

Bind
void Bind(int attach_pos, Shader s)

Binds the texture.

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

Unbinds the texture.

rebuffer
void rebuffer()
Undocumented in source.

Properties

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.
Width
int Width [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

image
TextureImg image;
Undocumented in source.

Meta