Table of Contents

Class VertexBufferProperties

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll

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 int

The number of inputs to the vertex shader.

usage VertexUsage

Indicates how frequently the vertex buffer is likely to be updated.

data DataStream

The initial contents of the vertex buffer

Fields

InputCount

The number of inputs to the vertex shader.

public int InputCount

Field Value

int

Usage

Indicates how frequently the vertex buffer is likely to be updated.

public VertexUsage Usage

Field Value

VertexUsage

Properties

Data

The initial contents of the vertex buffer.

public DataStream Data { get; set; }

Property Value

DataStream