|
| | GR_PointLight (const UT_StringHolder &name) |
| |
| | ~GR_PointLight () override |
| |
| | UT_NON_COPYABLE (GR_PointLight) |
| |
| | LIGHTPARM (UT_Matrix4F, Projection) |
| |
| | LIGHTPARM (UT_Vector4F, Focus) |
| |
| | LIGHTPARM_SM (UT_Vector3F, Pos) |
| |
| | LIGHTPARM_SM (UT_Vector3F, Dir) |
| |
| | LIGHTPARM (UT_Vector3F, LightX) |
| |
| | LIGHTPARM (UT_Vector3F, LightY) |
| |
| | LIGHTPARM (UT_Vector3F, Color) |
| |
| | LIGHTPARM (UT_Vector3F, Atten) |
| |
| | LIGHTPARM (UT_Vector2F, ActiveRadius) |
| |
| | LIGHTPARM (UT_Vector2F, AttenRange) |
| |
| | LIGHTPARM (UT_Vector2F, AttenRampRange) |
| |
| | LIGHTPARM (UT_Vector2F, LeftBarn) |
| |
| | LIGHTPARM (UT_Vector2F, RightBarn) |
| |
| | LIGHTPARM (UT_Vector2F, TopBarn) |
| |
| | LIGHTPARM (UT_Vector2F, BottomBarn) |
| |
| | LIGHTPARM_SM (fpreal32, Cutoff) |
| |
| | LIGHTPARM (fpreal32, Falloff) |
| |
| | LIGHTPARM (fpreal32, SpotRolloff) |
| |
| | LIGHTPARM (int32, HasSpot) |
| |
| | LIGHTPARM (int32, HasProject) |
| |
| | LIGHTPARM (int32, ProjectClamp) |
| |
| | LIGHTPARM (int32, HasAttenRamp) |
| |
| | SHADOWPARM_SM (UT_Matrix4F, ShadowTransform) |
| |
| | SHADOWPARM_SM (fpreal32, ShadowBias) |
| |
| | SHADOWPARM (fpreal32, ShadowIntensity) |
| |
| void | setProjectMap (const UT_StringHolder &map_name, int op_id) |
| |
| const UT_StringHolder & | projectMap () const |
| |
| int | projectMapOpId () const |
| |
| bool | initBlocks (RV_Render *r, const GR_CommonDispOption &opts) override |
| |
| RV_ShaderProgram * | getShader (bool shadows, bool per_sample, bool is_antialiased, bool is_raytrace) override |
| |
| void | clearShadowMap () override |
| |
| LightType | type () const |
| |
| bool | isHeadlight () const |
| |
| void | setHeadlight (bool e) |
| |
| bool | isEnabled () const |
| |
| void | setEnabled (bool e) |
| |
| bool | canShadow () const |
| |
| void | setCanShadow (bool e) |
| |
| void | setLightID (exint id) |
| |
| void | setInstanceTransforms (const UT_Matrix4FArray &transforms, const UT_Vector4FArray &colors) |
| |
| bool | isInstanced () const |
| |
| int | numInstances () const |
| |
| bool | initSceneSetForRender (RV_Render *r, RV_ShaderProgram *shader, UT_UniquePtr< RV_ShaderBlock > &scene_block, UT_UniquePtr< RV_ShaderVariableSet > &scene_set) |
| |
| bool | initLightSetForRender (RV_Render *r, RV_ShaderProgramBase *shader) |
| |
| bool | bindSets (RV_Render *r, RV_ShaderProgramBase *shader) |
| |
| bool | isDirty () const |
| |
| void | setLightLink (const UT_StringHolder &link) |
| |
| const UT_StringHolder & | lightLink () const |
| |
| virtual void | setShadowMask (const UT_StringHolder &mask) |
| |
| const UT_StringHolder & | shadowMask () const |
| |
| const UT_StringHolder & | name () const |
| |
| exint | id () const |
| |
| int64 | getVersion () const |
| |
| void | setVersion (int64 v) |
| |
| void | incref () |
| |
| void | decref () |
| |
| void | setName (const UT_StringHolder &name) |
| |
| void | setID (int id) |
| |
|
| enum | LightType {
AMBIENT,
DISTANT,
POINT,
ENVIRONMENT,
AREA
} |
| |
| static RV_ShaderProgram * | getAmbientOcclusionShader (bool is_raytrace) |
| |
| static bool | initShaders (RV_Instance *inst) |
| |
| static void | cleanupShaders () |
| |
| enum | { GLOBAL_SET = 0,
LIGHT_SET = 1
} |
| |
| | GR_Light (const UT_StringHolder &name, LightType type) |
| |
| | ~GR_Light () override |
| |
| | UT_NON_COPYABLE (GR_Light) |
| |
| bool | privInitBlocks (RV_Render *r, void *light_block, int light_size, void *shadow_block, int shadow_size) |
| |
| void | privBindTexture (RV_Render *r, const UT_StringHolder &map_name, int rel_op_id, RV_TextureRef &map_id, const UT_StringHolder &sampler_name, const GR_CommonDispOption &opts, RV_TextureParms *tex_parms=nullptr, bool is_cube=false) |
| |
| void | initTexParms (RV_Render *r, const GR_CommonDispOption &opts, RV_TextureParms &parms) const |
| |
| | GR_SceneItem (const UT_StringHolder &name, int id) |
| |
| virtual | ~GR_SceneItem () |
| |
| | UT_NON_COPYABLE (GR_SceneItem) |
| |
| static RV_ShaderProgram * | privGetShader (exint tags) |
| |
| bool | myDirtyFlag |
| |
| bool | myShadowDirtyFlag |
| |
| bool | mySetBound |
| |
| UT_StringHolder | myShadowMask |
| |
| static LightTag | Tag |
| |
Definition at line 125 of file GR_LightTypes.h.