Copies data from the CPU to to a non-mappable subresource region.
シンタックス
'宣言
Public Overloads Sub UpdateSubresourceSafe( _
ByVal As DataBox, _
ByVal As Resource, _
ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Boolean _
)
public void UpdateSubresourceSafe(
DataBox ,
Resource ,
System.int ,
System.int ,
System.bool
)
パラメータ
- source
- The source data.
- resource
- The destination resource.
- srcBytesPerElement
- The size in bytes per pixel/block element.
- subresource
- The destination subresource.
- isCompressedResource
- if set to
true
the resource is a block/compressed resource
参照