Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CtxPbrShader Class Reference
Inheritance diagram for CtxPbrShader:
CtxIntegrator

Public Member Functions

 CtxPbrShader (PbrSampler *pbr_sampler, const PbrRecursionData *current_pbr_recursion_data, const CtxPbrConstants &default_pbr_constants_ctx, const DefaultMaterialConfig &default_material_config, CtxPbrSampleCounter &sample_counter, PbrPath &pbr_path, SceneIntegrationData **scene_objects_integration_data, SceneIntegrationData *scene_lights_integration_data)
 
void init (PbrIntegrator *pbr_integrator, PbrRecursionData *pbr_recursion_data)
 
CtxPbrSampling prepare_recursion_sampling (const CtxShader &shader_ctx, CoreVector< unsigned int > &global_indices_buffer, const unsigned int &sample_count, const unsigned int &dimension_count, const unsigned int &min_sample_count=1) const
 
CtxPbrSampling prepare_recursion_sampling_local (const CtxShader &shader_ctx, CoreVector< unsigned int > &global_indices_buffer, const unsigned int &local_sample_count, const unsigned int &dimension_count) const
 
void reset ()
 
bool integrate (const CtxEval &eval_ctx, CtxShader &shader_ctx)
 
- Public Member Functions inherited from CtxIntegrator
**brief Returns the new
integrator context to store in
the shader 
context (could be the previous one).*/*/virtual CtxIntegrator *push()=0
 
**brief Returns the new
integrator context to store in
the shader 
context (could be the previous one).*/*/virtual CtxIntegrator *pop()=0
 

Public Attributes

PbrSamplersampler
 
const PbrRecursionDatacurrent_recursion_data
 
PbrRecursionDatanext_recursion_data
 
const CtxPbrConstantsdefault_constants_ctx
 
CtxPbrConstants constants_ctx
 
PbrMaterial material
 
PbrDeepTransmittance deep_transmittance
 
PbrIntegratorOutput integrator_output
 
CoreVector< BxDFTypeFlags > filters
 
PbrLpeAccumulatorlpe_accumulator
 
const DefaultMaterialConfigdefault_materials
 
CtxPbrSampleCountersample_counter
 
PbrPathpath
 
unsigned int sample_offset
 increased after each transparent fragment in order to use different samples each time
 
bool has_unoccluded_lpes
 
bool export_physical_aovs
 
bool export_rasterize_aovs
 
bool export_diagnostic_aovs
 
SceneIntegrationData ** scene_objects_integration_data
 
SceneIntegrationDatascene_lights_integration_data
 
const ModuleSceneObjectfirst_scene_object
 

Protected Attributes

PbrIntegratorintegrator