'宣言 Public Overloads Shared Function Create( _ ByVal device As Device, _ ByVal sizeInBytes As System.Integer, _ ByVal usage As ResourceUsage, _ ByVal bindFlags As BindFlags, _ ByVal accessFlags As CpuAccessFlags, _ ByVal miscFlags As ResourceMiscFlags, _ ByVal structureByteStride As System.Integer _ ) As Buffer
public static Buffer Create( Device device, System.int sizeInBytes, ResourceUsage usage, BindFlags bindFlags, CpuAccessFlags accessFlags, ResourceMiscFlags miscFlags, System.int structureByteStride )
パラメータ
- device
- The device with which to associate the buffer.
- sizeInBytes
- The size, in bytes, of the buffer.
- usage
- The usage pattern for the buffer.
- bindFlags
- Flags specifying how the buffer will be bound to the pipeline.
- accessFlags
- Flags specifying how the buffer will be accessible from the CPU.
- miscFlags
- Miscellaneous resource options.
- structureByteStride
- The size (in bytes) of the structure element for structured buffers.