U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Renderer.h File Reference
#include "../Container/HashSet.h"
#include "../Core/Mutex.h"
#include "../Graphics/Batch.h"
#include "../Graphics/Drawable.h"
#include "../Graphics/Viewport.h"
#include "../Math/Color.h"
Include dependency graph for Renderer.h:

Classes

class  Urho3D::Renderer
 High-level rendering subsystem. Manages drawing of 3D views. More...
 

Enumerations

enum  Urho3D::LightVSVariation {
  LVS_DIR = 0 , LVS_SPOT , LVS_POINT , LVS_SHADOW ,
  LVS_SPOTSHADOW , LVS_POINTSHADOW , LVS_SHADOWNORMALOFFSET , LVS_SPOTSHADOWNORMALOFFSET ,
  LVS_POINTSHADOWNORMALOFFSET , MAX_LIGHT_VS_VARIATIONS
}
 Light vertex shader variations.
 
enum  Urho3D::VertexLightVSVariation {
  VLVS_NOLIGHTS = 0 , VLVS_1LIGHT , VLVS_2LIGHTS , VLVS_3LIGHTS ,
  VLVS_4LIGHTS , MAX_VERTEXLIGHT_VS_VARIATIONS
}
 Per-vertex light vertex shader variations.
 
enum  Urho3D::LightPSVariation {
  LPS_NONE = 0 , LPS_SPOT , LPS_POINT , LPS_POINTMASK ,
  LPS_SPEC , LPS_SPOTSPEC , LPS_POINTSPEC , LPS_POINTMASKSPEC ,
  LPS_SHADOW , LPS_SPOTSHADOW , LPS_POINTSHADOW , LPS_POINTMASKSHADOW ,
  LPS_SHADOWSPEC , LPS_SPOTSHADOWSPEC , LPS_POINTSHADOWSPEC , LPS_POINTMASKSHADOWSPEC ,
  MAX_LIGHT_PS_VARIATIONS
}
 Light pixel shader variations.
 
enum  Urho3D::DeferredLightVSVariation {
  DLVS_NONE = 0 , DLVS_DIR , DLVS_ORTHO , DLVS_ORTHODIR ,
  MAX_DEFERRED_LIGHT_VS_VARIATIONS
}
 Deferred light volume vertex shader variations.
 
enum  Urho3D::DeferredLightPSVariation {
  DLPS_NONE = 0 , DLPS_SPOT , DLPS_POINT , DLPS_POINTMASK ,
  DLPS_SPEC , DLPS_SPOTSPEC , DLPS_POINTSPEC , DLPS_POINTMASKSPEC ,
  DLPS_SHADOW , DLPS_SPOTSHADOW , DLPS_POINTSHADOW , DLPS_POINTMASKSHADOW ,
  DLPS_SHADOWSPEC , DLPS_SPOTSHADOWSPEC , DLPS_POINTSHADOWSPEC , DLPS_POINTMASKSHADOWSPEC ,
  DLPS_SHADOWNORMALOFFSET , DLPS_SPOTSHADOWNORMALOFFSET , DLPS_POINTSHADOWNORMALOFFSET , DLPS_POINTMASKSHADOWNORMALOFFSET ,
  DLPS_SHADOWSPECNORMALOFFSET , DLPS_SPOTSHADOWSPECNORMALOFFSET , DLPS_POINTSHADOWSPECNORMALOFFSET , DLPS_POINTMASKSHADOWSPECNORMALOFFSET ,
  DLPS_ORTHO , DLPS_ORTHOSPOT , DLPS_ORTHOPOINT , DLPS_ORTHOPOINTMASK ,
  DLPS_ORTHOSPEC , DLPS_ORTHOSPOTSPEC , DLPS_ORTHOPOINTSPEC , DLPS_ORTHOPOINTMASKSPEC ,
  DLPS_ORTHOSHADOW , DLPS_ORTHOSPOTSHADOW , DLPS_ORTHOPOINTSHADOW , DLPS_ORTHOPOINTMASKSHADOW ,
  DLPS_ORTHOSHADOWSPEC , DLPS_ORTHOSPOTSHADOWSPEC , DLPS_ORTHOPOINTSHADOWSPEC , DLPS_ORTHOPOINTMASKSHADOWSPEC ,
  DLPS_ORTHOSHADOWNORMALOFFSET , DLPS_ORTHOSPOTSHADOWNORMALOFFSET , DLPS_ORTHOPOINTSHADOWNORMALOFFSET , DLPS_ORTHOPOINTMASKSHADOWNORMALOFFSET ,
  DLPS_ORTHOSHADOWSPECNORMALOFFSET , DLPS_ORTHOSPOTSHADOWSPECNORMALOFFSET , DLPS_ORTHOPOINTSHADOWSPECNORMALOFFSET , DLPS_ORTHOPOINTMASKSHADOWSPECNORMALOFFSET ,
  MAX_DEFERRED_LIGHT_PS_VARIATIONS
}
 Deferred light volume pixels shader variations.
 

Variables

static const int Urho3D::SHADOW_MIN_PIXELS = 64
 
static const int Urho3D::INSTANCING_BUFFER_DEFAULT_SIZE = 1024