Blender  V3.3
Functions
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  )

◆ NODE_DEFINE() [2/2]

NODE_DEFINE ( BufferPass  )

◆ pass_to_index()

static int pass_to_index ( const BufferPass pass)
static

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

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

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