Device.GetCubeTexture(Int32) Method (Microsoft.DirectX.Direct3D)
Retrieves the cube texture assigned to a stage for a device.
Visual Basic Public Function GetCubeTexture( _
ByVal stage As Integer _
) As CubeTextureC# public CubeTexture GetCubeTexture(
int stage
);C++ public:
CubeTexture^ GetCubeTexture(
int stage
);JScript public function GetCubeTexture(
stage : int
) : CubeTexture;
stage System.Int32
Stage identifier of the CubeTexture to retrieve. Stage identifiers are zero-based.
Microsoft.DirectX.Direct3D.CubeTexture
A CubeTexture object that represents the returned CubeTexture.
Exceptions
InvalidOperationException ![]()
The texture returned was not of type CubeTexture.
Show:
