Device.GetCubeTexture Method |
Language: |
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.
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