Blender  V3.3
Functions
hair.cpp File Reference
#include "bvh/bvh.h"
#include "scene/curves.h"
#include "scene/hair.h"
#include "scene/object.h"
#include "scene/scene.h"
#include "integrator/shader_eval.h"
#include "util/progress.h"

Go to the source code of this file.

Functions

 NODE_DEFINE (Hair)
 
static int fill_shader_input (const Hair *hair, const int object_index, device_vector< KernelShaderEvalInput > &d_input)
 
static void read_shader_output (float *shadow_transparency, bool &is_fully_opaque, const device_vector< float > &d_output)
 

Function Documentation

◆ fill_shader_input()

static int fill_shader_input ( const Hair hair,
const int  object_index,
device_vector< KernelShaderEvalInput > &  d_input 
)
static

◆ NODE_DEFINE()

NODE_DEFINE ( Hair  )

◆ read_shader_output()

static void read_shader_output ( float shadow_transparency,
bool is_fully_opaque,
const device_vector< float > &  d_output 
)
static

Definition at line 536 of file hair.cpp.

References device_vector< T >::data(), and device_vector< T >::size().

Referenced by Hair::update_shadow_transparency().