csSimpleRenderMesh Struct Reference
[3D]
A simple render mesh.
More...
#include <graph3d.h>
Public Attributes | |
csRenderMeshType | meshtype |
Type of the geometry to draw. | |
uint | indexCount |
Number of vertex indices. | |
const uint * | indices |
Vertex indices. | |
uint | vertexCount |
Number of vertices. | |
const csVector3 * | vertices |
Vertices. | |
const csVector2 * | texcoords |
(Optional) Texture coordinates. | |
const csVector4 * | colors |
(Optional) Colors. | |
iTextureHandle * | texture |
(Optional) Handle to the texture to select. | |
iShader * | shader |
(Optional) Shader to use. | |
iShaderVariableContext * | dynDomain |
(Optional) Shader variable context. | |
csAlphaMode | alphaType |
(Optional) Alpha mode. Defaults to "autodetect". | |
csZBufMode | z_buf_mode |
(Optional) Z buffer mode. Defaults to CS_ZBUF_NONE. | |
uint | mixmode |
(Optional) Mix mode. Defaults to CS_FX_COPY. | |
csReversibleTransform | object2camera |
(Optional) Transform to apply to the mesh. |
Detailed Description
A simple render mesh.
Definition at line 719 of file graph3d.h.
Member Data Documentation
|
(Optional) Alpha mode. Defaults to "autodetect".
|
|
(Optional) Colors. Leaving this 0 has the same effect as having all vertex colors set to white. |
|
(Optional) Shader variable context.
|
|
Number of vertex indices.
|
|
Vertex indices.
|
|
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.2.18