[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.BufferDescription

Struct BufferDescription

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

D3D11_BUFFER_DESC

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

Constructors

BufferDescription(int, ResourceUsage, BindFlags, CpuAccessFlags, ResourceMiscFlags, int)

Initializes a new instance of the BufferDescription struct.

public BufferDescription(int sizeInBytes, ResourceUsage usage, BindFlags bindFlags, CpuAccessFlags cpuAccessFlags, ResourceMiscFlags miscFlags, int structureByteStride)

Parameters

sizeInBytes int

The size in bytes.

usage ResourceUsage

The usage.

bindFlags BindFlags

The bind flags.

cpuAccessFlags CpuAccessFlags

The CPU access flags.

miscFlags ResourceMiscFlags

The option flags.

structureByteStride int

The structure byte stride.

Fields

BindFlags

D3D11_BIND_FLAG BindFlags

public BindFlags BindFlags

Field Value

BindFlags

CpuAccessFlags

D3D11_CPU_ACCESS_FLAG CPUAccessFlags

public CpuAccessFlags CpuAccessFlags

Field Value

CpuAccessFlags

MiscFlags

D3D11_RESOURCE_MISC_FLAG MiscFlags

public ResourceMiscFlags MiscFlags

Field Value

ResourceMiscFlags

SizeInBytes

unsigned int ByteWidth

public int SizeInBytes

Field Value

int

StructureByteStride

unsigned int StructureByteStride

public int StructureByteStride

Field Value

int

Usage

D3D11_USAGE Usage

public ResourceUsage Usage

Field Value

ResourceUsage