EngineStreamingGetUsedMemory: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (Created page with "__NOTOC__  {{Client function}} {{Added feature/item|3.0159|1.5.9|1.5.8|20901|This function gets the amount of memory (in bytes) used by the GTA streamer.}}  ==Syntax==  <synta...")  | 
				Fernando187 (talk | contribs)   (Remove obsolete Requirements section)  | 
				||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__    | __NOTOC__    | ||
{{Client function}}  | {{Client function}}  | ||
{{Added feature/item  | {{Added feature/item|1.5.9|1.5.8|20901|This function gets the amount of memory (in bytes) used by the GTA streamer.}}  | ||
==Syntax==    | ==Syntax==    | ||
<syntaxhighlight lang="lua">  | <syntaxhighlight lang="lua">int engineStreamingGetUsedMemory ( )</syntaxhighlight>  | ||
===Returns===  | ===Returns===  | ||
| Line 18: | Line 18: | ||
)  | )  | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
==See Also==  | ==See Also==  | ||
{{Engine_functions}}  | {{Engine_functions}}  | ||
Latest revision as of 17:29, 7 November 2024
This function gets the amount of memory (in bytes) used by the GTA streamer.
Syntax
int engineStreamingGetUsedMemory ( )
Returns
- Returns a int containing the amount of memory in bytes.
 
Example
This example gets the amount of memory used by the streamer when the resource starts:
addEventHandler ("onClientResourceStart", resourceRoot,
    function ()
        outputChatBox ("Used memory by the GTA streamer: "..engineStreamingGetUsedMemory ()..".")
    end
)
See Also
- engineAddImage
 - engineApplyShaderToWorldTexture
 - engineFreeModel
 - engineGetModelFlags
 - engineGetModelIDFromName
 - engineGetModelLODDistance
 - engineGetModelNameFromID
 - engineGetModelPhysicalPropertiesGroup
 - engineGetModelTextureNames
 - engineGetModelTextures
 - engineGetModelTXDID
 - engineGetModelVisibleTime
 - engineGetObjectGroupPhysicalProperty
 - engineGetSurfaceProperties
 - engineGetVisibleTextureNames
 - engineImageGetFilesCount
 - engineImageGetFiles
 - engineImageGetFile
 - engineImageLinkDFF
 - engineImageLinkTXD
 - engineImportTXD
 - engineLoadCOL
 - engineLoadDFF
 - engineLoadIMG
 - engineLoadIFP
 - engineLoadTXD
 - engineRemoveImage
 - engineRemoveShaderFromWorldTexture
 - engineReplaceAnimation
 - engineReplaceCOL
 - engineReplaceModel
 - engineRequestModel
 - engineResetModelFlags
 - engineResetModelLODDistance
 - engineResetSurfaceProperties
 - engineRestoreAnimation
 - engineRestoreCOL
 - engineRestoreDFFImage
 - engineRestoreModel
 - engineRestoreModelPhysicalPropertiesGroup
 - engineRestoreObjectGroupPhysicalProperties
 - engineRestoreTXDImage
 - engineRestreamWorld
 - engineSetAsynchronousLoading
 - engineSetModelFlag
 - engineSetModelFlags
 - engineSetModelLODDistance
 - engineSetModelPhysicalPropertiesGroup
 - engineSetModelVisibleTime
 - engineSetObjectGroupPhysicalProperty
 - engineSetSurfaceProperties
 - engineStreamingFreeUpMemory
 - engineStreamingGetUsedMemory