Bitmap for WPF
Create(Device,DataStream,Int32,ResourceUsage,BindFlags,CpuAccessFlags,ResourceMiscFlags,Int32) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > Buffer クラス > Create メソッド : Create(Device,DataStream,Int32,ResourceUsage,BindFlags,CpuAccessFlags,ResourceMiscFlags,Int32) メソッド
The device with which to associate the buffer.
Initial data used to initialize the buffer.
The size, in bytes, of the buffer.
The usage pattern for the buffer.
Flags specifying how the buffer will be bound to the pipeline.
Flags specifying how the buffer will be accessible from the CPU.
Miscellaneous resource options.
The size (in bytes) of the structure element for structured buffers.
Initializes a new instance of the Bufferclass.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal device As Device, _
   ByVal data As DataStream, _
   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,
   DataStream data,
   System.int sizeInBytes,
   ResourceUsage usage,
   BindFlags bindFlags,
   CpuAccessFlags accessFlags,
   ResourceMiscFlags miscFlags,
   System.int structureByteStride
)

パラメータ

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.
参照

Buffer クラス
Buffer メンバ
オーバーロード一覧