Blender V5.0
pass.cpp File Reference
#include "scene/pass.h"
#include "util/log.h"
#include "util/time.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)
bool is_volume_guiding_pass (const PassType pass_type)

Function Documentation

◆ is_volume_guiding_pass()

bool is_volume_guiding_pass ( const PassType pass_type)

◆ NODE_DEFINE()

NODE_DEFINE ( Pass )

Definition at line 128 of file pass.cpp.

References NodeType::add(), DENOISED, name, PASS_COMBINED, SOCKET_BOOLEAN, SOCKET_ENUM, and SOCKET_STRING.

◆ operator<<() [1/2]

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

Definition at line 464 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 39 of file pass.cpp.

References pass_mode_as_string().

◆ pass_mode_as_string()

const char * pass_mode_as_string ( PassMode mode)

Definition at line 26 of file pass.cpp.

References DENOISED, LOG_DFATAL, and NOISY.

Referenced by operator<<().

◆ pass_type_as_string()

CCL_NAMESPACE_BEGIN const char * pass_type_as_string ( const PassType type)