'宣言 Public Overloads Shared Function Create(Of T As {New, Struct})( _ ByVal device As Device, _ ByRef data As T, _ ByVal description As BufferDescription _ ) As Buffer
public static Buffer Create<T>( Device device, ref T data, BufferDescription description ) where T: new(), struct
パラメータ
- device
- The device with which to associate the buffer.
- data
- Initial data used to initialize the buffer.
- description
- The description.
型パラメータ
- T
- Type of the data to upload
戻り値の型
An initialized buffer