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

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 class  DrawableTypes : u8 {
  Undefined = 0 , Geometry = 1 << 0 , Light = 1 << 1 , Zone = 1 << 2 ,
  Geometry2D = 1 << 3 , Any = 0xFF
}
 
enum  Urho3D::UpdateGeometryType { UPDATE_NONE = 0 , UPDATE_MAIN_THREAD , UPDATE_WORKER_THREAD }
 Geometry update type.
 

Functions

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

Variables

constexpr mask32 Urho3D::DEFAULT_VIEWMASK = M_U32_MASK_ALL_BITS
 
constexpr mask32 Urho3D::DEFAULT_LIGHTMASK = M_U32_MASK_ALL_BITS
 
constexpr mask32 Urho3D::DEFAULT_SHADOWMASK = M_U32_MASK_ALL_BITS
 
constexpr mask32 Urho3D::DEFAULT_ZONEMASK = M_U32_MASK_ALL_BITS
 
constexpr i32 Urho3D::MAX_VERTEX_LIGHTS = 4
 
constexpr float Urho3D::ANIMATION_LOD_BASESCALE = 2500.0f