|   |   |   | 
| Device.GetVolumeTexture Method | Language: | 
Retrieves the volume texture assigned to a stage for a device.
Visual Basic Public Function GetVolumeTexture( _ 
ByVal stage As Integer _
) As VolumeTextureC# public VolumeTexture GetVolumeTexture( 
int stage
);C++ public: 
VolumeTexture^ GetVolumeTexture(
int stage
);JScript public function GetVolumeTexture( 
stage : int
) : VolumeTexture;
stage System.Int32 
Stage identifier of the VolumeTexture to retrieve. Stage identifiers are zero-based.
Microsoft.DirectX.Direct3D.VolumeTexture
A VolumeTexture object that represents the returned VolumeTexture.
Exceptions
InvalidOperationException The texture returned was not of type VolumeTexture. 
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