IDirect3DBaseTexture9::GetLevelCount method (d3d9helper.h)
Returns the number of texture levels in a multilevel texture.
Syntax
DWORD GetLevelCount();
Return value
Type: DWORD
A DWORD value that indicates the number of texture levels in a multilevel texture.
Remarks
Warning If you create a texture with D3DUSAGE_AUTOGENMIPMAP to make that texture automatically generate sublevels, GetLevelCount always returns 1 for the number of levels.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9helper.h (include D3D9.h) |
Library | D3D9.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for