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

Method PrepareResources

trinity/Tr2DeviceResource.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21bool Tr2DeviceResource::PrepareResources()
22{
23 // Do not create anything if we're in the middle of an attempted reset
24 if( Tr2Renderer::IsResourceCreationAllowed() )
25 {
26 if( !OnPrepareResources() )
27 {
28 return false;
29 }
30 }
31
32 return true;
33}

Callers 9

PickMethod · 0.80
Tr2PrimitiveSceneMethod · 0.80
TriStepRenderDebugMethod · 0.80
Tr2InteriorSceneMethod · 0.80
PerformPickingMethod · 0.80
SetupBoostersMethod · 0.80
RebuildBoosterSetMethod · 0.80
OnPrepareResourcesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected