Class CustomVertexBufferProperties
Defines a vertex shader and the input element description to define the input layout. The combination is used to allow a custom vertex effect to create a custom vertex shader and pass it a custom layout.
public class CustomVertexBufferProperties
- Inheritance
-
CustomVertexBufferProperties
- Inherited Members
Remarks
The vertex shader will be loaded by the CreateVertexBuffer call that accepts the vertex buffer properties.
This structure does not need to be specified if one of the standard vertex shaders is used.
Constructors
CustomVertexBufferProperties()
Initializes a new instance of CustomVertexBufferProperties class.
public CustomVertexBufferProperties()
CustomVertexBufferProperties(byte[], InputElement[], int)
Initializes a new instance of CustomVertexBufferProperties class.
public CustomVertexBufferProperties(byte[] inputSignature, InputElement[] inputElements, int stride)
Parameters
inputSignature
byte[]inputElements
InputElement[]stride
int
Fields
Stride
The vertex stride.
public int Stride
Field Value
Properties
InputElements
The input elements in the vertex shader.
public InputElement[] InputElements { get; set; }
Property Value
InputSignature
The vertex shader bytecode to use as a signature.
public byte[] InputSignature { get; set; }
Property Value
- byte[]