|
| CtxShader (unsigned int aov_count, unsigned int max_light_count) |
|
| CtxShader (const CtxShader &ctx) |
|
void | init () |
|
ModuleGroup * | get_group (const GMathRay<>::Type &type) const |
|
const CtxGas & | get_default_gas_ctx (const GMathRay<>::Type &type) const |
|
const GasObject * | get_default_gas (const GMathRay<>::Type &type) const |
|
void | set_default_gas_ctx (const GMathRay<>::Type &type, const CtxGas &gas_ctx) |
|
void | set_default_gas_ctx (const GMathRay<>::Type &type, const GasObject *gas, const SceneObjectShading *shading) |
|
const CtxGas & | get_gas_ctx (const GMathRay<>::Type &type) const |
|
const GasObject * | get_gas (const GMathRay<>::Type &type) const |
|
void | set_gas_ctx (const GMathRay<>::Type &type, const CtxGas &gas_ctx) |
|
void | set_gas_ctx (const GMathRay<>::Type &type, const GasObject *gas, const SceneObjectShading *shading) |
|
CtxIllumination & | get_illumination_ctx () const |
|
CtxVolume & | get_volume_ctx () const |
|
CtxDeferredShading & | get_deferred_shading_ctx () const |
|
CtxTransmittance & | get_transmittance_ctx () const |
|
MaterialOutput & | get_material_output () const |
|
CoreArray< float > & | get_aov_list () const |
|
CoreVector< GMathVec2d > & | get_uv_samples () const |
|
CoreVector< GMathVec3f > & | get_color_samples () const |
|
CoreVector< GMathVec3f > & | get_opacity_samples () const |
|
CoreVector< LightSample > & | get_light_samples () const |
|
const unsigned int & | get_recursion_depth () const |
|
GRandomDefault & | get_rng () const |
|
void | init_working_data (const size_t &size) |
|
template<class T > |
CoreBasicArray< T > | get_working_array (const unsigned int &count) |
|
GeometryIntersection * | new_intersection () |
|
void | free_intersection (GeometryIntersection *intersection) |
|
GMathMatrix4x4d * | new_matrix () |
|
void | free_matrix (GMathMatrix4x4d *m) |
|
GeometryCustomData * | new_custom_data (size_t size) |
|
void | free_custom_data (GeometryCustomData *data) |
|
template<class T > |
GeometryCustomData * | new_custom_data () |
|
template<class T > |
GeometryCustomData * | new_custom_data (const T &value) |
|
CtxRaytrace * | new_raytrace_ctx () |
|
void | free_raytrace_ctx (CtxRaytrace *ctx) |
|
CtxFrustum * | new_frustum_ctx () |
|
void | free_frustum_ctx (CtxFrustum *ctx) |
|
CtxRayFrustum * | new_ray_frustum_ctx () |
|
void | free_ray_frustum_ctx (CtxRayFrustum *ctx) |
|
void | push (const bool &new_recursion) |
| Push the status of the shading context. This must be called before shading a fragment.
|
|
void | pop () |
| Pop the shading context and returns to the previous status.
|
|
unsigned int | prepare_for_sampling (const unsigned int &count) |
| Configure the sampling of the current fragment.
|
|
void | prepare_for_sampling (HierarchicalSampler2d &sampler, const unsigned int &count) |
| Configure the sampling of the current fragment.
|
|
CtxRaytrace * | new_raytrace_ctx (const unsigned int &ray_count) |
|
CtxRaytrace * | new_raytrace_ctx (const GMathRay<> &ray, const double &tnear=gmath_epsilon, const double &tfar=gmath_infinity) |
|
CtxFrustum * | new_frustum_ctx (const GMathRay<>::Type &ray_type=GMathRay<>::TYPE_CAMERA, const GeometryFrustumData::GatherMode &mode=GeometryFrustumData::GATHER_PARTIAL_OBJECTS) |
|
CtxRayFrustum * | new_ray_frustum_ctx (const unsigned int &ray_count, const unsigned int &display_pixels) |
|
unsigned int | get_alpha_path_length () const |
|
unsigned int | get_alpha_path_length (unsigned int depth_offset) const |
|
double | get_alpha_threshold () const |
|
CtxGasTraversal * | new_gas_traversal () |
|
void | free_gas_traversal (CtxGasTraversal *gt) |
|
CtxShader & | operator= (const CtxShader &other) |
|
CtxShaderStats | get_stats () const |
|