Rebel Fork Framework
GraphicsDefs.h File Reference
#include "../Container/FlagSet.h"
#include "../Container/Hash.h"
#include "../Math/StringHash.h"
#include "../RenderAPI/RenderAPIDefs.h"

Classes

struct  Urho3D::VertexElement
 Vertex element description for arbitrary vertex declarations. More...
 

Enumerations

enum  Urho3D::GeometryType {
  GEOM_STATIC = 0, GEOM_SKINNED = 1, GEOM_INSTANCED = 2, GEOM_BILLBOARD = 3,
  GEOM_DIRBILLBOARD = 4, GEOM_TRAIL_FACE_CAMERA = 5, GEOM_TRAIL_BONE = 6, MAX_GEOMETRYTYPES = 7,
  GEOM_STATIC_NOINSTANCING = 7
}
 Geometry type for vertex shader geometry variations.
 
enum  Urho3D::LockState { LOCK_NONE = 0, LOCK_HARDWARE, LOCK_SHADOW, LOCK_SCRATCH }
 Vertex/index buffer lock state.
 
enum  Urho3D::LegacyVertexElement {
  ELEMENT_POSITION = 0, ELEMENT_NORMAL, ELEMENT_COLOR, ELEMENT_TEXCOORD1,
  ELEMENT_TEXCOORD2, ELEMENT_CUBETEXCOORD1, ELEMENT_CUBETEXCOORD2, ELEMENT_TANGENT,
  ELEMENT_BLENDWEIGHTS, ELEMENT_BLENDINDICES, ELEMENT_INSTANCEMATRIX1, ELEMENT_INSTANCEMATRIX2,
  ELEMENT_INSTANCEMATRIX3, ELEMENT_OBJECTINDEX, MAX_LEGACY_VERTEX_ELEMENTS
}
 Hardcoded legacy vertex elements.
 
enum  Urho3D::CubeMapFace {
  FACE_POSITIVE_X = 0, FACE_NEGATIVE_X, FACE_POSITIVE_Y, FACE_NEGATIVE_Y,
  FACE_POSITIVE_Z, FACE_NEGATIVE_Z, MAX_CUBEMAP_FACES
}
 Cube map faces.
 
enum  Urho3D::CubeMapLayout {
  CML_HORIZONTAL = 0, CML_HORIZONTALNVIDIA, CML_HORIZONTALCROSS, CML_VERTICALCROSS,
  CML_BLENDER
}
 Cubemap single image layout modes.
 
enum  Urho3D::RenderSurfaceUpdateMode { SURFACE_MANUALUPDATE = 0, SURFACE_UPDATEVISIBLE, SURFACE_UPDATEALWAYS }
 Update mode for render surface viewports.
 
enum  Urho3D::FaceCameraMode {
  FC_NONE = 0, FC_ROTATE_XYZ, FC_ROTATE_Y, FC_LOOKAT_XYZ,
  FC_LOOKAT_Y, FC_LOOKAT_MIXED, FC_DIRECTION, FC_AXIS_ANGLE
}
 Billboard camera facing modes.
 
enum  Urho3D::ShadowQuality {
  SHADOWQUALITY_SIMPLE_16BIT = 0, SHADOWQUALITY_SIMPLE_24BIT, SHADOWQUALITY_PCF_16BIT, SHADOWQUALITY_PCF_24BIT,
  SHADOWQUALITY_VSM, SHADOWQUALITY_BLUR_VSM
}
 Shadow type.
 
enum  MaterialQuality : unsigned { QUALITY_LOW = 0, QUALITY_MEDIUM = 1, QUALITY_HIGH = 2, QUALITY_MAX = 15 }
 
enum  VertexMask : unsigned {
  MASK_NONE = 0x0, MASK_POSITION = 0x1, MASK_NORMAL = 0x2, MASK_COLOR = 0x4,
  MASK_TEXCOORD1 = 0x8, MASK_TEXCOORD2 = 0x10, MASK_CUBETEXCOORD1 = 0x20, MASK_CUBETEXCOORD2 = 0x40,
  MASK_TANGENT = 0x80, MASK_BLENDWEIGHTS = 0x100, MASK_BLENDINDICES = 0x200, MASK_INSTANCEMATRIX1 = 0x400,
  MASK_INSTANCEMATRIX2 = 0x800, MASK_INSTANCEMATRIX3 = 0x1000, MASK_OBJECTINDEX = 0x2000
}
 

Functions

 Urho3D::URHO3D_FLAGSET (VertexMask, VertexMaskFlags)
 

Variables

static const char * Urho3D::textureFilterModeNames []
 
const URHO3D_API StringHash Urho3D::VSP_AMBIENTSTARTCOLOR
 
const URHO3D_API StringHash Urho3D::VSP_AMBIENTENDCOLOR
 
const URHO3D_API StringHash Urho3D::VSP_BILLBOARDROT
 
