Windows Dev Center

Expand Minimize

Device.GetCubeTexture(Int32) Method (Microsoft.DirectX.Direct3D)

Retrieves the cube texture assigned to a stage for a device.

Definition

Visual BasicPublic Function GetCubeTexture( _
    ByVal stage As Integer _
) As CubeTexture
C#public CubeTexture GetCubeTexture(
    int stage
);
C++public:
CubeTextureGetCubeTexture(
    int stage
);
JScriptpublic function GetCubeTexture(
    stage : int
) : CubeTexture;

Parameters

stage System.Int32
Stage identifier of the CubeTexture to retrieve. Stage identifiers are zero-based.

Return Value

Microsoft.DirectX.Direct3D.CubeTexture
A CubeTexture object that represents the returned CubeTexture.

Remarks

Exceptions
InvalidOperationExceptionLeave Site The texture returned was not of type CubeTexture.
Show:
© 2015 Microsoft