public TextureCopyLocation(SharpDX.Direct3D12.Resource resource, PlacedSubResourceFootprint placedFootprint) : this() { Type = TextureCopyType.PlacedFootprint; PResource = resource != null ? resource.NativePointer : IntPtr.Zero; PlacedFootprint = placedFootprint; }
public TextureCopyLocation(SharpDX.Direct3D12.Resource resource, int subResourceIndex) : this() { Type = TextureCopyType.SubResourceIndex; PResource = resource != null ? resource.NativePointer : IntPtr.Zero; SubresourceIndex = subResourceIndex; }