Class VertexPreprocessorTvGTvMTvS

VertexPreprocessor<TvG,TvM,TvS> class

Represents a VertexBuilder preprocessor used by VertexPreprocessor

public sealed class VertexPreprocessor<TvG, TvM, TvS>
    where TvG : struct, IVertexGeometry
    where TvM : struct, IVertexMaterial
    where TvS : struct, IVertexSkinning
ParameterDescription
TvGThe vertex fragment type with Position, Normal and Tangent. Valid types are: VertexPosition, VertexPositionNormal, VertexPositionNormalTangent.
TvMThe vertex fragment type with Colors and Texture Coordinates. Valid types are: VertexEmpty, VertexColor1, VertexTexture1, VertexColor1Texture1.
TvSThe vertex fragment type with Skin Joint Weights. Valid types are: VertexEmpty, VertexJoints4, VertexJoints8.

Constructors

NameDescription
VertexPreprocessor()The default constructor.

Methods

NameDescription
Append(VertexGeometryPreprocessor<TvG>)
Append(VertexMaterialPreprocessor<TvM>)
Append(VertexSkinningPreprocessor<TvS>)
Clear()
PreprocessVertex(ref VertexBuilder<TvG, TvM, TvS>)
SetSanitizerPreprocessors()
SetValidationPreprocessors()

See Also