/// <summary> /// Copies the subresource data. /// </summary> /// <param name="dstResource">The destination resource.</param> /// <param name="dstSubresource">The destination subresource index.</param> /// <param name="srcResource">The source resource.</param> /// <param name="srcSubresource">The source subresource index.</param> public void CopySubresource(GPUResource dstResource, uint dstSubresource, GPUResource srcResource, uint srcSubresource) { Internal_CopySubresource(unmanagedPtr, FlaxEngine.Object.GetUnmanagedPtr(dstResource), dstSubresource, FlaxEngine.Object.GetUnmanagedPtr(srcResource), srcSubresource); }
/// <summary> /// Copies the resource data (whole resource). /// </summary> /// <param name="dstResource">The destination resource.</param> /// <param name="srcResource">The source resource.</param> public void CopyResource(GPUResource dstResource, GPUResource srcResource) { Internal_CopyResource(unmanagedPtr, FlaxEngine.Object.GetUnmanagedPtr(dstResource), FlaxEngine.Object.GetUnmanagedPtr(srcResource)); }