Blender
V3.3
|
#include <OSL/oslexec.h>
#include "kernel/device/cpu/compat.h"
#include "kernel/device/cpu/globals.h"
#include "kernel/types.h"
#include "kernel/geom/object.h"
#include "kernel/integrator/state.h"
#include "kernel/osl/closures.h"
#include "kernel/osl/globals.h"
#include "kernel/osl/services.h"
#include "kernel/osl/shader.h"
#include "kernel/util/differential.h"
#include "scene/attribute.h"
Go to the source code of this file.
Functions | |
static void | shaderdata_to_shaderglobals (const KernelGlobalsCPU *kg, ShaderData *sd, const void *state, uint32_t path_flag, OSLThreadData *tdata) |
static void | flatten_surface_closure_tree (ShaderData *sd, uint32_t path_flag, const OSL::ClosureColor *closure, float3 weight=make_float3(1.0f, 1.0f, 1.0f)) |
static void | flatten_background_closure_tree (ShaderData *sd, const OSL::ClosureColor *closure, float3 weight=make_float3(1.0f, 1.0f, 1.0f)) |
static void | flatten_volume_closure_tree (ShaderData *sd, const OSL::ClosureColor *closure, float3 weight=make_float3(1.0f, 1.0f, 1.0f)) |
|
static |
Definition at line 249 of file kernel/osl/shader.cpp.
References blender::bke::attribute_accessor_functions::add(), mul(), MUL, CClosurePrimitive::setup(), and TO_FLOAT3.
|
static |
Definition at line 135 of file kernel/osl/shader.cpp.
References blender::bke::attribute_accessor_functions::add(), mul(), MUL, CClosurePrimitive::setup(), and TO_FLOAT3.
|
static |
Definition at line 310 of file kernel/osl/shader.cpp.
References blender::bke::attribute_accessor_functions::add(), mul(), MUL, CClosurePrimitive::setup(), and TO_FLOAT3.
|
static |
Definition at line 76 of file kernel/osl/shader.cpp.
References NULL, PATH_RAY_SHADOW, SD_BACKFACING, state, and TO_VEC3.