DirectX SDK

D3DDEVINFO_TEXTURING

The D3DDEVINFO_TEXTURING structure contains information about the texturing activity of the application. This structure is used with the IDirect3DDevice7::GetInfo method.

typedef struct _D3DDEVINFO_TEXTURING {
    DWORD   dwNumLoads;           
    DWORD   dwApproxBytesLoaded;  
    DWORD   dwNumPreLoads;        
    DWORD   dwNumSet;             
    DWORD   dwNumCreates;         
    DWORD   dwNumDestroys;        
    DWORD   dwNumSetPriorities;   
    DWORD   dwNumSetLODs;         
    DWORD   dwNumLocks;           
    DWORD   dwNumGetDCs;          
} D3DDEVINFO_TEXTURING, *LPD3DDEVINFO_TEXTURING;

Members

dwNumLoads
Number of times a texture has been loaded by calling the IDirect3DDevice7::Load method.
dwApproxBytesLoaded
Approximate number of bytes loaded by calls to the IDirect3DDevice7::Load method.
dwNumPreLoads
Number of times managed textures have been explicitly loaded by calling the IDirect3DDevice7::PreLoad method.
dwNumSet
Number of times textures have been set to texture-blending stages by calling the IDirect3DDevice7::SetTexture method.
dwNumCreates
Number of texture surfaces created by the application.
dwNumDestroys
Number of textures destroyed (released) by the application.
dwNumSetPriorities
Number of times texture-management priority has been set by calling the IDirectDrawSurface7::SetPriority method.
dwNumSetLODs
Number of times the maximum mipmap level of detail has been set by calling the IDirectDrawSurface7::SetLOD method.
dwNumLocks
Number of times a texture surface has been locked by calling the IDirectDrawSurface7::Lock method.
dwNumGetDCs
Number of times a device context for a texture surface has been retrieved by calling the IDirectDrawSurface7::GetDC method.

See Also

IDirect3DDevice7::GetInfo