U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Drawable.h File Reference
#include "../Graphics/GraphicsDefs.h"
#include "../Math/BoundingBox.h"
#include "../Scene/Component.h"
Include dependency graph for Drawable.h:
This graph shows which files directly or indirectly include this file:

Classes

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

Enumerations

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

Functions

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

Variables

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