Rebel Fork Framework
Drawable.h File Reference
#include "../Graphics/GraphicsDefs.h"
#include "../Graphics/PipelineStateTracker.h"
#include "../Graphics/ReflectionProbeData.h"
#include "../Math/BoundingBox.h"
#include "../Scene/Component.h"

Classes

struct  Urho3D::FrameInfo
 Rendering frame update parameters. More...
 
struct  Urho3D::CachedDrawableZone
 Cached info about current zone. More...
 
struct  Urho3D::CachedDrawableReflection
 Cached info about current static reflection probe. More...
 
struct  Urho3D::SourceBatch
 Source data for a 3D geometry draw call. More...
 
class  Urho3D::Drawable
 Base class for visible components. More...
 

Enumerations

enum  DrawableFlag : unsigned char {
  DRAWABLE_UNDEFINED = 0x0 , DRAWABLE_GEOMETRY = 0x1 , DRAWABLE_LIGHT = 0x2 , DRAWABLE_ZONE = 0x4 ,
  DRAWABLE_GEOMETRY2D = 0x8 , DRAWABLE_ANY = 0xff
}
 
enum  Urho3D::UpdateGeometryType { UPDATE_NONE = 0 , UPDATE_MAIN_THREAD , UPDATE_WORKER_THREAD }
 Geometry update type.
 
enum class  Urho3D::GlobalIlluminationType { None , UseLightMap , BlendLightProbes }
 Global illumination mode.
 
enum class  Urho3D::ReflectionMode { Zone , NearestProbe , BlendProbes , BlendProbesAndZone }
 

Functions

 Urho3D::URHO3D_FLAGSET (DrawableFlag, DrawableFlags)
 
bool Urho3D::CompareDrawables (const Drawable *lhs, const Drawable *rhs)
 
bool Urho3D::WriteDrawablesToOBJ (const ea::vector< Drawable * > &drawables, File *outputFile, bool asZUp, bool asRightHanded, bool writeLightmapUV)
 

Variables

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 unsigned Urho3D::PORTABLE_LIGHTMASK = 0xf
 
static const int Urho3D::MAX_VERTEX_LIGHTS = 4
 
static const float Urho3D::ANIMATION_LOD_BASESCALE = 2500.0f
 

Enumeration Type Documentation

◆ ReflectionMode

enum class Urho3D::ReflectionMode
strong

Reflection mode. TODO: Need to update PipelineState hash if add blending modes