[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.Texture3D

Class Texture3D

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11Texture3D

[Guid("037e866e-f56d-4357-a8af-9dabbe6e250e")]
public class Texture3D : Resource, IDisposable, IUnknown
Inheritance
object
Texture3D
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Texture3D(IntPtr)

Initializes a new instance of the Texture3D class.

public Texture3D(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Properties

Description

GetDescription

public Texture3DDescription Description { get; }

Property Value

Texture3DDescription

Methods

CalculateSubResourceIndex(int, int, out int)

Calculates the sub resource index for a particular mipSlice and arraySlice.

public override int CalculateSubResourceIndex(int mipSlice, int arraySlice, out int mipSize)

Parameters

mipSlice int
arraySlice int
mipSize int

Returns

int

Create(Device, Texture3DDescription, DataBox[])

Initializes a new instance of the Texture3D class.

public static Texture3D Create(Device device, Texture3DDescription description, DataBox[] data)

Parameters

device Device

The device with which to associate the texture.

description Texture3DDescription

The description of the texture.

data DataBox[]

An array of initial texture data for each subresource.

Returns

Texture3D

Create(Device, ref Texture3DDescription)

Initializes a new instance of the Texture3D class.

public static Texture3D Create(Device device, ref Texture3DDescription description)

Parameters

device Device

The device with which to associate the texture.

description Texture3DDescription

The description of the texture.

Returns

Texture3D

GetDescription(out Texture3DDescription)

void ID3D11Texture3D::GetDesc([Out] D3D11_TEXTURE3D_DESC* pDesc)

public void GetDescription(out Texture3DDescription descRef)

Parameters

descRef Texture3DDescription

Operators

explicit operator Texture3D(IntPtr)

Performs an explicit conversion from System.IntPtr to Texture3D.

public static explicit operator Texture3D(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Texture3D