- Documentation
- Client functions
- dxGetStatus
Function
dxGetStatus
Returns the drawing state: the test mode, the resolution, the number of script textures, render targets and screen sources, and texture memory. Useful for finding texture leaks.
Syntax
table dxGetStatus()Returns
A state table.
Example
local s = dxGetStatus()
outputChatBox(s.DisplayResolution .. ", tekstury: " .. s.VideoMemoryUsedByTextures)