TextureLoader.CheckTextureRequirements Method
Checks creation parameters for a texture.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Shared Sub CheckTextureRequirements ( _
device As Device, _
ByRef requirements As TextureRequirements _
)
'Usage
Dim device As Device
Dim requirements As TextureRequirements
TextureLoader.CheckTextureRequirements(device, requirements)
public static void CheckTextureRequirements (
Device device,
ref TextureRequirements requirements
)
public:
static void CheckTextureRequirements (
Device^ device,
TextureRequirements% requirements
)
public static void CheckTextureRequirements (
Device device,
/** @ref */ TextureRequirements requirements
)
Not applicable.
Parameters
- device
A Device that represents the device to associate with the texture.
- requirements
A TextureRequirements structure that contains the texture creation parameters.
Exceptions
Exception type | Condition |
---|---|
This device does not support the queried technique. |
|
The method call is invalid. For example, a method's parameter may contain an invalid value. |
Remarks
If invalid parameters are passed to this method, it returns corrected parameters.
Platforms
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
TextureLoader Class
TextureLoader Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace