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