Copies data from the CPU to to a non-mappable subresource region.
シンタックス
'宣言
Public Overloads Sub UpdateSubresourceSafe(Of As {New, Struct})( _
ByRef As , _
ByVal As Resource, _
ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Boolean _
)
public void UpdateSubresourceSafe<>(
ref ,
Resource ,
System.int ,
System.int ,
System.int ,
System.int ,
System.bool
)
where T: new(), struct
パラメータ
- data
- A reference to the data to upload.
- resource
- The destination resource.
- srcBytesPerElement
- The size in bytes per pixel/block element.
- subresource
- The destination subresource.
- rowPitch
- The row pitch.
- depthPitch
- The depth pitch.
- isCompressedResource
- if set to
true
the resource is a block/compressed resource
型パラメータ
- T
- Type of the data to upload
参照