Blender  V3.3
Functions
pass.cpp File Reference
#include "scene/pass.h"
#include "util/algorithm.h"
#include "util/log.h"

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN const char * pass_type_as_string (const PassType type)
 
const char * pass_mode_as_string (PassMode mode)
 
std::ostream & operator<< (std::ostream &os, PassMode mode)
 
 NODE_DEFINE (Pass)
 
std::ostream & operator<< (std::ostream &os, const Pass &pass)
 

Function Documentation

◆ NODE_DEFINE()

NODE_DEFINE ( Pass  )

◆ operator<<() [1/2]

std::ostream& operator<< ( std::ostream &  os,
const Pass pass 
)

Definition at line 413 of file pass.cpp.

References Pass::is_written(), pass_type_as_string(), and string_from_bool().

◆ operator<<() [2/2]

std::ostream& operator<< ( std::ostream &  os,
PassMode  mode 
)

Definition at line 38 of file pass.cpp.

References pass_mode_as_string().

◆ pass_mode_as_string()

const char* pass_mode_as_string ( PassMode  mode)

Definition at line 25 of file pass.cpp.

References DENOISED, LOG, and NOISY.

Referenced by operator<<().

◆ pass_type_as_string()

CCL_NAMESPACE_BEGIN const char* pass_type_as_string ( const PassType  type)

Definition at line 11 of file pass.cpp.

References NodeEnum::exists(), Pass::get_type_enum(), LOG, and type.

Referenced by PassAccessor::get_render_tile_pixels(), and operator<<().