- bind
void bind()
Bind the texture to the current render cycle.
- destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(IRenderer renderer, Vecf position)
Undocumented in source. Be warned that the author may not have intended to support it.
- drawEx
void drawEx(IRenderer renderer, Vecf position, float angle, Vecf center, Vecf size, ubyte alpha, Color!ubyte color)
Undocumented in source. Be warned that the author may not have intended to support it.
- editParametrs
void editParametrs(int[] parametrs)
Edits texture parameters based on an array of parameters.
- inActive
void inActive(int id)
Undocumented in source. Be warned that the author may not have intended to support it.
- initShader
Shader!Program initShader(IRenderer render)
Initializes the shader for rendering the texture
(if no shader was specified in the current rendering, then the default
shader is taken).
- initializeArrayFromData
void initializeArrayFromData(TextureInfo[] informations)
Undocumented in source. Be warned that the author may not have intended to support it.
- initializeFromData
void initializeFromData(TextureInfo information)
Initializes the texture from the input data (if the texture was previously
initialized, the data will be updated).
- unbind
void unbind()
Unbind the texture to the current render cycle.
A texture object for manipulating its data, properties, and parameters.