| C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > DeviceContext Class > UpdateSubresourceSafe Method : UpdateSubresourceSafe<T>(T,Resource,Int32,Int32,Int32,Int32,Boolean) Method |
true the resource is a block/compressed resource
'Declaration Public Overloads Sub UpdateSubresourceSafe(Of T As {New, Struct})( _ ByRef data As T, _ ByVal resource As Resource, _ ByVal srcBytesPerElement As System.Integer, _ Optional ByVal subresource As System.Integer, _ Optional ByVal rowPitch As System.Integer, _ Optional ByVal depthPitch As System.Integer, _ Optional ByVal isCompressedResource As System.Boolean _ )
public void UpdateSubresourceSafe<T>( ref T data, Resource resource, System.int srcBytesPerElement, System.int subresource, System.int rowPitch, System.int depthPitch, System.bool isCompressedResource ) where T: new(), struct
true the resource is a block/compressed resource