Dry
Classes | Enumerations | Functions | Variables
Drawable.h File Reference
#include "../Graphics/GraphicsDefs.h"
#include "../Math/BoundingBox.h"
#include "../Scene/Component.h"

Classes

struct  Dry::FrameInfo
 Rendering frame update parameters. More...
 
struct  Dry::SourceBatch
 Source data for a 3D geometry draw call. More...
 
class  Dry::Drawable
 Base class for visible components. More...
 

Enumerations

enum  Dry::UpdateGeometryType { UPDATE_NONE = 0, UPDATE_MAIN_THREAD, UPDATE_WORKER_THREAD }
 Geometry update type.
 

Functions

bool Dry::CompareDrawables (Drawable *lhs, Drawable *rhs)
 
bool Dry::WriteDrawablesToOBJ (PODVector< Drawable *> drawables, File *outputFile, bool asZUp, bool asRightHanded, bool writeLightmapUV)
 

Variables

static const unsigned Dry::DRAWABLE_UNDEFINED = 0x0
 
static const unsigned Dry::DRAWABLE_GEOMETRY = 0x1
 
static const unsigned Dry::DRAWABLE_LIGHT = 0x2
 
static const unsigned Dry::DRAWABLE_ZONE = 0x4
 
static const unsigned Dry::DRAWABLE_GEOMETRY2D = 0x8
 
static const unsigned Dry::DRAWABLE_ANY = 0xff
 
static const unsigned Dry::DEFAULT_VIEWMASK = M_MAX_UNSIGNED
 
static const unsigned Dry::DEFAULT_LIGHTMASK = M_MAX_UNSIGNED
 
static const unsigned Dry::DEFAULT_SHADOWMASK = M_MAX_UNSIGNED
 
static const unsigned Dry::DEFAULT_ZONEMASK = M_MAX_UNSIGNED
 
static const int Dry::MAX_VERTEX_LIGHTS = 4
 
static const float Dry::ANIMATION_LOD_BASESCALE = 2500.0f