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