game.setOption
Sets a game-specific option.
Prototype
bOk = game.setOption ( hGame, kOption, nValue )
Description
Sets options like shadow buffers size and network parameters, please check the constants section for more info.
Parameters
hGame - valid Game handle
kOption - predefined option constant like kOptionDynamicShadowsBufferCount etc.
nValue - option-dependent info value, either a string or a number
Return values
bOk - true on success
Sample
if ( hGame ) then game.setOption ( hGame, game.kOptionSwapInterval, nValue ) end
Available since ShiVa 2.0