Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Public Member Functions | |
GeometryDeferredShading (GeometryDeferredShadingPool &shading_data_pool, GeometryCustomDataPool &custom_data_pool, GeometryMatrixPool &matrix_pool) | |
void | init (const GeometryRaytraceCtx &ctx, const unsigned int &ray_index, const unsigned int &shading_group_count) |
size_t | get_memory_size () const |
void | configure_shading_group (const unsigned int &shading_group_index, const OfClass *shading_class=0, ModuleMaterial *shading_material=0, const ShadingVariableAccessor *shading_variables=0, const float &shading_opacity=0.0f) |
const unsigned int & | get_shading_group_count () const |
GeometryDeferredShadingGroup & | get_shading_group (const unsigned int &shading_group_index) const |
GeometryDeferredShadingGroup & | operator[] (const unsigned int &shading_group_index) const |
void | prepare_intersection (const GeometryDeferredShadingGroup &data, GeometryIntersection &inter) const |
const GeometrySourceHierarchy & | get_scene_objects () const |
Get the hierarchy of scene objects from which the geometry is accessible. | |
unsigned int | get_scene_object_count () const |
Get the size of the scene object hierarchy. | |
unsigned int | get_scene_object_index (const unsigned int &i) const |
Get the index of a scene object in the hierarchy. | |
unsigned int | get_first_scene_object_index () const |
Get the index in the scene of the first scene object in the hierarchy. | |
unsigned int | get_last_scene_object_index () const |
Get the index in regard to its parent of the last scene object in the hierarchy. | |
unsigned int | get_first_visibility_object_index () const |
Get the index of the first scene object overriding visibility or the last object if no override. | |
ModuleSceneObject * | get_scene_object (const unsigned int &i) const |
Get the pointer to a scene object in the hierarchy. | |
ModuleSceneObject * | get_first_scene_object () const |
Get the pointer to the first scene object in the hierarchy. | |
ModuleSceneObject * | get_last_scene_object () const |
Get the pointer to the last scene object in the hierarchy. | |
ModuleSceneObject * | get_first_visibility_object () const |
Get the pointer to the first scene object overriding visibility or the last object if no override. | |
const unsigned int & | get_visibility_index () const |
Get the index of the first scene object overriding visibility or the last object if no override. | |
const unsigned int & | get_geometry_index () const |
Get the index of the geometry in regard to the first scene object in the hierarchy. | |
const unsigned int & | get_local_geometry_index () const |
Returns the index of the last geometry hit in the scene object. | |
const unsigned int & | get_material_offset () const |
Get the index of the first material in regard to the first scene object in the hierarchy. | |
const GMathMatrix4x4d & | get_world_matrix () const |
Get the transformation matrix of the geometry. | |
GMathMatrix4x4d * | get_world_matrix_dt () const |
Get the transformation matrix of the geometry at (t + dt) | |
const GMathRay * | get_ray () const |
Get the ray that has generated the data. | |
const GMathVec3d & | get_local_eye_dir () const |
Get the local direction of the eye. | |
const double & | get_time () const |
Get the local time of the data (related to the frame) | |
const double & | get_time_delta () const |
Get the time delta used to compute the motion vector. | |
Friends | |
class | GeometryDeferredShadingGroup |
|
inline |
Get the index of the geometry in regard to the first scene object in the hierarchy.
|
inline |
Get the pointer to a scene object in the hierarchy.
[in] | i | the position of the scene object in the hierarchy |
|
inline |
Get the index of a scene object in the hierarchy.
[in] | i | the position of the scene object in the hierarchy |