const URHO3D_API StringHash Urho3D::VSP_CAMERAPOS
 
const URHO3D_API StringHash Urho3D::VSP_CLIPPLANE
 
const URHO3D_API StringHash Urho3D::VSP_NEARCLIP
 
const URHO3D_API StringHash Urho3D::VSP_FARCLIP
 
const URHO3D_API StringHash Urho3D::VSP_DEPTHMODE
 
const URHO3D_API StringHash Urho3D::VSP_DELTATIME
 
const URHO3D_API StringHash Urho3D::VSP_ELAPSEDTIME
 
const URHO3D_API StringHash Urho3D::VSP_FRUSTUMSIZE
 
const URHO3D_API StringHash Urho3D::VSP_GBUFFEROFFSETS
 
const URHO3D_API StringHash Urho3D::VSP_LIGHTDIR
 
const URHO3D_API StringHash Urho3D::VSP_LIGHTPOS
 
const URHO3D_API StringHash Urho3D::VSP_NORMALOFFSETSCALE
 
const URHO3D_API StringHash Urho3D::VSP_MODEL
 
const URHO3D_API StringHash Urho3D::VSP_VIEW
 
const URHO3D_API StringHash Urho3D::VSP_VIEWINV
 
const URHO3D_API StringHash Urho3D::VSP_VIEWPROJ
 
const URHO3D_API StringHash Urho3D::VSP_UOFFSET
 
const URHO3D_API StringHash Urho3D::VSP_VOFFSET
 
const URHO3D_API StringHash Urho3D::VSP_ZONE
 
const URHO3D_API StringHash Urho3D::VSP_LIGHTMATRICES
 
const URHO3D_API StringHash Urho3D::VSP_SKINMATRICES
 
const URHO3D_API StringHash Urho3D::VSP_VERTEXLIGHTS
 
const URHO3D_API StringHash Urho3D::VSP_LMOFFSET
 
const URHO3D_API StringHash Urho3D::VSP_SHAR
 
const URHO3D_API StringHash Urho3D::VSP_SHAG
 
const URHO3D_API StringHash Urho3D::VSP_SHAB
 
const URHO3D_API StringHash Urho3D::VSP_SHBR
 
const URHO3D_API StringHash Urho3D::VSP_SHBG
 
const URHO3D_API StringHash Urho3D::VSP_SHBB
 
const URHO3D_API StringHash Urho3D::VSP_SHC
 
const URHO3D_API StringHash Urho3D::VSP_AMBIENT
 
const URHO3D_API StringHash Urho3D::PSP_AMBIENTCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_CAMERAPOS
 
const URHO3D_API StringHash Urho3D::PSP_DELTATIME
 
const URHO3D_API StringHash Urho3D::PSP_DEPTHRECONSTRUCT
 
const URHO3D_API StringHash Urho3D::PSP_ELAPSEDTIME
 
const URHO3D_API StringHash Urho3D::PSP_FOGCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_FOGPARAMS
 
const URHO3D_API StringHash Urho3D::PSP_GBUFFERINVSIZE
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTDIR
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTPOS
 
const URHO3D_API StringHash Urho3D::PSP_NORMALOFFSETSCALE
 
const URHO3D_API StringHash Urho3D::PSP_MATDIFFCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_MATEMISSIVECOLOR
 
const URHO3D_API StringHash Urho3D::PSP_MATENVMAPCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_MATSPECCOLOR
 
const URHO3D_API StringHash Urho3D::PSP_NEARCLIP
 
const URHO3D_API StringHash Urho3D::PSP_FARCLIP
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWCUBEADJUST
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWCUBEUVBIAS
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWDEPTHFADE
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWINTENSITY
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWMAPINVSIZE
 
const URHO3D_API StringHash Urho3D::PSP_SHADOWSPLITS
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTMATRICES
 
const URHO3D_API StringHash Urho3D::PSP_VSMSHADOWPARAMS
 
const URHO3D_API StringHash Urho3D::PSP_ROUGHNESS
 
const URHO3D_API StringHash Urho3D::PSP_METALLIC
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTRAD
 
const URHO3D_API StringHash Urho3D::PSP_LIGHTLENGTH
 
const URHO3D_API StringHash Urho3D::PSP_ZONEMIN
 
const URHO3D_API StringHash Urho3D::PSP_ZONEMAX
 
const URHO3D_API Vector3 Urho3D::DOT_SCALE
 
static const int Urho3D::MAX_RENDERTARGETS = (int)MaxRenderTargets
 
static const int Urho3D::MAX_VERTEX_STREAMS = (int)MaxVertexStreams
 

Variable Documentation

◆ textureFilterModeNames

const char* Urho3D::textureFilterModeNames[]
static
Initial value:
= {
"NEAREST",
"BILINEAR",
"TRILINEAR",
"ANISOTROPIC",
"NEAREST_ANISOTROPIC",
"DEFAULT",
nullptr,
}