Microsoft DirectX 9.0 SDK Update (October 2004)

TextureLoader.CheckVolumeTextureRequirements Method

Language:

Note: This documentation is preliminary and is subject to change.

Checks creation parameters for a volume texture.

Definition

Visual Basic .NET 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
);
Managed C++ public: static void CheckVolumeTextureRequirements(
    Device *device,
    Pool pool,
    VolumeTextureRequirements *requirements
);
JScript .NET 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
NotAvailableException This device does not support the queried technique.
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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