|
Blender V4.3
|
#include "util/math.h"#include "util/math_fast.h"#include "util/math_intersect.h"#include "util/projection.h"#include "util/static_assert.h"#include "util/texture.h"#include "util/transform.h"#include "kernel/svm/types.h"#include "kernel/data_template.h"Go to the source code of this file.
Classes | |
| struct | BsdfEval |
| struct | differential3 |
| struct | differential |
| struct | RaySelfPrimitives |
| struct | Ray |
| struct | Intersection |
| struct | AttributeDescriptor |
| struct | AttributeMap |
| struct | ShaderVolumeClosure |
| struct | ShaderVolumePhases |
| struct | VolumeStack |
| struct | LocalIntersection |
| struct | KernelCamera |
| struct | KernelFilmConvert |
| struct | KernelTables |
| struct | KernelBake |
| struct | KernelLightLinkSet |
| struct | KernelObject |
| struct | KernelCurve |
| struct | KernelCurveSegment |
| struct | KernelSpotLight |
| struct | KernelAreaLight |
| struct | KernelDistantLight |
| struct | KernelLight |
| struct | KernelLightDistribution |
| struct | KernelLightTreeNode |
| struct | KernelLightTreeEmitter |
| struct | KernelParticle |
| struct | KernelShader |
| struct | KernelWorkTile |
| struct | KernelShaderEvalInput |
Typedefs | |
| typedef enum ClosureLabel | ClosureLabel |
| typedef enum PassType | PassType |
| typedef enum CryptomatteType | CryptomatteType |
| typedef struct BsdfEval | BsdfEval |
| typedef enum FilterClosures | FilterClosures |
| typedef enum ShaderFlag | ShaderFlag |
| typedef enum LightType | LightType |
| typedef enum GuidingDistributionType | GuidingDistributionType |
| typedef enum GuidingDirectionalSamplingType | GuidingDirectionalSamplingType |
| typedef struct differential3 | differential3 |
| typedef struct differential | differential |
| typedef struct RaySelfPrimitives | RaySelfPrimitives |
| typedef struct Ray | Ray |
| typedef struct Intersection | Intersection |
| typedef enum PrimitiveType | PrimitiveType |
| typedef enum CurveShapeType | CurveShapeType |
| typedef enum AttributePrimitive | AttributePrimitive |
| typedef enum AttributeElement | AttributeElement |
| typedef enum AttributeStandard | AttributeStandard |
| typedef enum AttributeFlag | AttributeFlag |
| typedef struct AttributeDescriptor | AttributeDescriptor |
| typedef struct AttributeMap | AttributeMap |
| typedef struct ShaderVolumeClosure | ShaderVolumeClosure |
| typedef struct ShaderVolumePhases | ShaderVolumePhases |
| typedef struct VolumeStack | VolumeStack |
| typedef struct LocalIntersection | LocalIntersection |
| typedef struct KernelCamera | KernelCamera |
| typedef struct KernelFilmConvert | KernelFilmConvert |
| typedef enum KernelBVHLayout | KernelBVHLayout |
| typedef struct KernelTables | KernelTables |
| typedef struct KernelBake | KernelBake |
| typedef struct KernelLightLinkSet | KernelLightLinkSet |
| typedef struct KernelObject | KernelObject |
| typedef struct KernelCurve | KernelCurve |
| typedef struct KernelCurveSegment | KernelCurveSegment |
| typedef struct KernelSpotLight | KernelSpotLight |
| typedef struct KernelAreaLight | KernelAreaLight |
| typedef struct KernelDistantLight | KernelDistantLight |
| typedef struct KernelLight | KernelLight |
| using | MeshLight |
| typedef struct KernelLightDistribution | KernelLightDistribution |
| using | BoundingBox |
| using | BoundingCone |
| typedef struct KernelLightTreeNode | KernelLightTreeNode |
| typedef struct KernelLightTreeEmitter | KernelLightTreeEmitter |
| typedef struct KernelParticle | KernelParticle |
| typedef struct KernelShader | KernelShader |
| typedef struct KernelWorkTile | KernelWorkTile |
| typedef struct KernelShaderEvalInput | KernelShaderEvalInput |
| typedef enum DeviceKernel | DeviceKernel |
Functions | |
| struct | ccl_align (16) ShaderClosure |
| static_assert_align (KernelCamera, 16) | |
| static_assert_align (KernelFilmConvert, 16) | |
| static_assert_align (KernelTables, 16) | |
| static_assert_align (KernelBake, 16) | |
| static_assert_align (KernelData, 16) | |
| static_assert_align (KernelObject, 16) | |
| static_assert_align (KernelCurve, 16) | |
| static_assert_align (KernelCurveSegment, 8) | |
| static_assert_align (KernelLight, 16) | |
| static_assert_align (KernelLightDistribution, 16) | |
| static_assert_align (KernelLightTreeNode, 16) | |
| static_assert_align (KernelLightTreeEmitter, 16) | |
| static_assert_align (KernelParticle, 16) | |
| static_assert_align (KernelShader, 16) | |
| static_assert_align (KernelShaderEvalInput, 16) | |
Variables | |
| ShaderClosure | |
| ShaderData | |
| ShaderDataTinyStorage | |
| ShaderDataCausticsStorage | |
| KernelData | |
| #define __AO__ |
Definition at line 173 of file kernel/types.h.
| #define __BVH_LOCAL__ |
Definition at line 277 of file kernel/types.h.
| #define __CAUSTICS_TRICKS__ |
Definition at line 174 of file kernel/types.h.
| #define __CLAMP_SAMPLE__ |
Definition at line 175 of file kernel/types.h.
| #define __DENOISING_FEATURES__ |
Definition at line 176 of file kernel/types.h.
| #define __DPDU__ |
Definition at line 177 of file kernel/types.h.
| #define __HAIR__ |
Definition at line 178 of file kernel/types.h.
| #define __LIGHT_LINKING__ |
Definition at line 179 of file kernel/types.h.
| #define __LIGHT_TREE__ |
Definition at line 181 of file kernel/types.h.
| #define __MNEE__ |
Definition at line 183 of file kernel/types.h.
Referenced by surface_shader_prepare_closures().
| #define __OBJECT_MOTION__ |
Definition at line 182 of file kernel/types.h.
| #define __PASSES__ |
Definition at line 184 of file kernel/types.h.
| #define __PATCH_EVAL__ |
Definition at line 185 of file kernel/types.h.
| #define __POINTCLOUD__ |
Definition at line 186 of file kernel/types.h.
| #define __PRINCIPLED_HAIR__ |
Definition at line 187 of file kernel/types.h.
| #define __RAY_DIFFERENTIALS__ |
Definition at line 188 of file kernel/types.h.
| #define __SHADER_RAYTRACE__ |
Definition at line 189 of file kernel/types.h.
| #define __SHADOW_CATCHER__ |
Definition at line 190 of file kernel/types.h.
| #define __SHADOW_LINKING__ |
Definition at line 180 of file kernel/types.h.
| #define __SHADOW_RECORD_ALL__ |
Definition at line 191 of file kernel/types.h.
| #define __SUBSURFACE__ |
Definition at line 192 of file kernel/types.h.
| #define __SVM__ |
Definition at line 193 of file kernel/types.h.
| #define __TRANSPARENT_SHADOWS__ |
Definition at line 194 of file kernel/types.h.
| #define __VISIBILITY_FLAG__ |
Definition at line 195 of file kernel/types.h.
| #define __VOLUME__ |
Definition at line 196 of file kernel/types.h.
| #define __VOLUME_RECORD_ALL__ |
Definition at line 210 of file kernel/types.h.
| #define AS_SHADER_DATA | ( | shader_data_tiny_storage | ) | ((ccl_private ShaderData *)shader_data_tiny_storage) |
Definition at line 1228 of file kernel/types.h.
Referenced by integrate_distant_lights(), integrate_light(), integrate_surface_direct_light(), integrator_eval_background_shader(), and integrator_volume_stack_update_for_subsurface().
| #define BSSRDF_MAX_BOUNCES 256 |
Definition at line 43 of file kernel/types.h.
| #define BSSRDF_MAX_HITS 4 |
Definition at line 42 of file kernel/types.h.
Definition at line 41 of file kernel/types.h.
Referenced by bssrdf_setup().
| #define CAUSTICS_MAX_CLOSURE 4 |
Definition at line 949 of file kernel/types.h.
Referenced by surface_shader_eval().
| #define DECLARE_FILM_CONVERT_KERNEL | ( | variant | ) | DEVICE_KERNEL_FILM_CONVERT_##variant, DEVICE_KERNEL_FILM_CONVERT_##variant##_HALF_RGBA |
Definition at line 1852 of file kernel/types.h.
| #define EMITTER_NONE (~0) |
Definition at line 52 of file kernel/types.h.
| #define FILTER_TABLE_SIZE 1024 |
Definition at line 37 of file kernel/types.h.
Referenced by camera_sample(), and filter_table().
| #define ID_NONE (0.0f) |
Definition at line 53 of file kernel/types.h.
Referenced by film_sort_cryptomatte_slots(), and film_write_cryptomatte_slots().
| #define IF_KERNEL_FEATURE | ( | feature | ) | if ((node_feature_mask & (KERNEL_FEATURE_##feature)) != 0U) |
Definition at line 162 of file kernel/types.h.
Referenced by integrate_surface_direct_light().
| #define IF_KERNEL_NODES_FEATURE | ( | feature | ) | if ((node_feature_mask & (KERNEL_FEATURE_NODE_##feature)) != 0U) |
Definition at line 163 of file kernel/types.h.
Referenced by svm_eval_nodes(), svm_node_aov_color(), svm_node_aov_value(), svm_node_attr(), svm_node_closure_bsdf(), svm_node_displacement(), svm_node_light_path(), svm_node_set_bump(), svm_node_set_displacement(), svm_node_tex_voronoi(), svm_node_tex_voxel(), and svm_node_vector_displacement().
| #define INTEGRATOR_SHADOW_ISECT_SIZE INTEGRATOR_SHADOW_ISECT_SIZE_CPU |
Definition at line 66 of file kernel/types.h.
Referenced by __anyhit__kernel_optix_shadow_all_hit(), BVH(), kernel_embree_filter_occluded_shadow_all_func_impl(), and shadow_intersections_has_remaining().
Definition at line 60 of file kernel/types.h.
Definition at line 61 of file kernel/types.h.
| #define KERNEL_FEATURE_AO (KERNEL_FEATURE_AO_PASS | KERNEL_FEATURE_AO_ADDITIVE) |
Definition at line 116 of file kernel/types.h.
Referenced by integrate_surface(), and PathTraceWorkGPU::kernel_creates_ao_paths().
Definition at line 115 of file kernel/types.h.
Referenced by film_write_direct_light(), and Integrator::get_kernel_features().
Definition at line 114 of file kernel/types.h.
Referenced by film_write_direct_light(), and Film::get_kernel_features().
Definition at line 93 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 132 of file kernel/types.h.
Referenced by DenoiserPipeline::DenoiserPipeline(), Film::get_kernel_features(), Denoiser::load_kernels(), log_kernel_features(), and path_state_init_integrator().
Definition at line 88 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 89 of file kernel/types.h.
Referenced by Scene::update_kernel_features().
Definition at line 128 of file kernel/types.h.
Referenced by integrate_surface_bsdf_bssrdf_bounce(), light_link_light_match(), light_link_object_match(), light_link_receiver_forward(), light_link_receiver_nee(), light_tree_root_node_index(), path_state_init_integrator(), and Scene::update_kernel_features().
Definition at line 111 of file kernel/types.h.
Referenced by film_write_direct_light(), film_write_emission_or_background_pass(), Film::get_kernel_features(), integrate_surface_bsdf_bssrdf_bounce(), and integrate_surface_direct_light().
Definition at line 135 of file kernel/types.h.
Referenced by Integrator::get_kernel_features().
Definition at line 119 of file kernel/types.h.
Referenced by PathTraceWorkGPU::alloc_integrator_sorting(), PathTraceWorkGPU::enqueue_reset(), integrator_shade_surface_mnee(), log_kernel_features(), and Scene::update_kernel_features().
Definition at line 79 of file kernel/types.h.
Definition at line 72 of file kernel/types.h.
Referenced by BsdfBaseNode::get_feature(), ShaderManager::get_kernel_features(), and log_kernel_features().
Definition at line 75 of file kernel/types.h.
Referenced by BumpNode::get_feature(), DisplacementNode::get_feature(), ShaderNode::get_feature(), VectorDisplacementNode::get_feature(), ShaderManager::get_kernel_features(), and log_kernel_features().
Definition at line 76 of file kernel/types.h.
Referenced by ShaderManager::get_kernel_features().
Definition at line 73 of file kernel/types.h.
Referenced by BackgroundNode::get_feature(), EmissionNode::get_feature(), ShaderManager::get_kernel_features(), and log_kernel_features().
Definition at line 80 of file kernel/types.h.
Referenced by kernel_background_evaluate(), and kernel_curve_shadow_transparency_evaluate().
| #define KERNEL_FEATURE_NODE_MASK_BUMP KERNEL_FEATURE_NODE_MASK_DISPLACEMENT |
Definition at line 156 of file kernel/types.h.
Referenced by SVMCompiler::compile_type().
| #define KERNEL_FEATURE_NODE_MASK_DISPLACEMENT (KERNEL_FEATURE_NODE_VORONOI_EXTRA | KERNEL_FEATURE_NODE_BUMP | KERNEL_FEATURE_NODE_BUMP_STATE) |
Definition at line 154 of file kernel/types.h.
Referenced by SVMCompiler::compile_type().
| #define KERNEL_FEATURE_NODE_MASK_SURFACE |
Definition at line 148 of file kernel/types.h.
Referenced by SVMCompiler::compile_type(), integrator_shade_surface_mnee(), and integrator_shade_surface_raytrace().
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_BACKGROUND (KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT | KERNEL_FEATURE_NODE_AOV) |
Definition at line 142 of file kernel/types.h.
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT |
Definition at line 139 of file kernel/types.h.
Referenced by kernel_background_evaluate().
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW |
Definition at line 144 of file kernel/types.h.
Referenced by kernel_curve_shadow_transparency_evaluate().
| #define KERNEL_FEATURE_NODE_MASK_VOLUME |
Definition at line 81 of file kernel/types.h.
Referenced by PrincipledHairBsdfNode::get_feature().
Definition at line 78 of file kernel/types.h.
Referenced by PathTraceWorkGPU::alloc_integrator_sorting(), PathTraceWorkGPU::enqueue_reset(), SVMCompiler::generate_node(), AmbientOcclusionNode::get_feature(), BevelNode::get_feature(), OSLNode::get_feature(), kernel_background_evaluate(), kernel_curve_shadow_transparency_evaluate(), and log_kernel_features().
Definition at line 74 of file kernel/types.h.
Referenced by VolumeNode::get_feature(), ShaderManager::get_graph_kernel_features(), and log_kernel_features().
Definition at line 77 of file kernel/types.h.
Referenced by VoronoiTextureNode::get_feature(), and log_kernel_features().
Definition at line 90 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 125 of file kernel/types.h.
Referenced by displacement_shader_eval(), ShaderManager::get_kernel_features(), and surface_shader_eval().
Definition at line 102 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 122 of file kernel/types.h.
Referenced by Scene::update_kernel_features().
Definition at line 84 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 87 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 108 of file kernel/types.h.
Referenced by log_kernel_features(), and Scene::update_kernel_features().
Definition at line 129 of file kernel/types.h.
Referenced by integrate_surface_emission(), integrator_state_read_shadow_ray_self(), integrator_state_write_shadow_ray_self(), intersection_skip_shadow_link(), lights_intersect_impl(), and Scene::update_kernel_features().
Definition at line 96 of file kernel/types.h.
Referenced by ShaderManager::get_graph_kernel_features(), and log_kernel_features().
Definition at line 105 of file kernel/types.h.
Referenced by ShaderManager::get_graph_kernel_features(), and log_kernel_features().
Definition at line 99 of file kernel/types.h.
Referenced by ShaderManager::get_kernel_features(), log_kernel_features(), and path_state_init_integrator().
| #define KERNEL_STRUCT_BEGIN | ( | name, | |
| parent ) |
Definition at line 1428 of file kernel/types.h.
| #define KERNEL_STRUCT_BEGIN | ( | name, | |
| parent ) name parent; |
Definition at line 1428 of file kernel/types.h.
| #define KERNEL_STRUCT_END | ( | name | ) |
Definition at line 1431 of file kernel/types.h.
| #define KERNEL_STRUCT_MEMBER | ( | parent, | |
| type, | |||
| name ) type name; |
Definition at line 1439 of file kernel/types.h.
| #define LAMP_NONE (~0) |
Definition at line 51 of file kernel/types.h.
Referenced by integrate_surface_direct_light(), integrator_intersect_closest(), integrator_volume_stack_update_for_subsurface(), lamp_lightgroup(), lamp_random_number(), light_sample_shader_eval(), osl_eval_nodes< SHADER_TYPE_SURFACE >(), shader_setup_from_background(), shader_setup_from_displace(), shader_setup_from_ray(), shader_setup_from_sample(), svm_node_object_info(), OSLRenderServices::trace(), and triangle_light_sample().
Definition at line 58 of file kernel/types.h.
Referenced by BlenderLightLink::get_light_set_membership(), BlenderLightLink::get_shadow_set_membership(), Light::has_light_linking(), Object::has_light_linking(), Light::has_shadow_linking(), Object::has_shadow_linking(), integrate_distant_lights(), integrate_surface_emission(), intersection_skip_shadow_link(), lights_intersect_impl(), NODE_DEFINE(), and NODE_DEFINE().
| #define LIGHT_LINK_SET_MAX 64 |
Definition at line 57 of file kernel/types.h.
Referenced by ObjectManager::device_update_object_transform(), and LightManager::device_update_tree().
| #define LIGHTGROUP_NONE (~0) |
Definition at line 55 of file kernel/types.h.
Referenced by LightManager::device_update_lights(), ObjectManager::device_update_object_transform(), film_write_direct_light(), film_write_emission_or_background_pass(), lamp_lightgroup(), and object_lightgroup().
| #define LOCAL_MAX_HITS 4 |
Definition at line 44 of file kernel/types.h.
| #define MAX_CLOSURE 64 |
Definition at line 938 of file kernel/types.h.
Referenced by Scene::get_max_closure_count(), and Scene::update_kernel_features().
| #define MAX_TAB_SOBOL_SAMPLES 8192 |
Definition at line 1802 of file kernel/types.h.
| #define MAX_VOLUME_CLOSURE 8 |
Definition at line 960 of file kernel/types.h.
| #define MAX_VOLUME_STACK_SIZE 32 |
Definition at line 955 of file kernel/types.h.
Referenced by ShaderGraph::get_num_closures(), Scene::get_volume_stack_size(), and integrator_volume_stack_update_for_subsurface().
| #define MIN_TAB_SOBOL_SAMPLES 256 |
Definition at line 1801 of file kernel/types.h.
| #define NUM_TAB_SOBOL_DIMENSIONS 4 |
Definition at line 1803 of file kernel/types.h.
Referenced by tabulated_sobol_sample_1D(), tabulated_sobol_sample_2D(), tabulated_sobol_sample_3D(), and tabulated_sobol_sample_4D().
| #define NUM_TAB_SOBOL_PATTERNS 256 |
Definition at line 1804 of file kernel/types.h.
Referenced by tabulated_sobol_shuffled_sample_index().
| #define OBJECT_MOTION_PASS_SIZE 2 |
Definition at line 36 of file kernel/types.h.
Referenced by ObjectManager::device_update_object_transform(), ObjectManager::device_update_transforms(), and object_fetch_motion_pass_transform().
| #define OBJECT_NONE (~0) |
Definition at line 49 of file kernel/types.h.
Referenced by BVH(), BVH(), BVH(), BVH(), camera_world_to_ndc(), LightManager::device_update_distribution(), GeometryManager::displace(), find_attribute(), OSLRenderServices::get_background_attribute(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), integrate_surface_direct_light(), integrate_surface_ray_portal(), integrator_intersect_closest(), integrator_volume_stack_update_for_subsurface(), is_mesh(), is_triangle(), light_link_light_match(), light_link_object_match(), light_link_receiver_forward(), light_link_receiver_nee(), light_tree_leaf_emitters_copy_and_flatten(), light_tree_root_node_index(), lights_intersect_impl(), object_alpha(), object_color(), object_cryptomatte_asset_id(), object_cryptomatte_id(), object_dupli_generated(), object_dupli_uv(), object_inverse_normal_transform(), object_lightgroup(), object_location(), object_normal_transform(), object_particle_id(), object_pass_id(), object_patch_map_offset(), object_random_number(), object_volume_density(), object_volume_step_size(), osl_eval_nodes< SHADER_TYPE_SURFACE >(), osl_get_inverse_matrix(), osl_get_matrix(), path_state_init_integrator(), scene_intersect(), shade_background_pixels(), shader_setup_from_background(), shader_setup_from_sample(), shadow_ray_setup(), surface_shader_eval(), svm_node_attr(), svm_node_attr_bump_dx(), svm_node_attr_bump_dy(), svm_node_attr_init(), svm_node_normal_map(), svm_node_tex_coord(), svm_node_tex_coord_bump_dx(), svm_node_tex_coord_bump_dy(), svm_node_vector_transform(), OSLRenderServices::trace(), and Hair::update_shadow_transparency().
| #define PASS_ANY (~0) |
Definition at line 574 of file kernel/types.h.
Referenced by film_write_data_passes(), film_write_data_passes_background(), film_write_direct_light(), and film_write_emission_or_background_pass().
Definition at line 491 of file kernel/types.h.
| #define PASS_UNUSED (~0) |
Definition at line 54 of file kernel/types.h.
Referenced by DenoiserGPU::denoise_pass(), exr_channel_names_for_passes(), film_adaptive_sampling_convergence_check(), film_adaptive_sampling_filter_x(), film_adaptive_sampling_filter_y(), film_apply_pass_pixel_overlays_rgba(), film_calculate_shadow_catcher(), film_calculate_shadow_catcher_denoised(), film_calculate_shadow_catcher_matte_with_shadow(), film_get_pass_pixel_combined(), film_get_pass_pixel_cryptomatte(), film_get_pass_pixel_depth(), film_get_pass_pixel_float(), film_get_pass_pixel_float3(), film_get_pass_pixel_float4(), film_get_pass_pixel_light_path(), film_get_pass_pixel_mist(), film_get_pass_pixel_motion(), film_get_pass_pixel_sample_count(), film_get_scale(), film_get_scale_and_scale_exposure(), film_get_scale_exposure(), film_need_sample_pixel(), film_write_adaptive_buffer(), film_write_direct_light(), film_write_emission_or_background_pass(), film_write_sample(), PathTraceWork::get_display_pass_access_info(), Pass::get_offset(), BufferParams::get_pass_offset(), guiding_write_debug_passes(), integrator_init_from_bake(), render_buffers_host_copy_denoised(), BufferParams::reset_pass_offset(), PathTraceTile::set_pass_pixels(), PathTrace::tile_buffer_write_to_disk(), BufferParams::update_passes(), and BufferParams::update_passes().
| #define PASSMASK | ( | pass | ) | (1 << ((PASS_NAME_JOIN(PASS, pass)) % 32)) |
Definition at line 492 of file kernel/types.h.
Referenced by film_write_combined_pass(), film_write_combined_transparent_pass(), film_write_data_passes(), film_write_data_passes_background(), film_write_transparent(), and integrate_background().
| #define PATCH_MAP_NODE_INDEX_MASK (~(PATCH_MAP_NODE_IS_SET | PATCH_MAP_NODE_IS_LEAF)) |
Definition at line 1765 of file kernel/types.h.
Referenced by patch_map_find_patch().
| #define PATCH_MAP_NODE_IS_LEAF (1u << 31) |
Definition at line 1764 of file kernel/types.h.
Referenced by patch_map_find_patch().
| #define PATCH_MAP_NODE_IS_SET (1 << 30) |
Definition at line 1763 of file kernel/types.h.
Referenced by patch_map_find_patch().
| #define PATCH_MAX_CONTROL_VERTS 16 |
Definition at line 1759 of file kernel/types.h.
Referenced by patch_eval_float(), patch_eval_float2(), patch_eval_float3(), patch_eval_float4(), and patch_eval_uchar4().
| #define PRIM_NONE (~0) |
Definition at line 50 of file kernel/types.h.
Referenced by BVH(), camera_world_to_ndc(), distant_light_sample_from_intersection(), find_attribute(), integrate_surface_direct_light(), integrator_intersect_closest(), integrator_intersect_next_kernel_after_volume(), integrator_shade_volume(), integrator_volume_stack_update_for_subsurface(), light_sample(), light_sample_shader_eval(), lights_intersect(), lights_intersect_impl(), path_state_init_integrator(), scene_intersect(), shade_background_pixels(), shader_setup_from_background(), shader_setup_from_sample(), shadow_ray_setup(), subd_triangle_patch(), OSLRenderServices::trace(), and wireframe().
| #define PRIMITIVE_INDEX | ( | type | ) | (bitscan((uint32_t)(type)) * 2 + (((type) & PRIMITIVE_MOTION) ? 1 : 0)) |
Definition at line 838 of file kernel/types.h.
Referenced by BVHBuild::create_leaf_node().
| #define PRIMITIVE_PACK_SEGMENT | ( | type, | |
| segment ) ((segment << PRIMITIVE_NUM_BITS) | (type)) |
Definition at line 842 of file kernel/types.h.
Referenced by BVHBuild::add_reference_curves(), and Hair::pack_curves().
| #define PRIMITIVE_UNPACK_SEGMENT | ( | type | ) | (type >> PRIMITIVE_NUM_BITS) |
Definition at line 843 of file kernel/types.h.
Referenced by BVHUnaligned::compute_aligned_prim_boundbox(), BVHUnaligned::compute_aligned_space(), intersection_curve_shadow_transparency(), osl_closure_hair_huang_setup(), BVH2::refit_primitives(), BVHSpatialSplit::split_curve_reference(), and svm_node_closure_bsdf().
| #define RAMP_TABLE_SIZE 256 |
Definition at line 38 of file kernel/types.h.
Referenced by add_node(), blender_camera_from_view(), Camera::Camera(), and BlenderSync::sync_camera().
| #define SHADER_CLOSURE_BASE |
Definition at line 974 of file kernel/types.h.
| #define SHADER_CLOSURE_VOLUME_BASE |
Definition at line 984 of file kernel/types.h.
| #define SHADER_NONE (~0) |
Definition at line 48 of file kernel/types.h.
Referenced by integrator_intersect_next_kernel(), and path_state_init_integrator().
| #define SHADOW_CATCHER_OBJECT_VISIBILITY | ( | is_shadow_catcher, | |
| visibility ) (((is_shadow_catcher) ? SHADOW_CATCHER_VISIBILITY_SHIFT(visibility) : 0) | (visibility)) |
Definition at line 470 of file kernel/types.h.
Referenced by Object::visibility_for_tracing().
| #define SHADOW_CATCHER_PATH_VISIBILITY | ( | path_flag, | |
| visibility ) |
Definition at line 466 of file kernel/types.h.
Referenced by integrate_intersect_shadow_visibility(), integrator_volume_stack_update_for_subsurface(), and path_state_ray_visibility().
| #define SHADOW_CATCHER_VISIBILITY_SHIFT | ( | visibility | ) | ((visibility) << 16) |
Definition at line 464 of file kernel/types.h.
Referenced by integrate_intersect_shadow_opaque().
| #define SHUTTER_TABLE_SIZE 256 |
Definition at line 39 of file kernel/types.h.
Referenced by camera_sample().
| #define VOLUME_BOUNDS_MAX 1024 |
Definition at line 46 of file kernel/types.h.
| typedef struct AttributeDescriptor AttributeDescriptor |
| typedef enum AttributeElement AttributeElement |
| typedef enum AttributeFlag AttributeFlag |
| typedef struct AttributeMap AttributeMap |
| typedef enum AttributePrimitive AttributePrimitive |
| typedef enum AttributeStandard AttributeStandard |
| using BoundingBox |
Definition at line 1645 of file kernel/types.h.
| using BoundingCone |
Definition at line 1650 of file kernel/types.h.
| typedef struct BsdfEval BsdfEval |
| typedef enum ClosureLabel ClosureLabel |
| typedef enum CryptomatteType CryptomatteType |
| typedef enum CurveShapeType CurveShapeType |
| typedef enum DeviceKernel DeviceKernel |
| typedef struct differential differential |
| typedef struct differential3 differential3 |
| typedef enum FilterClosures FilterClosures |
| typedef enum GuidingDistributionType GuidingDistributionType |
| typedef struct Intersection Intersection |
| typedef struct KernelAreaLight KernelAreaLight |
| typedef struct KernelBake KernelBake |
| typedef enum KernelBVHLayout KernelBVHLayout |
| typedef struct KernelCamera KernelCamera |
| typedef struct KernelCurve KernelCurve |
| typedef struct KernelCurveSegment KernelCurveSegment |
| typedef struct KernelDistantLight KernelDistantLight |
| typedef struct KernelFilmConvert KernelFilmConvert |
| typedef struct KernelLight KernelLight |
| typedef struct KernelLightDistribution KernelLightDistribution |
| typedef struct KernelLightLinkSet KernelLightLinkSet |
| typedef struct KernelLightTreeEmitter KernelLightTreeEmitter |
| typedef struct KernelLightTreeNode KernelLightTreeNode |
| typedef struct KernelObject KernelObject |
| typedef struct KernelParticle KernelParticle |
| typedef struct KernelShader KernelShader |
| typedef struct KernelShaderEvalInput KernelShaderEvalInput |
| typedef struct KernelSpotLight KernelSpotLight |
| typedef struct KernelTables KernelTables |
| typedef struct KernelWorkTile KernelWorkTile |
| typedef struct LocalIntersection LocalIntersection |
| using MeshLight |
Definition at line 1632 of file kernel/types.h.
| typedef enum PrimitiveType PrimitiveType |
| typedef struct Ray Ray |
| typedef struct RaySelfPrimitives RaySelfPrimitives |
| typedef enum ShaderFlag ShaderFlag |
| typedef struct ShaderVolumeClosure ShaderVolumeClosure |
| typedef struct ShaderVolumePhases ShaderVolumePhases |
| typedef struct VolumeStack VolumeStack |
| anonymous enum |
| Enumerator | |
|---|---|
| DEVICE_KERNEL_INTEGRATOR_NUM | |
Definition at line 1886 of file kernel/types.h.
| enum AttributeElement |
Definition at line 861 of file kernel/types.h.
| enum AttributeFlag |
| Enumerator | |
|---|---|
| ATTR_FINAL_SIZE | |
| ATTR_SUBDIVIDED | |
Definition at line 914 of file kernel/types.h.
| enum AttributePrimitive |
| Enumerator | |
|---|---|
| ATTR_PRIM_GEOMETRY | |
| ATTR_PRIM_SUBD | |
| ATTR_PRIM_TYPES | |
Definition at line 854 of file kernel/types.h.
| enum AttributeStandard |
Definition at line 876 of file kernel/types.h.
| enum CameraType |
| Enumerator | |
|---|---|
| CAMERA_PERSPECTIVE | |
| CAMERA_ORTHOGRAPHIC | |
| CAMERA_PANORAMA | |
Definition at line 665 of file kernel/types.h.
| enum ClosureLabel |
| Enumerator | |
|---|---|
| LABEL_NONE | |
| LABEL_TRANSMIT | |
| LABEL_REFLECT | |
| LABEL_DIFFUSE | |
| LABEL_GLOSSY | |
| LABEL_SINGULAR | |
| LABEL_TRANSPARENT | |
| LABEL_VOLUME_SCATTER | |
| LABEL_TRANSMIT_TRANSPARENT | |
| LABEL_SUBSURFACE_SCATTER | |
| LABEL_RAY_PORTAL | |
Definition at line 475 of file kernel/types.h.
| enum CryptomatteType |
| Enumerator | |
|---|---|
| CRYPT_NONE | |
| CRYPT_OBJECT | |
| CRYPT_MATERIAL | |
| CRYPT_ASSET | |
| CRYPT_ACCURATE | |
Definition at line 576 of file kernel/types.h.
| enum CurveShapeType |
| Enumerator | |
|---|---|
| CURVE_RIBBON | |
| CURVE_THICK | |
| CURVE_NUM_SHAPE_TYPES | |
Definition at line 845 of file kernel/types.h.
| enum DeviceKernel : int |
Definition at line 1815 of file kernel/types.h.
| Enumerator | |
|---|---|
| DIRECT_LIGHT_SAMPLING_MIS | |
| DIRECT_LIGHT_SAMPLING_FORWARD | |
| DIRECT_LIGHT_SAMPLING_NEE | |
| DIRECT_LIGHT_SAMPLING_NUM | |
Definition at line 694 of file kernel/types.h.
| enum EmissionSampling |
| Enumerator | |
|---|---|
| EMISSION_SAMPLING_NONE | |
| EMISSION_SAMPLING_AUTO | |
| EMISSION_SAMPLING_FRONT | |
| EMISSION_SAMPLING_BACK | |
| EMISSION_SAMPLING_FRONT_BACK | |
| EMISSION_SAMPLING_NUM | |
Definition at line 622 of file kernel/types.h.
| enum FilterClosures |
| Enumerator | |
|---|---|
| FILTER_CLOSURE_EMISSION | |
| FILTER_CLOSURE_DIFFUSE | |
| FILTER_CLOSURE_GLOSSY | |
| FILTER_CLOSURE_TRANSMISSION | |
| FILTER_CLOSURE_TRANSPARENT | |
| FILTER_CLOSURE_DIRECT_LIGHT | |
Definition at line 592 of file kernel/types.h.
| Enumerator | |
|---|---|
| GUIDING_DIRECTIONAL_SAMPLING_TYPE_PRODUCT_MIS | |
| GUIDING_DIRECTIONAL_SAMPLING_TYPE_RIS | |
| GUIDING_DIRECTIONAL_SAMPLING_TYPE_ROUGHNESS | |
| GUIDING_DIRECTIONAL_SAMPLING_NUM_TYPES | |
Definition at line 655 of file kernel/types.h.
| Enumerator | |
|---|---|
| GUIDING_TYPE_PARALLAX_AWARE_VMM | |
| GUIDING_TYPE_DIRECTIONAL_QUAD_TREE | |
| GUIDING_TYPE_VMM | |
| GUIDING_NUM_TYPES | |
Definition at line 645 of file kernel/types.h.
| enum KernelBVHLayout |
Definition at line 1401 of file kernel/types.h.
| enum LightTreeNodeType : uint8_t |
| Enumerator | |
|---|---|
| LIGHT_TREE_INSTANCE | |
| LIGHT_TREE_INNER | |
| LIGHT_TREE_LEAF | |
| LIGHT_TREE_DISTANT | |
Definition at line 1656 of file kernel/types.h.
| enum LightType |
| Enumerator | |
|---|---|
| LIGHT_POINT | |
| LIGHT_DISTANT | |
| LIGHT_BACKGROUND | |
| LIGHT_AREA | |
| LIGHT_SPOT | |
| LIGHT_TRIANGLE | |
Definition at line 634 of file kernel/types.h.
| enum MotionPosition |
| Enumerator | |
|---|---|
| MOTION_POSITION_START | |
| MOTION_POSITION_CENTER | |
| MOTION_POSITION_END | |
| MOTION_NUM_POSITIONS | |
Definition at line 681 of file kernel/types.h.
| enum PanoramaType |
Definition at line 669 of file kernel/types.h.
| enum PassType |
Definition at line 495 of file kernel/types.h.
| enum PathRayFlag : uint32_t |
Definition at line 341 of file kernel/types.h.
| enum PathRayMNEE |
| Enumerator | |
|---|---|
| PATH_MNEE_NONE | |
| PATH_MNEE_VALID | |
| PATH_MNEE_RECEIVER_ANCESTOR | |
| PATH_MNEE_CULL_LIGHT_CONNECTION | |
Definition at line 450 of file kernel/types.h.
| enum PathTraceDimension |
Definition at line 283 of file kernel/types.h.
| enum PrimitiveType |
Definition at line 812 of file kernel/types.h.
| enum SamplingPattern |
Definition at line 327 of file kernel/types.h.
| enum ShaderDataFlag |
Definition at line 1005 of file kernel/types.h.
| enum ShaderDataObjectFlag |
Definition at line 1084 of file kernel/types.h.
| enum ShaderFlag |
Definition at line 603 of file kernel/types.h.
| struct ccl_align | ( | 16 | ) |
Definition at line 33 of file kernel/types.h.
| static_assert_align | ( | KernelBake | , |
| 16 | ) |
| static_assert_align | ( | KernelCamera | , |
| 16 | ) |
| static_assert_align | ( | KernelCurve | , |
| 16 | ) |
| static_assert_align | ( | KernelCurveSegment | , |
| 8 | ) |
| static_assert_align | ( | KernelData | , |
| 16 | ) |
| static_assert_align | ( | KernelFilmConvert | , |
| 16 | ) |
| static_assert_align | ( | KernelLight | , |
| 16 | ) |
| static_assert_align | ( | KernelLightDistribution | , |
| 16 | ) |
| static_assert_align | ( | KernelLightTreeEmitter | , |
| 16 | ) |
| static_assert_align | ( | KernelLightTreeNode | , |
| 16 | ) |
| static_assert_align | ( | KernelObject | , |
| 16 | ) |
| static_assert_align | ( | KernelParticle | , |
| 16 | ) |
| static_assert_align | ( | KernelShader | , |
| 16 | ) |
| static_assert_align | ( | KernelShaderEvalInput | , |
| 16 | ) |
| static_assert_align | ( | KernelTables | , |
| 16 | ) |
| KernelData |
Definition at line 1509 of file kernel/types.h.
Referenced by CPUDevice::const_copy_to(), and kernel_const_copy().
| ShaderClosure |
Definition at line 997 of file kernel/types.h.
Referenced by _surface_shader_bsdf_eval_mis(), bsdf_alloc(), bsdf_transparent_setup(), closure_alloc(), closure_alloc_extra(), guiding_write_debug_passes(), integrate_surface_bsdf_bssrdf_bounce(), integrate_surface_ray_portal(), osl_closure_dielectric_bsdf_setup(), osl_closure_generalized_schlick_bsdf_setup(), osl_closure_holdout_setup(), osl_closure_microfacet_multi_ggx_aniso_setup(), osl_closure_microfacet_setup(), precompute_ggx_E(), precompute_ggx_gen_schlick_s(), precompute_ggx_glass_E(), surface_shader_ao(), surface_shader_apply_holdout(), surface_shader_average_normal(), surface_shader_average_roughness(), surface_shader_bsdf_bssrdf_pick(), surface_shader_bsdf_eval_pdfs(), surface_shader_bssrdf_sample_weight(), surface_shader_diffuse(), surface_shader_glossy(), surface_shader_prepare_closures(), surface_shader_transmission(), svm_node_closure_bsdf(), and svm_node_closure_holdout().
| ShaderData |
Definition at line 1210 of file kernel/types.h.
Referenced by OSLRenderServices::environment(), OSLRenderServices::get_attribute(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::getmessage(), integrate_distant_lights(), integrate_light(), integrate_surface(), integrate_surface_direct_light(), integrator_eval_background_shader(), integrator_volume_stack_update_for_subsurface(), kernel_background_evaluate(), kernel_curve_shadow_transparency_evaluate(), kernel_displace_evaluate(), osl_add_closure_closure(), osl_allocate_closure_component(), osl_allocate_weighted_closure_component(), osl_get_attribute(), osl_get_inverse_matrix(), osl_get_matrix(), osl_mul_closure_color(), osl_mul_closure_float(), OSLRenderServices::texture(), OSLRenderServices::texture3d(), and OSLRenderServices::trace().
| ShaderDataCausticsStorage |
Definition at line 1226 of file kernel/types.h.
Referenced by integrate_surface_direct_light().
| ShaderDataTinyStorage |
Definition at line 1218 of file kernel/types.h.
Referenced by integrate_distant_lights(), integrate_light(), integrator_eval_background_shader(), and integrator_volume_stack_update_for_subsurface().