G3DTriangleMesh Struct Reference
[3D]
Structure containing all info needed by DrawTriangeMesh.
More...
#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. | |
| 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. | |
| VertexMode | vertex_mode |
| Type of vertices supplied. | |
| uint | mixmode |
| DrawPolygonFX flag. | |
| iVertexBuffer * | buffers [MAX_VERTEXPOOL] |
| Vertex buffers. | |
| G3DFogInfo * | vertex_fog |
| Information for fogging the vertices. | |
Detailed Description
Structure containing all info needed by DrawTriangeMesh.
This function is capable of:
- Object2camera transformation and perspective.
- Linear interpolation between two sets of vertices.
- Clipping.
- Whatever else DrawPolygonFX can do.
Definition at line 543 of file graph3d.h.
Member Enumeration Documentation
|
|
|
|
|
Types of vertices supplied.
|
Member Data Documentation
|
|
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.
|
The documentation for this struct was generated from the following file:
- ivideo/graph3d.h
Generated for Crystal Space by doxygen 1.2.18
