Blender  V3.3
Classes | Functions | Variables
CCL_NAMESPACE_BEGIN Namespace Reference

Classes

struct  TextureInterpolator
 
class  ShaderNodeBuilder
 
class  ShaderGraphBuilder
 

Functions

voidpylong_as_voidptr_typesafe (PyObject *object)
 
PyObject * pyunicode_from_string (const char *str)
 
static void debug_flags_sync_from_scene (BL::Scene b_scene)
 
static void debug_flags_reset ()
 
void density_texture_space_invert (float3 &loc, float3 &size)
 
ccl_device_inline float frac (float x, int *ix)
 
ccl_device float4 kernel_tex_image_interp (KernelGlobals kg, int id, float x, float y)
 
ccl_device float4 kernel_tex_image_interp_3d (KernelGlobals kg, int id, float3 P, InterpolationType interp)
 
bool isfinite (uchar)
 
bool isfinite (half)
 
bool isfinite (uint16_t)
 
const char * name_from_type (ImageDataType type)
 
bool check_node_inputs_has_links (const ShaderNode *node)
 
bool check_node_inputs_traversed (const ShaderNode *node, const ShaderNodeSet &done)
 
void task_run ()
 
template<typename T >
const Tutil_image_read (const vector< T > &pixels, const size_t width, const size_t height, const size_t, const size_t components, const size_t x, const size_t y, const size_t z)
 
template<typename T >
void util_image_downscale_sample (const vector< T > &pixels, const size_t width, const size_t height, const size_t depth, const size_t components, const size_t kernel_size, const float x, const float y, const float z, T *result)
 
template<typename T >
void util_image_downscale_pixels (const vector< T > &input_pixels, const size_t input_width, const size_t input_height, const size_t input_depth, const size_t components, const float inv_scale_factor, const size_t output_width, const size_t output_height, const size_t output_depth, vector< T > *output_pixels)
 

Variables

bool debug_flags_set = false
 

Function Documentation

◆ check_node_inputs_has_links()

bool CCL_NAMESPACE_BEGIN::check_node_inputs_has_links ( const ShaderNode node)

Definition at line 21 of file shader_graph.cpp.

References node.

Referenced by ShaderGraph::constant_fold(), and ShaderGraph::deduplicate_nodes().

◆ check_node_inputs_traversed()

bool CCL_NAMESPACE_BEGIN::check_node_inputs_traversed ( const ShaderNode node,
const ShaderNodeSet done 
)

Definition at line 31 of file shader_graph.cpp.

References node.

Referenced by ShaderGraph::constant_fold(), and ShaderGraph::deduplicate_nodes().

◆ debug_flags_reset()

static void CCL_NAMESPACE_BEGIN::debug_flags_reset ( )
static

Definition at line 80 of file python.cpp.

References DebugFlags(), and DebugFlags::reset().

Referenced by debug_flags_reset_func().

◆ debug_flags_sync_from_scene()

static void CCL_NAMESPACE_BEGIN::debug_flags_sync_from_scene ( BL::Scene  b_scene)
static

◆ density_texture_space_invert()

void CCL_NAMESPACE_BEGIN::density_texture_space_invert ( float3 loc,
float3 size 
)

Definition at line 12 of file texture.cpp.

References make_float3, and size().

Referenced by point_density_texture_space().

◆ frac()

ccl_device_inline float CCL_NAMESPACE_BEGIN::frac ( float  x,
int *  ix 
)

◆ isfinite() [1/3]

bool CCL_NAMESPACE_BEGIN::isfinite ( half  )

Definition at line 35 of file scene/image.cpp.

◆ isfinite() [2/3]

bool CCL_NAMESPACE_BEGIN::isfinite ( uchar  )

◆ isfinite() [3/3]

bool CCL_NAMESPACE_BEGIN::isfinite ( uint16_t  )

Definition at line 39 of file scene/image.cpp.

◆ kernel_tex_image_interp()

ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp ( KernelGlobals  kg,
int  id,
float  x,
float  y 
)

◆ kernel_tex_image_interp_3d()

ccl_device float4 CCL_NAMESPACE_BEGIN::kernel_tex_image_interp_3d ( KernelGlobals  kg,
int  id,
float3  P,
InterpolationType  interp 
)

◆ name_from_type()

const char* CCL_NAMESPACE_BEGIN::name_from_type ( ImageDataType  type)

◆ pylong_as_voidptr_typesafe()

void* CCL_NAMESPACE_BEGIN::pylong_as_voidptr_typesafe ( PyObject *  object)

Definition at line 42 of file python.cpp.

References NULL.

Referenced by create_func(), and draw_func().

◆ pyunicode_from_string()

PyObject* CCL_NAMESPACE_BEGIN::pyunicode_from_string ( const char *  str)

Definition at line 49 of file python.cpp.

References str.

Referenced by available_devices_func(), and system_info_func().

◆ task_run()

void CCL_NAMESPACE_BEGIN::task_run ( )

Definition at line 12 of file util_task_test.cpp.

Referenced by TEST().

◆ util_image_downscale_pixels()

template<typename T >
void CCL_NAMESPACE_BEGIN::util_image_downscale_pixels ( const vector< T > &  input_pixels,
const size_t  input_width,
const size_t  input_height,
const size_t  input_depth,
const size_t  components,
const float  inv_scale_factor,
const size_t  output_width,
const size_t  output_height,
const size_t  output_depth,
vector< T > *  output_pixels 
)

Definition at line 75 of file image_impl.h.

References float(), util_image_downscale_sample(), x, y, and z.

Referenced by util_image_resize_pixels().

◆ util_image_downscale_sample()

template<typename T >
void CCL_NAMESPACE_BEGIN::util_image_downscale_sample ( const vector< T > &  pixels,
const size_t  width,
const size_t  height,
const size_t  depth,
const size_t  components,
const size_t  kernel_size,
const float  x,
const float  y,
const float  z,
T result 
)

Definition at line 30 of file image_impl.h.

References count, float(), height, ny, result, T, util_image_cast_to_float(), util_image_read(), width, x, y, and z.

Referenced by util_image_downscale_pixels().

◆ util_image_read()

template<typename T >
const T* CCL_NAMESPACE_BEGIN::util_image_read ( const vector< T > &  pixels,
const size_t  width,
const size_t  height,
const  size_t,
const size_t  components,
const size_t  x,
const size_t  y,
const size_t  z 
)

Definition at line 16 of file image_impl.h.

References height, width, x, y, and z.

Referenced by util_image_downscale_sample().

Variable Documentation

◆ debug_flags_set

bool CCL_NAMESPACE_BEGIN::debug_flags_set = false

Definition at line 40 of file python.cpp.

Referenced by debug_flags_reset_func(), and debug_flags_update_func().