Click or drag to resize
DigitalRuneVertexPositionNormalColorTexture Structure
Describes a custom vertex format structure that contains position, normal vector, color and texture coordinates.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
[SerializableAttribute]
public struct VertexPositionNormalColorTexture : IVertexType

The VertexPositionNormalColorTexture type exposes the following members.

Constructors
  NameDescription
Public methodVertexPositionNormalColorTexture
Initializes a new instance of the VertexPositionNormalColor struct.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two objects to determine whether they are the same.
Public operatorStatic memberInequality
Compares two objects to determine whether they are different.
Top
Fields
  NameDescription
Public fieldColor
The vertex color.
Public fieldNormal
The vertex normal vector.
Public fieldPosition
The vertex position.
Public fieldTextureCoordinate
The UV texture coordinates.
Public fieldStatic memberVertexDeclaration
The vertex declaration.
Top
Properties
  NameDescription
Public propertyStatic memberSizeInBytes
Gets the size of the VertexPositionNormalColor structure in bytes.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIVertexType.VertexDeclaration
Gets the vertex declaration.
Top
See Also