shengine pre-release
shengine by mrsinho
|
Handling scenes in the shengine
framework.
More...
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef struct ShEngine | ShEngine |
typedef struct ShIdentity | ShIdentity |
typedef struct ShCamera | ShCamera |
typedef struct ShTransform | ShTransform |
typedef struct ShHostMemoryLinker | ShHostMemoryLinker |
typedef struct ShSceneProperties | ShSceneProperties |
Functions | |
uint8_t | shSceneInit (ShEngine *p_engine) |
Initializes the scene in the shengine framework. | |
uint8_t | shUpdateTransform (ShTransform *p_transform) |
Updates the transform in the shengine framework. | |
uint8_t | shUpdateCamera (ShEngine *p_engine, ShTransform *p_transform, ShCamera *p_camera) |
Updates the camera in the shengine framework. | |
uint8_t | shSceneUpdate (ShEngine *p_engine) |
Updates the scene in the shengine framework. | |
uint8_t | shEndScene (ShEngine *p_engine) |
Ends the scene in the shengine framework. | |
Handling scenes in the shengine
framework.
The shScene.h file contains structures and functions related to handling scenes in the shengine
framework.
typedef struct ShHostMemoryLinker ShHostMemoryLinker |
typedef struct ShIdentity ShIdentity |
typedef struct ShSceneProperties ShSceneProperties |
typedef struct ShTransform ShTransform |
|
extern |
Ends the scene in the shengine
framework.
p_engine | Pointer to a valid ShEngine structure. |
|
extern |
Initializes the scene in the shengine
framework.
p_engine | Pointer to a valid ShEngine structure. |
|
extern |
Updates the scene in the shengine
framework.
p_engine | Pointer to a valid ShEngine structure. |
|
extern |
Updates the camera in the shengine
framework.
p_engine | Pointer to a valid ShEngine structure. |
p_transform | Pointer to a valid ShTransform structure. |
p_camera | Pointer to a valid ShCamera structure. |
|
extern |
Updates the transform in the shengine
framework.
p_transform | Pointer to a valid ShTransform structure. |