[]
ID3D11Texture3D
[Guid("037e866e-f56d-4357-a8af-9dabbe6e250e")]
public class Texture3D : Resource, IDisposable, IUnknown
Initializes a new instance of the Texture3D class.
public Texture3D(IntPtr nativePtr)
nativePtr System.IntPtrThe native pointer.
GetDescription
public Texture3DDescription Description { get; }
Calculates the sub resource index for a particular mipSlice and arraySlice.
public override int CalculateSubResourceIndex(int mipSlice, int arraySlice, out int mipSize)
mipSlice intarraySlice intmipSize intInitializes a new instance of the Texture3D class.
public static Texture3D Create(Device device, Texture3DDescription description, DataBox[] data)
device DeviceThe device with which to associate the texture.
description Texture3DDescriptionThe description of the texture.
data DataBox[]An array of initial texture data for each subresource.
Initializes a new instance of the Texture3D class.
public static Texture3D Create(Device device, ref Texture3DDescription description)
device DeviceThe device with which to associate the texture.
description Texture3DDescriptionThe description of the texture.
void ID3D11Texture3D::GetDesc([Out] D3D11_TEXTURE3D_DESC* pDesc)
public void GetDescription(out Texture3DDescription descRef)
descRef Texture3DDescriptionPerforms an explicit conversion from System.IntPtr to Texture3D.
public static explicit operator Texture3D(IntPtr nativePointer)
nativePointer System.IntPtr