[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.VertexBufferBinding

Struct VertexBufferBinding

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

Properties defining the way a buffer (containing vertex data) is bound to the pipeline for rendering.

public struct VertexBufferBinding
Inherited Members
System.ValueType.Equals(object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()

Constructors

VertexBufferBinding(Buffer, int, int)

Initializes a new instance of the Direct3D11.VertexBufferBinding struct.

public VertexBufferBinding(Buffer buffer, int stride, int offset)

Parameters

buffer Buffer

The buffer being bound.

stride int

The stride between vertex element (in bytes).

offset int

The offset to the first vertex (in bytes).

Properties

Buffer

Gets or sets the buffer being bound.

public Buffer Buffer { get; set; }

Property Value

Buffer

Offset

Gets or sets the offset from the start of the buffer of the first vertex to use (in bytes).

public int Offset { get; set; }

Property Value

int

Stride

Gets or sets the stride between vertex elements in the buffer (in bytes).

public int Stride { get; set; }

Property Value

int