Device.GetCubeTexture Method

Language:

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

Definition

Visual Basic Public Function GetCubeTexture( _
    ByVal stage As Integer _
) As CubeTexture
C# public CubeTexture GetCubeTexture(
    int stage
);
C++ public:
CubeTextureGetCubeTexture(
    int stage
);
JScript public 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
InvalidOperationException Leave Site The texture returned was not of type CubeTexture.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center