|
Blender
V2.93
|
#include <film.h>
Inherits Node.
Public Member Functions | |
| NODE_DECLARE | Pass () |
Public Member Functions inherited from Node | |
| Node (const NodeType *type, ustring name=ustring()) | |
| virtual | ~Node ()=0 |
| void | set (const SocketType &input, bool value) |
| void | set (const SocketType &input, int value) |
| void | set (const SocketType &input, uint value) |
| void | set (const SocketType &input, float value) |
| void | set (const SocketType &input, float2 value) |
| void | set (const SocketType &input, float3 value) |
| void | set (const SocketType &input, const char *value) |
| void | set (const SocketType &input, ustring value) |
| void | set (const SocketType &input, const Transform &value) |
| void | set (const SocketType &input, Node *value) |
| void | set (const SocketType &input, array< bool > &value) |
| void | set (const SocketType &input, array< int > &value) |
| void | set (const SocketType &input, array< float > &value) |
| void | set (const SocketType &input, array< float2 > &value) |
| void | set (const SocketType &input, array< float3 > &value) |
| void | set (const SocketType &input, array< ustring > &value) |
| void | set (const SocketType &input, array< Transform > &value) |
| void | set (const SocketType &input, array< Node * > &value) |
| bool | get_bool (const SocketType &input) const |
| int | get_int (const SocketType &input) const |
| uint | get_uint (const SocketType &input) const |
| float | get_float (const SocketType &input) const |
| float2 | get_float2 (const SocketType &input) const |
| float3 | get_float3 (const SocketType &input) const |
| ustring | get_string (const SocketType &input) const |
| Transform | get_transform (const SocketType &input) const |
| Node * | get_node (const SocketType &input) const |
| const array< bool > & | get_bool_array (const SocketType &input) const |
| const array< int > & | get_int_array (const SocketType &input) const |
| const array< float > & | get_float_array (const SocketType &input) const |
| const array< float2 > & | get_float2_array (const SocketType &input) const |
| const array< float3 > & | get_float3_array (const SocketType &input) const |
| const array< ustring > & | get_string_array (const SocketType &input) const |
| const array< Transform > & | get_transform_array (const SocketType &input) const |
| const array< Node * > & | get_node_array (const SocketType &input) const |
| bool | has_default_value (const SocketType &input) const |
| void | set_default_value (const SocketType &input) |
| bool | equals_value (const Node &other, const SocketType &input) const |
| void | copy_value (const SocketType &input, const Node &other, const SocketType &other_input) |
| void | set_value (const SocketType &input, const Node &other, const SocketType &other_input) |
| bool | equals (const Node &other) const |
| void | hash (MD5Hash &md5) |
| size_t | get_total_size_in_bytes () const |
| bool | is_a (const NodeType *type) |
| bool | socket_is_modified (const SocketType &input) const |
| bool | is_modified () |
| void | tag_modified () |
| void | clear_modified () |
| void | print_modified_sockets () const |
| const NodeOwner * | get_owner () const |
| void | set_owner (const NodeOwner *owner_) |
Static Public Member Functions | |
| static void | add (PassType type, vector< Pass > &passes, const char *name=NULL) |
| static bool | equals (const vector< Pass > &A, const vector< Pass > &B) |
| static bool | contains (const vector< Pass > &passes, PassType) |
Public Attributes | |
| PassType | type |
| int | components |
| bool | filter |
| bool | exposure |
| PassType | divide_type |
| ustring | name |
Public Attributes inherited from Node | |
| ustring | name |
| const NodeType * | type |
| InternalNode | internal |
| LeafNode | leaf |
Additional Inherited Members | |
Protected Member Functions inherited from Node | |
| template<typename T > | |
| void | set_if_different (const SocketType &input, T value) |
| template<typename T > | |
| void | set_if_different (const SocketType &input, array< T > &value) |
Static Protected Member Functions inherited from Node | |
| template<typename T > | |
| static T & | get_socket_value (const Node *node, const SocketType &socket) |
Protected Attributes inherited from Node | |
| const NodeOwner * | owner |
| SocketModifiedFlags | socket_modified |
Definition at line 103 of file film.cpp.
References compare_pass_order(), components, divide_type, exposure, filter, name, NULL, PASS_ADAPTIVE_AUX_BUFFER, PASS_AO, PASS_AOV_COLOR, PASS_AOV_VALUE, PASS_BACKGROUND, PASS_BAKE_DIFFERENTIAL, PASS_BAKE_PRIMITIVE, PASS_COMBINED, PASS_CRYPTOMATTE, PASS_DEPTH, PASS_DIFFUSE_COLOR, PASS_DIFFUSE_DIRECT, PASS_DIFFUSE_INDIRECT, PASS_EMISSION, PASS_GLOSSY_COLOR, PASS_GLOSSY_DIRECT, PASS_GLOSSY_INDIRECT, PASS_LIGHT, PASS_MATERIAL_ID, PASS_MIST, PASS_MOTION, PASS_MOTION_WEIGHT, PASS_NONE, PASS_NORMAL, PASS_OBJECT_ID, PASS_RENDER_TIME, PASS_SAMPLE_COUNT, PASS_SHADOW, PASS_TRANSMISSION_COLOR, PASS_TRANSMISSION_DIRECT, PASS_TRANSMISSION_INDIRECT, PASS_UV, PASS_VOLUME_DIRECT, PASS_VOLUME_INDIRECT, and type.
Referenced by Film::add_default(), BlenderSession::bake(), BufferParams::BufferParams(), BakeManager::set(), BlenderSync::sync_render_passes(), and update_viewport_display_passes().
Definition at line 295 of file film.cpp.
References type.
Referenced by Scene::need_global_attribute(), Scene::need_motion(), and Film::tag_passes_update().
| int Pass::components |
Definition at line 48 of file film.h.
Referenced by add(), compare_pass_order(), RenderBuffers::get_pass_rect(), and RenderBuffers::set_pass_rect().
| PassType Pass::divide_type |
Definition at line 51 of file film.h.
Referenced by add(), and RenderBuffers::get_pass_rect().
| bool Pass::exposure |
Definition at line 50 of file film.h.
Referenced by add(), and RenderBuffers::get_pass_rect().
| bool Pass::filter |
Definition at line 49 of file film.h.
Referenced by add(), RenderBuffers::get_pass_rect(), and RenderBuffers::set_pass_rect().
| ustring Pass::name |
Definition at line 52 of file film.h.
Referenced by add(), equals(), Film::get_aov_offset(), and RenderBuffers::get_pass_rect().
| PassType Pass::type |
Definition at line 47 of file film.h.
Referenced by add(), compare_pass_order(), contains(), equals(), Film::get_aov_offset(), RenderBuffers::get_pass_rect(), and RenderBuffers::set_pass_rect().