[][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 (POSITION and TEXCOORD only)
  • Skinned (for animation - includes JOINTS and WEIGHTS attributes)

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 Normal, except that the additional vertex attributes (normal and tanget) are specified here as opposed to being calculated before use.

SkinVertex

Same as Normal, except that additional vertex attributes for joins and weights are added.

SkinVertexEx

Like NormalEx, a combination of Skin and extra normal and tangent vertex attributes.

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.