Blender  V3.3
Functions | Variables
session/tile.cpp File Reference
#include "session/tile.h"
#include <atomic>
#include "graph/node.h"
#include "scene/background.h"
#include "scene/bake.h"
#include "scene/film.h"
#include "scene/integrator.h"
#include "scene/scene.h"
#include "session/session.h"
#include "util/algorithm.h"
#include "util/foreach.h"
#include "util/log.h"
#include "util/path.h"
#include "util/string.h"
#include "util/system.h"
#include "util/time.h"
#include "util/types.h"

Go to the source code of this file.

Functions

static std::vector< std::string > exr_channel_names_for_passes (const BufferParams &buffer_params)
 
string node_socket_attribute_name (const SocketType &socket, const string &attr_name_prefix)
 
template<typename ValidateValueFunc , typename GetValueFunc >
static bool node_socket_generic_to_image_spec_atttributes (ImageSpec *image_spec, const Node *node, const SocketType &socket, const string &attr_name_prefix, const ValidateValueFunc &validate_value_func, const GetValueFunc &get_value_func)
 
static bool node_socket_to_image_spec_atttributes (ImageSpec *image_spec, const Node *node, const SocketType &socket, const string &attr_name_prefix)
 
static bool node_socket_from_image_spec_atttributes (Node *node, const SocketType &socket, const ImageSpec &image_spec, const string &attr_name_prefix)
 
static bool node_to_image_spec_atttributes (ImageSpec *image_spec, const Node *node, const string &attr_name_prefix)
 
static bool node_from_image_spec_atttributes (Node *node, const ImageSpec &image_spec, const string &attr_name_prefix)
 
static bool buffer_params_to_image_spec_atttributes (ImageSpec *image_spec, const BufferParams &buffer_params)
 
static bool buffer_params_from_image_spec_atttributes (BufferParams *buffer_params, const ImageSpec &image_spec)
 
static bool configure_image_spec_from_buffer (ImageSpec *image_spec, const BufferParams &buffer_params, const int2 tile_size=make_int2(0, 0))
 

Variables

static CCL_NAMESPACE_BEGIN const char * ATTR_PASSES_COUNT = "cycles.passes.count"
 
static const char * ATTR_PASS_SOCKET_PREFIX_FORMAT = "cycles.passes.%d."
 
static const char * ATTR_BUFFER_SOCKET_PREFIX = "cycles.buffer."
 
static const char * ATTR_DENOISE_SOCKET_PREFIX = "cycles.denoise."
 
static std::atomic< uint64_tg_instance_index = 0
 

Function Documentation

◆ buffer_params_from_image_spec_atttributes()

static bool buffer_params_from_image_spec_atttributes ( BufferParams buffer_params,
const ImageSpec &  image_spec 
)
static

◆ buffer_params_to_image_spec_atttributes()

static bool buffer_params_to_image_spec_atttributes ( ImageSpec *  image_spec,
const BufferParams buffer_params 
)
static

◆ configure_image_spec_from_buffer()

static bool configure_image_spec_from_buffer ( ImageSpec *  image_spec,
const BufferParams buffer_params,
const int2  tile_size = make_int2(0, 0) 
)
static

◆ exr_channel_names_for_passes()

static std::vector<std::string> exr_channel_names_for_passes ( const BufferParams buffer_params)
static

◆ node_from_image_spec_atttributes()

static bool node_from_image_spec_atttributes ( Node node,
const ImageSpec &  image_spec,
const string &  attr_name_prefix 
)
static

◆ node_socket_attribute_name()

string node_socket_attribute_name ( const SocketType socket,
const string &  attr_name_prefix 
)
inline

◆ node_socket_from_image_spec_atttributes()

static bool node_socket_from_image_spec_atttributes ( Node node,
const SocketType socket,
const ImageSpec &  image_spec,
const string &  attr_name_prefix 
)
static

◆ node_socket_generic_to_image_spec_atttributes()

template<typename ValidateValueFunc , typename GetValueFunc >
static bool node_socket_generic_to_image_spec_atttributes ( ImageSpec *  image_spec,
const Node node,
const SocketType socket,
const string &  attr_name_prefix,
const ValidateValueFunc &  validate_value_func,
const GetValueFunc &  get_value_func 
)
static

Definition at line 79 of file session/tile.cpp.

References node, and node_socket_attribute_name().

◆ node_socket_to_image_spec_atttributes()

static bool node_socket_to_image_spec_atttributes ( ImageSpec *  image_spec,
const Node node,
const SocketType socket,
const string &  attr_name_prefix 
)
static

◆ node_to_image_spec_atttributes()

static bool node_to_image_spec_atttributes ( ImageSpec *  image_spec,
const Node node,
const string &  attr_name_prefix 
)
static

Variable Documentation

◆ ATTR_BUFFER_SOCKET_PREFIX

const char* ATTR_BUFFER_SOCKET_PREFIX = "cycles.buffer."
static

◆ ATTR_DENOISE_SOCKET_PREFIX

const char* ATTR_DENOISE_SOCKET_PREFIX = "cycles.denoise."
static

◆ ATTR_PASS_SOCKET_PREFIX_FORMAT

const char* ATTR_PASS_SOCKET_PREFIX_FORMAT = "cycles.passes.%d."
static

◆ ATTR_PASSES_COUNT

CCL_NAMESPACE_BEGIN const char* ATTR_PASSES_COUNT = "cycles.passes.count"
static

◆ g_instance_index

std::atomic<uint64_t> g_instance_index = 0
static

Definition at line 36 of file session/tile.cpp.

Referenced by TileManager::TileManager().