-
Notifications
You must be signed in to change notification settings - Fork 0
Executing pattern
Altersaber1786 edited this page Jan 23, 2019
·
3 revisions
--Main Window -> Initialize game
- Core: -> Initialize DirectDevice & SwapChain -> Initialize Renderer -> Initialize LightShader -> Initialize Mesh Loader for loading 3D meshes -> Texture Loader for Textures come with 3D meshes.
-- Game Play:
- Initializing: -> Initialize camera -> Initialize Game Objects -> Setting & Matching object properties
-> Send the Camera and The Game Objects to Renderer -> Renderer load the object model into memory
-
Updating: -> Update position of Camera & Game Objects -> Position is updated constantly,
-
Each Draw call: -> from object send world matrix to pipeline -> from camera send view matrix to pipeline -> from renderer send projection matrix to pipeline