csSimpleRenderMesh Struct Reference
A simple render mesh. More...
#include <ivideo/graph3d.h>
Public Member Functions | |
csSimpleRenderMesh () | |
Public Attributes | |
csAlphaMode | alphaType |
(Optional) Alpha mode. Defaults to "autodetect". | |
const csVector4 * | colors |
(Optional) Colors. | |
iShaderVariableContext * | dynDomain |
(Optional) Shader variable context. | |
uint | indexCount |
(optional) Number of vertex indices | |
const uint * | indices |
(optional) Vertex indices. | |
csRenderMeshType | meshtype |
Type of the geometry to draw. | |
uint | mixmode |
(Optional) Mix mode. Defaults to CS_FX_COPY. | |
csReversibleTransform | object2world |
(Optional) Transform to apply to the mesh. | |
iShader * | shader |
(Optional) Shader to use. | |
const csVector2 * | texcoords |
(Optional) Texture coordinates. | |
iTextureHandle * | texture |
(Optional) Handle to the texture to select. | |
uint | vertexCount |
Number of vertices. | |
const csVector3 * | vertices |
Vertices. | |
csZBufMode | z_buf_mode |
(Optional) Z buffer mode. Defaults to CS_ZBUF_NONE. |
Detailed Description
A simple render mesh.
Definition at line 587 of file graph3d.h.
Member Data Documentation
|
(Optional) Alpha mode. Defaults to "autodetect".
Definition at line 630 of file graph3d.h. Referenced by csSimpleRenderMesh(). |
|
(Optional) Colors. Leaving this 0 has the same effect as having all vertex colors set to white. |
|
(Optional) Shader variable context.
|
|
(optional) Number of vertex indices
|
|
(optional) Vertex indices. If this field is 0, vertexCount indices are generated with the values 0 to vertexCount -1. indexCount is ignored in that case. In other words, not specifying indices assumes all vertices are in order and only used once. |
|
Type of the geometry to draw.
|
|
(Optional) Mix mode. Defaults to CS_FX_COPY.
|
|
(Optional) Transform to apply to the mesh.
|
|
(Optional) Shader to use.
|
|
(Optional) Texture coordinates.
|
|
(Optional) Handle to the texture to select. Leaving this 0 has the same effect as using a white texture. |
|
Number of vertices.
|
|
Vertices. Note: you can omit vertices or texcoords, however this will likely only give useable results if you provide a shader and shader var context (and transfer vertices and/or texcoords with SVs.) |
|
(Optional) Z buffer mode. Defaults to CS_ZBUF_NONE.
|
The documentation for this struct was generated from the following file:
- ivideo/graph3d.h
Generated for Crystal Space by doxygen 1.4.6