MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetThrottling

Method SetThrottling

trinity/TriDevice.cpp:1278–1288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1276}
1277
1278void TriDevice::SetThrottling( ThrottlingReason reason, bool on )
1279{
1280 if( on )
1281 {
1282 m_throttlingState |= reason;
1283 }
1284 else
1285 {
1286 m_throttlingState &= ~reason;
1287 }
1288}
1289
1290bool TriDevice::GetThrottling( ThrottlingReason reason ) const
1291{

Callers 2

WndProcMethod · 0.80
SetStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected