csSimpleRenderMesh Struct Reference
A simple render mesh. More...
#include <ivideo/graph3d.h>
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. | |
csRef< csRenderBufferHolder > | renderBuffers |
(Optional) Buffer holder with all vertex buffers. | |
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. | |
uint | indexEnd |
(optional) Range of indices to draw. | |
uint | indexStart |
(optional) Range of indices to draw. |
Detailed Description
A simple render mesh.
Definition at line 640 of file graph3d.h.
Member Data Documentation
const uint* csSimpleRenderMesh::indices |
(Optional) Transform to apply to the mesh.
- Remarks:
- This transform is initialized to an identity transform. This effectively means that geometry is drawn in world space. To draw in screen space, supply the csSimpleMeshScreenspace flag to DrawSimpleMesh(). For anything else supply an appropriate transformation.
- Keep in mind that the renderer's world-to-camera transform is in effect, too.
The documentation for this struct was generated from the following file:
- ivideo/graph3d.h
Generated for Crystal Space 2.0 by doxygen 1.6.1