Freigeben über


TextureRequirements.NumberMipLevels Property

Retrieves or sets the number of mipmap levels for a texture.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property NumberMipLevels As Integer
'Usage
Dim instance As TextureRequirements
Dim value As Integer

value = instance.NumberMipLevels

instance.NumberMipLevels = value
public int NumberMipLevels { get; set; }
public:
property int NumberMipLevels {
    int get ();
    void set (int value);
}
/** @property */
public int get_NumberMipLevels ()

/** @property */
public void set_NumberMipLevels (int value)
public function get NumberMipLevels () : int

public function set NumberMipLevels (value : int)

Property Value

The mipmap levels to set or retrieve.

Remarks

Mipmaps are a sequence of textures, each of which is a progressively lower-resolution, pre-filtered representation of the same image. A higher-resolution image is used when a visible object is close to the viewer. As the object moves farther away, and gets smaller, lower-resolution images are used.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

TextureRequirements Structure
TextureRequirements Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace