Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetBudget
Syntax
C++
int SetBudget(IFunctionHandler * pH);
Parameters 
Description 
sysMemLimitInMB 
Limit of the system memory in MB. 
videoMemLimitInMB 
Limit of the video memory in MB. 
frameTimeLimitInMS 
Limit in the frame time in MS. 
soundChannelsPlayingLimit 
Limit of the sound channels playing. 
soundMemLimitInMB 
Limit of the sound memory in MB. 
numDrawCallsLimit 
Limit of the draw calls. 

Syntax: System.SetBudget(sysMemLimitInMB, videoMemLimitInMB, frameTimeLimitInMS, soundChannelsPlayingLimit, soundMemLimitInMB, numDrawCallsLimit ) 

Sets system budget.

Copyright (c) 2012. All rights reserved.