Ult3D
Implementation of "Ultimate 3D Game Engine Design & Architecture" by Allan Sherrod
Loading...
Searching...
No Matches
testBillboard.cpp File Reference
#include <cassert>
#include <Ult/Handle.h>
#include <Ult/Input.h>
#include <Ult/Math/Vector3D.h>
#include <Ult/ModelData.h>
#include <Ult/OBJLoader.h>
#include <Ult/Renderer/WindowHandle.h>
#include <Ult/Renderer/RenderParams.h>
#include <Ult/Renderer/RenderInterface.h>
#include <Ult/Renderer/OpenGLRenderer.h>
#include <Ult/ResourceManager.h>

Classes

struct  stVertex
 

Macros

#define WINDOW_NAME   "OpenGL Billboard Test"
 
#define WINDOW_CLASS   "UPGCLASS"
 
#define WINDOW_WIDTH   800
 
#define WINDOW_HEIGHT   600
 
#define WINDOW_FULLSCREEN   0
 

Functions

void DemoResize (int width, int height)
 
bool DemoInitialize (Ult::RenderParams &params)
 
void DemoUpdate ()
 
void DemoRender ()
 
void DemoShutdown ()
 
int main ()
 

Variables

Ult::OpenGLRenderer gRender
 
Ult::Texture gTex
 
Ult::VertexDescriptor gDescriptor
 
bool gQuitDemo = false
 

Macro Definition Documentation

◆ WINDOW_CLASS

#define WINDOW_CLASS   "UPGCLASS"

◆ WINDOW_FULLSCREEN

#define WINDOW_FULLSCREEN   0

◆ WINDOW_HEIGHT

#define WINDOW_HEIGHT   600

◆ WINDOW_NAME

#define WINDOW_NAME   "OpenGL Billboard Test"

◆ WINDOW_WIDTH

#define WINDOW_WIDTH   800

Function Documentation

◆ DemoInitialize()

bool DemoInitialize ( Ult::RenderParams & params)

◆ DemoRender()

void DemoRender ( )

◆ DemoResize()

void DemoResize ( int width,
int height )

◆ DemoShutdown()

void DemoShutdown ( )

◆ DemoUpdate()

void DemoUpdate ( )

◆ main()

int main ( )

Variable Documentation

◆ gDescriptor

Ult::VertexDescriptor gDescriptor

◆ gQuitDemo

bool gQuitDemo = false

◆ gRender

◆ gTex