Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Enumerations | Functions
decal.hpp File Reference
#include "inexor/shared/geom.hpp"

Go to the source code of this file.

Enumerations

enum  { DECAL_SCORCH = 0, DECAL_BLOOD, DECAL_BULLET }
 

Functions

void initdecals ()
 
void cleardecals ()
 
void renderdecals (bool mainpass=false)
 
void adddecal (int type, const vec &center, const vec &surface, float radius, const bvec &color=bvec(0xFF, 0xFF, 0xFF), int info=0)
 

Enumeration Type Documentation

anonymous enum
Enumerator
DECAL_SCORCH 
DECAL_BLOOD 
DECAL_BULLET 

Function Documentation

void adddecal ( int  type,
const vec center,
const vec surface,
float  radius,
const bvec color = bvec(0xFF, 0xFF, 0xFF),
int  info = 0 
)
void cleardecals ( )

References decalrenderer::cleardecals(), and loopi().

Referenced by resetmap().

void initdecals ( )

References decalrenderer::init(), and loopi().

Referenced by main().

void renderdecals ( bool  mainpass = false)