[−][src]Module screen_13::gpu::vertex
Screen 13 offers a number of vertex formats for use loading models.
Additional vertex formats will be released to support new features in the future.
Model Vertices
There are two main flavors of model vertex:
- Normal (
POSITIONandTEXCOORDonly) - Skinned (for animation - includes
JOINTSandWEIGHTSattributes)
Further, vertexes may be specified in the standard manner mentioned above or using the
Ex-variety structs. Extended model vertices include the NORMAL and TANGENT
attributes which are normally calculated at runtime.
NOTE: Extended vertices are only needed if you want more control over the normal/tangent generation process.
Structs
| NormalVertex | The "easy" vertex. If you are not sure what you want, this is probably it. |
| NormalVertexEx | Same as |
| SkinVertex | Same as |
| SkinVertexEx | Like |
Enums
| Vertex | Defines all supported vertex formats. |
Type Definitions
| NormalVertexArray | Helpful alias for standard vertex strides as a single byte array. |
| NormalVertexArrays | Helpful alias for standard vertex strides as a individual byte arrays. |
| NormalVertexExArray | Helpful alias for extended vertex strides as a single byte array. |
| NormalVertexExArrays | Helpful alias for extended vertex strides as a individual byte arrays. |
| NormalVertexExTuple | Helpful alias for extended vertex strides as a tuple of vecs. |
| NormalVertexTuple | Helpful alias for standard vertex strides as a tuple of vecs. |
| SkinVertexArray | Helpful alias for standard skinned vertex strides as a single byte array. |
| SkinVertexArrays | Helpful alias for standard skinned vertex strides as a individual byte arrays. |
| SkinVertexExArray | Helpful alias for extended skinned vertex strides as a single byte array. |
| SkinVertexExArrays | Helpful alias for extended skinned vertex strides as a individual byte arrays. |
| SkinVertexExTuple | Helpful alias for extended skinned vertex strides as a tuple of vecs. |
| SkinVertexTuple | Helpful alias for standard skinned vertex strides as a tuple of vecs. |