TextureProgram

Undocumented in source.

Members

Functions

createVAO
void createVAO(size_t verticesBufferLength, size_t colorsBufferLength)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBatch
bool drawBatch(Tex2D texture, bool linear, int length, int start)
Undocumented in source. Be warned that the author may not have intended to support it.
getVertexElementLocation
int getVertexElementLocation(VertexElementType type)

get location for vertex attribute

initLocations
bool initLocations()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

fragmentSource
string fragmentSource [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
vertexSource
string vertexSource [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

texCoordLocation
GLint texCoordLocation;
Undocumented in source.

Inherited Members

From SolidFillProgram

vertexSource
string vertexSource [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
fragmentSource
string fragmentSource [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
matrixLocation
GLint matrixLocation;
Undocumented in source.
vertexLocation
GLint vertexLocation;
Undocumented in source.
colAttrLocation
GLint colAttrLocation;
Undocumented in source.
initLocations
bool initLocations()
Undocumented in source. Be warned that the author may not have intended to support it.
getVertexElementLocation
int getVertexElementLocation(VertexElementType type)

get location for vertex attribute

vao
VAO vao;
Undocumented in source.
beforeExecute
void beforeExecute()
Undocumented in source. Be warned that the author may not have intended to support it.
createVAO
void createVAO(size_t verticesBufferLength)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBatch
bool drawBatch(int length, int start, bool areLines)
Undocumented in source. Be warned that the author may not have intended to support it.
destroyBuffers
void destroyBuffers()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta