Blender V5.0
buffers.cpp File Reference
#include <cstdlib>
#include "device/device.h"
#include "session/buffers.h"
#include "util/log.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 78 of file buffers.cpp.

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

◆ NODE_DEFINE() [2/2]

◆ pass_to_index()

int pass_to_index ( const BufferPass & pass)
static

Definition at line 30 of file buffers.cpp.

References BufferPass::mode, pass_type_mode_to_index(), and BufferPass::type.

Referenced by BufferParams::update_passes().

◆ pass_type_mode_to_index()

CCL_NAMESPACE_BEGIN int pass_type_mode_to_index ( PassType pass_type,
PassMode mode )
static

Definition at line 19 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 )