Initializes a new instance of the
Bufferclass.
シンタックス
パラメータ
- device
- The device with which to associate the buffer.
- data
- Initial data used to initialize 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.
参照