'Declaration Public Overloads Sub UpdateSubresourceSafe( _ ByVal source As DataBox, _ ByVal resource As Resource, _ ByVal srcBytesPerElement As Integer, _ Optional ByVal subresource As Integer, _ Optional ByVal isCompressedResource As Boolean _ )
public void UpdateSubresourceSafe( DataBox source, Resource resource, int srcBytesPerElement, int subresource, bool isCompressedResource )
Parameters
- 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