Table of Contents

Namespace OmegaEngine.Graphics.VertexDecl

Structs mapped to DirectX custom vertex formats (for storing additional information per vertex).

Each struct in this namespace corresponds to a specific DirectX vertex declaration, specifying which attributes (position, normal, texture coordinates, color, etc.) are packed together for each vertex.

These types are used internally by OmegaEngine when building geometry buffers for models, terrain, and particle systems. You typically do not need to work with them directly unless you are implementing custom OmegaEngine.Graphics.Renderables.

Structs

PositionColored

A fixed-function vertex format that stores position and color. Using this format hints the engine that that no lighting is to be used.

PositionColoredTextured

Not supported!

PositionMultiTextured

A fixed-function vertex format that stores position, shadow information, texture blending weights and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.

PositionNormalBinormalTangentTextured

A fixed-function vertex format that stores position, normals, binormals, tangents and texture coordinates. Using this format hints the engine that all necessary data is already present.

PositionNormalColored

A fixed-function vertex format that stores position, normals and color. Using this format hints the engine that that lighting is to be used.

PositionNormalMultiTextured

A custom vertex format that stores position, normals, shadow information, texture blending weights and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.

PositionNormalTextured

A fixed-function vertex format that stores position, normals and texture coordinates. Using this format hints the engine that tangents (and maybe normals) still need to be calculated.

PositionTextured

A fixed-function vertex format that stores position and texture coordinates. Using this format hints the engine that normals and tangents still need to be calculated.

TransformedColored

A fixed-function vertex format that stores a transformed position and color.

TransformedColoredTextured

A fixed-function vertex format that stores a transformed position, color and texture coordinates.

TransformedTextured

A fixed-function vertex format that stores a transformed position and texture coordinates.