TextureLoader.CheckVolumeTextureRequirements(Device,Pool,VolumeTextureRequirements) Method (Microsoft.DirectX.Direct3D)
Checks creation parameters for a volume texture.
Definition
Visual Basic Public Shared Sub CheckVolumeTextureRequirements( _
ByVal device As Device, _
ByVal pool As Pool, _
ByRef requirements As VolumeTextureRequirements _
)C# public static void CheckVolumeTextureRequirements(
Device device,
Pool pool,
out VolumeTextureRequirements requirements
);C++ public:
static void CheckVolumeTextureRequirements(
Device^ device,
Pool pool,
[Out] VolumeTextureRequirements% requirements
);JScript public static function CheckVolumeTextureRequirements(
device : Device,
pool : Pool,
requirements : VolumeTextureRequirements
);
Parameters
device Microsoft.DirectX.Direct3D.Device
A Device object that represents the device to associate with the volume texture.pool Microsoft.DirectX.Direct3D.Pool
Member of the Pool enumerated type that describes the memory class into which the texture should be placed.requirements Microsoft.DirectX.Direct3D.VolumeTextureRequirements
A VolumeTextureRequirements structure that contains the volume texture creation parameters.
Remarks
If invalid parameters are passed to this method, it returns corrected parameters.
Exceptions
This device does not support the queried technique.
The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also