12#include <aegis/manager.hpp>
14class RenderManager :
public ae::Manager,
public ae::Singleton<RenderManager>
62 const GL_TEXTURE_TYPE_ENUM texType,
97 ae::q20_12_t scale = ae::q20_12_t{1});
110 BillboardData bb,
const int texture,
bool faceCamera, ae::q20_12_t camX, ae::q20_12_t camY, ae::q20_12_t camZ);
134 static inline const ae::q20_12_t
DEGREE_MODIFIER = ae::q20_12_t{1 << 15} / ae::q20_12_t{360};
void cleanup3DView()
Cleans up the 3D view, resetting the state.
void renderTexturedBillboard(BillboardData bb, const int texture, bool faceCamera, ae::q20_12_t camX, ae::q20_12_t camY, ae::q20_12_t camZ)
Renders a textured billboard.
bool uploadTexture(int &textureID, const GL_TEXTURE_TYPE_ENUM texType, const int sizeX, const int sizeY, int param, const void *bitmap)
Uploads a texture to the GPU.
void initialize3DView(View3DConfig config)
Initialize a new 3D view.
void renderDisplayList(const void *displayList, const int texture)
Renders a textured model.
void renderModelComponent(MDL3Model &model)
Renders a MDL3 model.
void deleteTexture(int &texture)
Deletes a texture from the GPU and resets its ID.
static const ae::q20_12_t DEGREE_MODIFIER
Represents a 3D model with nodes, textures, and animations.
Data structure to store 3D view configuration parameters.