|
Blender V4.5
|
#include "kernel/device/cpu/compat.h"#include "util/projection.h"#include "util/static_assert.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 | KernelBoundingBox |
| struct | KernelBoundingCone |
| struct | KernelLightTreeNode |
| struct | KernelLightTreeEmitter |
| struct | KernelParticle |
| struct | KernelShader |
| struct | KernelWorkTile |
| struct | KernelShaderEvalInput |
Typedefs | |
| using | ShaderDataTinyStorage = ShaderData |
| using | ShaderDataCausticsStorage = ShaderData |
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) | |
| #define __AO__ |
Definition at line 171 of file device/cpu/globals.h.
| #define __BVH_LOCAL__ |
Definition at line 270 of file device/cpu/globals.h.
| #define __CAUSTICS_TRICKS__ |
Definition at line 172 of file device/cpu/globals.h.
| #define __CLAMP_SAMPLE__ |
Definition at line 173 of file device/cpu/globals.h.
| #define __DENOISING_FEATURES__ |
Definition at line 174 of file device/cpu/globals.h.
| #define __DPDU__ |
Definition at line 175 of file device/cpu/globals.h.
| #define __HAIR__ |
Definition at line 176 of file device/cpu/globals.h.
| #define __LIGHT_LINKING__ |
Definition at line 177 of file device/cpu/globals.h.
| #define __LIGHT_TREE__ |
Definition at line 179 of file device/cpu/globals.h.
| #define __MNEE__ |
Definition at line 181 of file device/cpu/globals.h.
| #define __OBJECT_MOTION__ |
Definition at line 180 of file device/cpu/globals.h.
| #define __PASSES__ |
Definition at line 182 of file device/cpu/globals.h.
| #define __POINTCLOUD__ |
Definition at line 183 of file device/cpu/globals.h.
| #define __PRINCIPLED_HAIR__ |
Definition at line 184 of file device/cpu/globals.h.
| #define __RAY_DIFFERENTIALS__ |
Definition at line 185 of file device/cpu/globals.h.
| #define __SHADER_RAYTRACE__ |
Definition at line 186 of file device/cpu/globals.h.
| #define __SHADOW_CATCHER__ |
Definition at line 187 of file device/cpu/globals.h.
| #define __SHADOW_LINKING__ |
Definition at line 178 of file device/cpu/globals.h.
| #define __SHADOW_RECORD_ALL__ |
Definition at line 188 of file device/cpu/globals.h.
| #define __SUBSURFACE__ |
Definition at line 189 of file device/cpu/globals.h.
| #define __SVM__ |
Definition at line 190 of file device/cpu/globals.h.
| #define __TRANSPARENT_SHADOWS__ |
Definition at line 191 of file device/cpu/globals.h.
| #define __VISIBILITY_FLAG__ |
Definition at line 192 of file device/cpu/globals.h.
| #define __VOLUME__ |
Definition at line 193 of file device/cpu/globals.h.
| #define __VOLUME_RECORD_ALL__ |
Definition at line 207 of file device/cpu/globals.h.
| #define AS_SHADER_DATA | ( | shader_data_tiny_storage | ) |
Definition at line 1213 of file device/cpu/globals.h.
| #define BSSRDF_MAX_BOUNCES 256 |
Definition at line 39 of file device/cpu/globals.h.
| #define BSSRDF_MAX_HITS 4 |
Definition at line 38 of file device/cpu/globals.h.
| #define BSSRDF_MIN_RADIUS 1e-8f |
Definition at line 37 of file device/cpu/globals.h.
| #define CAUSTICS_MAX_CLOSURE 4 |
Definition at line 940 of file device/cpu/globals.h.
| #define DECLARE_FILM_CONVERT_KERNEL | ( | variant | ) |
Definition at line 1838 of file device/cpu/globals.h.
| #define EMITTER_NONE (~0) |
Definition at line 48 of file device/cpu/globals.h.
| #define FILTER_TABLE_SIZE 1024 |
Definition at line 33 of file device/cpu/globals.h.
| #define ID_NONE (0.0f) |
Definition at line 49 of file device/cpu/globals.h.
| #define IF_KERNEL_FEATURE | ( | feature | ) |
Definition at line 160 of file device/cpu/globals.h.
| #define IF_KERNEL_NODES_FEATURE | ( | feature | ) |
Definition at line 161 of file device/cpu/globals.h.
| #define INTEGRATOR_SHADOW_ISECT_SIZE INTEGRATOR_SHADOW_ISECT_SIZE_CPU |
Definition at line 62 of file device/cpu/globals.h.
| #define INTEGRATOR_SHADOW_ISECT_SIZE_CPU 1024U |
Definition at line 56 of file device/cpu/globals.h.
| #define INTEGRATOR_SHADOW_ISECT_SIZE_GPU 4U |
Definition at line 57 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_AO (KERNEL_FEATURE_AO_PASS | KERNEL_FEATURE_AO_ADDITIVE) |
Definition at line 113 of file device/cpu/globals.h.
Definition at line 112 of file device/cpu/globals.h.
Definition at line 111 of file device/cpu/globals.h.
Definition at line 93 of file device/cpu/globals.h.
Definition at line 130 of file device/cpu/globals.h.
Definition at line 88 of file device/cpu/globals.h.
Definition at line 89 of file device/cpu/globals.h.
Definition at line 126 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_LIGHT_PASSES (1U << 20U) |
Definition at line 108 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_LIGHT_TREE (1U << 30U) |
Definition at line 133 of file device/cpu/globals.h.
Definition at line 116 of file device/cpu/globals.h.
Definition at line 79 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_BSDF (1U << 0U) |
Definition at line 72 of file device/cpu/globals.h.
Definition at line 75 of file device/cpu/globals.h.
Definition at line 76 of file device/cpu/globals.h.
Definition at line 73 of file device/cpu/globals.h.
Definition at line 80 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_BUMP KERNEL_FEATURE_NODE_MASK_DISPLACEMENT |
Definition at line 154 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_DISPLACEMENT (KERNEL_FEATURE_NODE_VORONOI_EXTRA | KERNEL_FEATURE_NODE_BUMP | KERNEL_FEATURE_NODE_BUMP_STATE) |
Definition at line 152 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_SURFACE |
Definition at line 146 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_BACKGROUND (KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT | KERNEL_FEATURE_NODE_AOV) |
Definition at line 140 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_LIGHT |
Definition at line 137 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_SURFACE_SHADOW |
Definition at line 142 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_NODE_MASK_VOLUME |
Definition at line 149 of file device/cpu/globals.h.
Definition at line 81 of file device/cpu/globals.h.
Definition at line 78 of file device/cpu/globals.h.
Definition at line 74 of file device/cpu/globals.h.
Definition at line 77 of file device/cpu/globals.h.
Definition at line 90 of file device/cpu/globals.h.
Definition at line 123 of file device/cpu/globals.h.
Definition at line 122 of file device/cpu/globals.h.
Definition at line 119 of file device/cpu/globals.h.
| #define KERNEL_FEATURE_PATH_TRACING (1U << 10U) |
Definition at line 84 of file device/cpu/globals.h.
Definition at line 87 of file device/cpu/globals.h.
Definition at line 105 of file device/cpu/globals.h.
Definition at line 127 of file device/cpu/globals.h.
Definition at line 96 of file device/cpu/globals.h.
Definition at line 102 of file device/cpu/globals.h.
Definition at line 99 of file device/cpu/globals.h.
| #define KERNEL_STRUCT_BEGIN | ( | name, | |
| parent ) |
Definition at line 1413 of file device/cpu/globals.h.
| #define KERNEL_STRUCT_BEGIN | ( | name, | |
| parent ) |
Definition at line 1413 of file device/cpu/globals.h.
| #define KERNEL_STRUCT_END | ( | name | ) |
Definition at line 1416 of file device/cpu/globals.h.
| #define KERNEL_STRUCT_MEMBER | ( | parent, | |
| type, | |||
| name ) |
Definition at line 1424 of file device/cpu/globals.h.
| #define KERNEL_STRUCT_MEMBER_DONT_SPECIALIZE |
| #define LAMP_NONE (~0) |
Definition at line 47 of file device/cpu/globals.h.
| #define LIGHT_LINK_MASK_ALL (~uint64_t(0)) |
Definition at line 54 of file device/cpu/globals.h.
| #define LIGHT_LINK_SET_MAX 64 |
Definition at line 53 of file device/cpu/globals.h.
| #define LIGHTGROUP_NONE (~0) |
Definition at line 51 of file device/cpu/globals.h.
| #define LOCAL_MAX_HITS 4 |
Definition at line 40 of file device/cpu/globals.h.
| #define MAX_CLOSURE 64 |
Definition at line 929 of file device/cpu/globals.h.
| #define MAX_TAB_SOBOL_SAMPLES 8192 |
Definition at line 1787 of file device/cpu/globals.h.
| #define MAX_VOLUME_CLOSURE 8 |
Definition at line 951 of file device/cpu/globals.h.
| #define MAX_VOLUME_STACK_SIZE 32 |
Definition at line 946 of file device/cpu/globals.h.
| #define MIN_TAB_SOBOL_SAMPLES 256 |
Definition at line 1786 of file device/cpu/globals.h.
| #define NUM_TAB_SOBOL_DIMENSIONS 4 |
Definition at line 1788 of file device/cpu/globals.h.
| #define NUM_TAB_SOBOL_PATTERNS 256 |
Definition at line 1789 of file device/cpu/globals.h.
| #define OBJECT_MOTION_PASS_SIZE 2 |
Definition at line 32 of file device/cpu/globals.h.
| #define OBJECT_NONE (~0) |
Definition at line 45 of file device/cpu/globals.h.
| #define PASS_ANY (~0) |
Definition at line 567 of file device/cpu/globals.h.
| #define PASS_NAME_JOIN | ( | a, | |
| b ) |
Definition at line 484 of file device/cpu/globals.h.
| #define PASS_UNUSED (~0) |
Definition at line 50 of file device/cpu/globals.h.
| #define PASSMASK | ( | pass | ) |
Definition at line 485 of file device/cpu/globals.h.
| #define PATCH_MAP_NODE_INDEX_MASK (~(PATCH_MAP_NODE_IS_SET | PATCH_MAP_NODE_IS_LEAF)) |
Definition at line 1748 of file device/cpu/globals.h.
| #define PATCH_MAP_NODE_IS_LEAF (1u << 31) |
Definition at line 1747 of file device/cpu/globals.h.
| #define PATCH_MAP_NODE_IS_SET (1 << 30) |
Definition at line 1746 of file device/cpu/globals.h.
| #define PATCH_MAX_CONTROL_VERTS 16 |
Definition at line 1742 of file device/cpu/globals.h.
| #define PRIM_NONE (~0) |
Definition at line 46 of file device/cpu/globals.h.
| #define PRIMITIVE_INDEX | ( | type | ) |
Definition at line 830 of file device/cpu/globals.h.
| #define PRIMITIVE_PACK_SEGMENT | ( | type, | |
| segment ) |
Definition at line 834 of file device/cpu/globals.h.
| #define PRIMITIVE_UNPACK_SEGMENT | ( | type | ) |
Definition at line 835 of file device/cpu/globals.h.
| #define RAMP_TABLE_SIZE 256 |
Definition at line 34 of file device/cpu/globals.h.
| #define SHADER_CLOSURE_BASE |
Definition at line 965 of file device/cpu/globals.h.
| #define SHADER_CLOSURE_VOLUME_BASE |
Definition at line 975 of file device/cpu/globals.h.
| #define SHADER_NODE_TYPE | ( | type | ) |
| #define SHADER_NONE (~0) |
Definition at line 44 of file device/cpu/globals.h.
| #define SHADOW_CATCHER_OBJECT_VISIBILITY | ( | is_shadow_catcher, | |
| visibility ) |
Definition at line 463 of file device/cpu/globals.h.
| #define SHADOW_CATCHER_PATH_VISIBILITY | ( | path_flag, | |
| visibility ) |
Definition at line 459 of file device/cpu/globals.h.
| #define SHADOW_CATCHER_VISIBILITY_SHIFT | ( | visibility | ) |
Definition at line 457 of file device/cpu/globals.h.
| #define SHUTTER_TABLE_SIZE 256 |
Definition at line 35 of file device/cpu/globals.h.
| #define VOLUME_BOUNDS_MAX 1024 |
Definition at line 42 of file device/cpu/globals.h.
| using ShaderDataCausticsStorage = ShaderData |
Definition at line 1210 of file kernel/types.h.
| using ShaderDataTinyStorage = ShaderData |
Definition at line 1209 of file kernel/types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| DEVICE_KERNEL_INTEGRATOR_NUM | |
Definition at line 1872 of file kernel/types.h.
| enum AttributeElement |
Definition at line 853 of file kernel/types.h.
| enum AttributeFlag |
| Enumerator | |
|---|---|
| ATTR_SUBDIVIDE_SMOOTH_FVAR | |
Definition at line 906 of file kernel/types.h.
| enum AttributePrimitive |
| Enumerator | |
|---|---|
| ATTR_PRIM_GEOMETRY | |
| ATTR_PRIM_SUBD | |
| ATTR_PRIM_TYPES | |
Definition at line 846 of file kernel/types.h.
| enum AttributeStandard |
Definition at line 868 of file kernel/types.h.
| enum CameraType |
| Enumerator | |
|---|---|
| CAMERA_PERSPECTIVE | |
| CAMERA_ORTHOGRAPHIC | |
| CAMERA_PANORAMA | |
| CAMERA_CUSTOM | |
Definition at line 658 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 468 of file kernel/types.h.
| enum CryptomatteType |
| Enumerator | |
|---|---|
| CRYPT_NONE | |
| CRYPT_OBJECT | |
| CRYPT_MATERIAL | |
| CRYPT_ASSET | |
| CRYPT_ACCURATE | |
Definition at line 569 of file kernel/types.h.
| enum CurveShapeType |
| Enumerator | |
|---|---|
| CURVE_RIBBON | |
| CURVE_THICK | |
| CURVE_NUM_SHAPE_TYPES | |
Definition at line 837 of file kernel/types.h.
| enum DeviceKernel : int |
Definition at line 1801 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 687 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 615 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 585 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 648 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 638 of file kernel/types.h.
| enum KernelBVHLayout |
Definition at line 1386 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 1636 of file kernel/types.h.
| enum LightType |
| Enumerator | |
|---|---|
| LIGHT_POINT | |
| LIGHT_DISTANT | |
| LIGHT_BACKGROUND | |
| LIGHT_AREA | |
| LIGHT_SPOT | |
| LIGHT_TRIANGLE | |
Definition at line 627 of file kernel/types.h.
| enum MotionPosition |
| Enumerator | |
|---|---|
| MOTION_POSITION_START | |
| MOTION_POSITION_CENTER | |
| MOTION_POSITION_END | |
| MOTION_NUM_POSITIONS | |
Definition at line 674 of file kernel/types.h.
| enum PanoramaType |
Definition at line 662 of file kernel/types.h.
| enum PassType |
Definition at line 488 of file kernel/types.h.
| enum PathRayFlag : uint32_t |
Definition at line 334 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 443 of file kernel/types.h.
| enum PathTraceDimension |
Definition at line 276 of file kernel/types.h.
| enum PrimitiveType |
Definition at line 804 of file kernel/types.h.
| enum SamplingPattern |
Definition at line 320 of file kernel/types.h.
| enum ShaderDataFlag |
Definition at line 995 of file kernel/types.h.
| enum ShaderDataObjectFlag |
Definition at line 1077 of file kernel/types.h.
| enum ShaderFlag |
Definition at line 596 of file kernel/types.h.
| struct ccl_align | ( | 16 | ) |
Definition at line 27 of file kernel/types.h.
| static_assert_align | ( | KernelBake | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelCamera | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelCurve | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelCurveSegment | , |
| 8 | ) |
References static_assert_align.
| static_assert_align | ( | KernelData | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelFilmConvert | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelLight | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelLightDistribution | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelLightTreeEmitter | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelLightTreeNode | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelObject | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelParticle | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelShader | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelShaderEvalInput | , |
| 16 | ) |
References static_assert_align.
| static_assert_align | ( | KernelTables | , |
| 16 | ) |
References static_assert_align.