Class VertexBufferProperties
Defines the properties of a vertex buffer that are standard for all vertex shader definitions.
public class VertexBufferProperties
- Inheritance
-
VertexBufferProperties
- Inherited Members
Remarks
If usage is dynamic, the system might return a system memory buffer and copy these vertices into the rendering vertex buffer for each element.
If the initialization data is not specified, the buffer will be uninitialized.
Constructors
VertexBufferProperties()
Initializes a new instance of VertexBufferProperties class.
public VertexBufferProperties()
VertexBufferProperties(int, VertexUsage, DataStream)
Initializes a new instance of VertexBufferProperties class.
public VertexBufferProperties(int inputCount, VertexUsage usage, DataStream data)
Parameters
inputCount
intThe number of inputs to the vertex shader.
usage
VertexUsageIndicates how frequently the vertex buffer is likely to be updated.
data
DataStreamThe initial contents of the vertex buffer
Fields
InputCount
The number of inputs to the vertex shader.
public int InputCount
Field Value
Usage
Indicates how frequently the vertex buffer is likely to be updated.
public VertexUsage Usage
Field Value
Properties
Data
The initial contents of the vertex buffer.
public DataStream Data { get; set; }
Property Value
- DataStream