Blender V4.3
buffers.cpp File Reference
#include <stdlib.h>
#include "device/device.h"
#include "session/buffers.h"
#include "util/foreach.h"
#include "util/hash.h"
#include "util/math.h"
#include "util/time.h"
#include "util/types.h"

Go to the source code of this file.

Functions

static CCL_NAMESPACE_BEGIN int pass_type_mode_to_index (PassType pass_type, PassMode mode)
 
static int pass_to_index (const BufferPass &pass)
 
 NODE_DEFINE (BufferPass)
 
 NODE_DEFINE (BufferParams)
 
void render_buffers_host_copy_denoised (RenderBuffers *dst, const BufferParams &dst_params, const RenderBuffers *src, const BufferParams &src_params, const size_t src_offset)
 

Function Documentation

◆ NODE_DEFINE() [1/2]

NODE_DEFINE ( BufferParams )

Definition at line 81 of file buffers.cpp.

References NodeType::add(), SOCKET_BOOLEAN, SOCKET_FLOAT, SOCKET_INT, and SOCKET_STRING.

◆ NODE_DEFINE() [2/2]

◆ pass_to_index()

static int pass_to_index ( const BufferPass & pass)
static

Definition at line 33 of file buffers.cpp.

References pass_type_mode_to_index().

Referenced by BufferParams::update_passes().

◆ pass_type_mode_to_index()

static CCL_NAMESPACE_BEGIN int pass_type_mode_to_index ( PassType pass_type,
PassMode mode )
static

Definition at line 22 of file buffers.cpp.

References DENOISED.

Referenced by BufferParams::get_pass_offset(), and pass_to_index().

◆ render_buffers_host_copy_denoised()

void render_buffers_host_copy_denoised ( RenderBuffers * dst,
const BufferParams & dst_params,
const RenderBuffers * src,
const BufferParams & src_params,
const size_t src_offset )