BaseTexture.LevelOfDetail Property (Microsoft.DirectX.Direct3D)
Retrieves or sets the most detailed level of detail (LOD) for a managed texture.
Definition
Visual Basic Public Property LevelOfDetail As Integer C# public int LevelOfDetail { get; set; } C++ public:
property int LevelOfDetail {
int get();
void set(int value);
}JScript public function get LevelOfDetail() : int
public function set LevelOfDetail(int);
Property Value
System.Int32
Most detailed LOD value to set in the chain.This property is read/write.
Remarks
This property returns 0 on nonmanaged textures.
Setting LevelOfDetail communicates to the Microsoft Direct3D texture manager the most detailed mipmap in the chain that should be loaded into local video memory. For example, in a five-level mipmap chain, setting LevelOfDetail to 2 indicates that the texture manager should load only mipmap levels 2 through 4 into local video memory at any given time.
More specifically, if the texture was created with the dimensions of 256x256, setting the most detailed level to 0 indicates that 256x256 is the largest mipmap available, setting the most detailed level to 1 indicates that 128x128 is the largest mipmap available, and so on, up to the most detailed mip level (the smallest texture size) for the chain.
Applies To
See Also