MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / createSystems

Method createSystems

Samples/2.0/Tests/ArrayTextures/ArrayTextures.cpp:65–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 };
64
65 void MainEntryPoints::createSystems( GameState **outGraphicsGameState,
66 GraphicsSystem **outGraphicsSystem,
67 GameState ** /*outLogicGameState*/,
68 LogicSystem ** /*outLogicSystem*/ )
69 {
70 TutorialGameState *gfxGameState = new TutorialGameState(
71 "Vulkan Implementation needs special handling for arrays of textures.\n"
72 "This test ensures it looks and works as expected" );
73
74 GraphicsSystem *graphicsSystem = new ArrayTexturesGraphicsSystem( gfxGameState );
75
76 gfxGameState->_notifyGraphicsSystem( graphicsSystem );
77
78 *outGraphicsGameState = gfxGameState;
79 *outGraphicsSystem = graphicsSystem;
80 }
81
82 void MainEntryPoints::destroySystems( GameState *graphicsGameState, GraphicsSystem *graphicsSystem,
83 GameState * /*logicGameState*/, LogicSystem * /*logicSystem*/ )

Callers

nothing calls this directly

Calls 1

_notifyGraphicsSystemMethod · 0.45

Tested by

no test coverage detected