#include <graph3d.h>
Public Types | |
enum | { MAX_VERTEXPOOL = 2 } |
enum | { VM_WORLDSPACE, VM_VIEWSPACE } |
Type of vertices supplied. More... | |
Public Attributes | |
int | num_vertices_pool |
Number of vertex sets, if > 1, morphing will be applied. | |
int | num_triangles |
Number of triangles. | |
csTriangle* | triangles |
Pointer to array of triangles. | |
int | clip_portal |
Clip to portal? One of CS_CLIP_???. | |
int | clip_plane |
Clip to near plane? One of CS_CLIP_???. | |
int | clip_z_plane |
Clip to z plane? One of CS_CLIP_???. | |
bool | use_vertex_color |
Use precalculated vertex color? | |
bool | do_fog |
Apply fogging? | |
bool | do_mirror |
Consider triangle vertices in anti-clockwise order if true. | |
bool | do_morph_texels |
If morphing is applied then morph texels too if true. | |
bool | do_morph_colors |
If morphing is applied then morph vertex colors too if true. | |
enum G3DTriangleMesh:: { ... } | vertex_mode |
Type of vertices supplied. | |
UInt | mixmode |
DrawPolygonFX flag. | |
float | morph_factor |
iVertexBuffer* | buffers [MAX_VERTEXPOOL] |
Vertex buffers. More... | |
iMaterialHandle* | mat_handle |
G3DFogInfo* | vertex_fog |
Information for fogging the vertices. |
This function is capable of:
|
|
|
Type of vertices supplied.
|
|
Vertex buffers. Note that all vertex buffers used here MUST have the same number of vertices. |