176 return fmaxf(sun_size, 0.0005f);
264 if (dimensions == 4) {
451 ustring value_string;
453 static const int MAX_TYPE = 13;
454 static bool register_types();
456 static const NodeType *node_types[MAX_TYPE][MAX_TYPE];
457 static bool initialized;
776 bool has_spatial_varying()
918 virtual
int get_feature()
923 bool has_surface_transparent();
999 bool has_spatial_varying()
1314 bool has_spatial_varying()
1323 bool has_spatial_varying()
1335 bool has_spatial_varying()
1347 bool has_spatial_varying()
1507 void compile(
OSLCompiler &compiler,
const char *name);
1557 static void operator delete(
void *
ptr)
1562 ::operator
delete(
ptr);
1564 static void operator delete(
void *,
void *)
1571 char *input_default_value();
1577 bool has_surface_emission()
1579 return has_emission;
1646 bool has_spatial_varying()
ATTR_WARN_UNUSED_RESULT const BMVert * v
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
virtual int get_feature()
bool has_spatial_varying()
bool has_attribute_dependency()
virtual int get_feature()
virtual int get_feature()
virtual bool equals(const ShaderNode &)
virtual int get_feature()
virtual ClosureType get_closure_type()
BsdfBaseNode(const NodeType *node_type)
bool has_spatial_varying()
BsdfNode(const NodeType *node_type)
void compile(SVMCompiler &compiler, ShaderInput *bsdf_y, ShaderInput *bsdf_z, ShaderInput *data_y=nullptr, ShaderInput *data_z=nullptr, ShaderInput *data_w=nullptr)
virtual int get_feature()
bool has_spatial_varying()
void constant_fold(const ConstantFolder &folder)
ConvertNode(SocketType::Type from, SocketType::Type to, bool autoconvert=false)
virtual int get_feature()
void constant_fold(const ConstantFolder &folder)
bool has_surface_emission()
bool has_volume_support()
virtual int get_feature()
bool from_auto_conversion
bool has_attribute_dependency()
ImageParams image_params() const
virtual bool equals(const ShaderNode &other)
ShaderNode * clone(ShaderGraph *graph) const
void attributes(Shader *shader, AttributeRequestSet *attributes)
bool has_spatial_varying()
bool has_attribute_dependency()
ClosureType get_closure_type()
void attributes(Shader *shader, AttributeRequestSet *attributes)
void simplify_settings(Scene *scene)
bool has_attribute_dependency()
ClosureType get_closure_type()
bool has_attribute_dependency()
bool has_spatial_varying()
ShaderNode * clone(ShaderGraph *graph) const
ImageSlotTextureNode(const NodeType *node_type)
virtual bool equals(const ShaderNode &other)
ImageParams image_params() const
void attributes(Shader *shader, AttributeRequestSet *attributes)
void cull_tiles(Scene *scene, ShaderGraph *graph)
bool has_attribute_dependency()
virtual bool equals(const ShaderNode &other)
ShaderNode * clone(ShaderGraph *graph) const
void constant_fold(const ConstantFolder &folder)
bool has_attribute_dependency()
bool has_spatial_varying()
virtual bool equals(const ShaderNode &)
bool has_volume_support()
bool has_spatial_varying()
virtual int get_feature()
virtual void simplify_settings(Scene *scene)
virtual bool equals(const ShaderNode &)
virtual bool equals(const ShaderNode &)
bool has_attribute_dependency()
bool has_spatial_varying()
ImageParams image_params() const
virtual bool equals(const ShaderNode &other)
~PointDensityTextureNode()
ShaderNode * clone(ShaderGraph *graph) const
void attributes(Shader *shader, AttributeRequestSet *attributes)
bool has_attribute_dependency()
bool has_spatial_varying()
bool has_attribute_dependency()
bool has_attribute_dependency()
bool has_surface_bssrdf()
void simplify_settings(Scene *scene)
bool has_surface_emission()
bool has_surface_transparent()
void attributes(Shader *shader, AttributeRequestSet *attributes)
bool has_attribute_dependency()
void constant_fold(const ConstantFolder &folder)
bool has_surface_transparent()
ClosureType get_closure_type()
ShaderNodeSpecialType special_type
virtual bool equals(const ShaderNode &other)
virtual int get_feature()
virtual void constant_fold(const ConstantFolder &)
ClosureType get_closure_type()
void simplify_settings(Scene *scene)
float get_sun_average_radiance()
ClosureType get_closure_type()
bool has_surface_bssrdf()
bool has_attribute_dependency()
bool has_spatial_varying()
bool has_attribute_dependency()
bool has_spatial_varying()
int compile(SVMCompiler &compiler, ShaderInput *vector_in)
void compile_end(SVMCompiler &compiler, ShaderInput *vector_in, int vector_offset)
Transform compute_transform()
void compile(SVMCompiler &compiler, int offset_in, int offset_out)
int compile_begin(SVMCompiler &compiler, ShaderInput *vector_in)
TextureMapping tex_mapping
TextureNode(const NodeType *node_type)
bool has_surface_transparent()
bool has_attribute_dependency()
bool has_spatial_varying()
virtual int get_feature()
bool has_attribute_dependency()
bool has_spatial_varying()
bool has_attribute_dependency()
bool has_spatial_varying()
bool has_attribute_dependency()
virtual bool has_volume_support()
virtual int get_feature()
virtual ClosureType get_closure_type()
virtual bool equals(const ShaderNode &)
virtual int get_feature()
local_group_size(16, 16) .push_constant(Type b
#define CCL_NAMESPACE_END
#define NODE_SOCKET_API_STRUCT_MEMBER(type_, name, member)
#define NODE_SOCKET_API_ARRAY(type_, name)
#define NODE_SOCKET_API(type_, name)
CCL_NAMESPACE_BEGIN ccl_device float invert(float color, float factor)
ccl_gpu_kernel_postfix ccl_global KernelWorkTile * tiles
NodeEnvironmentProjection
NodeVectorTransformConvertSpace
NodePrincipledHairParametrization
NodeVoronoiDistanceMetric
#define KERNEL_FEATURE_NODE_BSDF
#define KERNEL_FEATURE_NODE_PRINCIPLED_HAIR
#define KERNEL_FEATURE_NODE_VORONOI_EXTRA
#define KERNEL_FEATURE_NODE_VOLUME
#define KERNEL_FEATURE_NODE_RAYTRACE
#define KERNEL_FEATURE_NODE_EMISSION
#define KERNEL_FEATURE_NODE_BUMP
#define SHADER_NODE_NO_CLONE_CLASS(type)
@ SHADER_SPECIAL_TYPE_IMAGE_SLOT
#define SHADER_NODE_CLASS(type)
#define SHADER_NODE_BASE_CLASS(type)
bool equals(const Node &other) const