Click or drag to resize

VertexElement Structure

This structure declares the usage of a single vertex buffer as a component of a complete vertex declaration.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public struct VertexElement

The VertexElement type exposes the following members.

Constructors
  NameDescription
Public methodVertexElement
Initializes a new instance of the VertexElement class
Top
Properties
  NameDescription
Public propertyOffset
Gets the offset into the buffer where this element starts.
Public propertySemantic
Gets the meaning of this element.
Public propertySource
Gets the vertex buffer index from where this element draws it's values.
Public propertyType
Gets the data format of this element.
Top
Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Extension Methods
Remarks
Several vertex buffers can be used to supply the input geometry for a rendering operation, and in each case a vertex buffer can be used in different ways for different operations; the buffer itself does not define the semantics (position, normal etc), the VertexElement class does.
See Also