[]
D3D11_BUFFER_DESC
public struct BufferDescription
Initializes a new instance of the BufferDescription struct.
public BufferDescription(int sizeInBytes, ResourceUsage usage, BindFlags bindFlags, CpuAccessFlags cpuAccessFlags, ResourceMiscFlags miscFlags, int structureByteStride)
sizeInBytes
intThe size in bytes.
usage
ResourceUsageThe usage.
bindFlags
BindFlagsThe bind flags.
cpuAccessFlags
CpuAccessFlagsThe CPU access flags.
miscFlags
ResourceMiscFlagsThe option flags.
structureByteStride
intThe structure byte stride.
D3D11_BIND_FLAG BindFlags
public BindFlags BindFlags
D3D11_CPU_ACCESS_FLAG CPUAccessFlags
public CpuAccessFlags CpuAccessFlags
D3D11_RESOURCE_MISC_FLAG MiscFlags
public ResourceMiscFlags MiscFlags
unsigned int ByteWidth
public int SizeInBytes
unsigned int StructureByteStride
public int StructureByteStride
D3D11_USAGE Usage
public ResourceUsage Usage