Blender V4.3
PassAccessorGPU Class Reference

#include <pass_accessor_gpu.h>

Inherits PassAccessor.

Public Member Functions

 PassAccessorGPU (DeviceQueue *queue, const PassAccessInfo &pass_access_info, float exposure, int num_samples)
 
- Public Member Functions inherited from PassAccessor
 PassAccessor (const PassAccessInfo &pass_access_info, float exposure, int num_samples)
 
virtual ~PassAccessor ()=default
 
bool get_render_tile_pixels (const RenderBuffers *render_buffers, const Destination &destination) const
 
bool get_render_tile_pixels (const RenderBuffers *render_buffers, const BufferParams &buffer_params, const Destination &destination) const
 
bool set_render_tile_pixels (RenderBuffers *render_buffers, const Source &source)
 
const PassAccessInfoget_pass_access_info () const
 

Protected Member Functions

void run_film_convert_kernels (DeviceKernel kernel, const RenderBuffers *render_buffers, const BufferParams &buffer_params, const Destination &destination) const
 
 DECLARE_PASS_ACCESSOR (depth)
 
 DECLARE_PASS_ACCESSOR (mist)
 
 DECLARE_PASS_ACCESSOR (sample_count)
 
 DECLARE_PASS_ACCESSOR (float)
 
 DECLARE_PASS_ACCESSOR (light_path)
 
 DECLARE_PASS_ACCESSOR (float3)
 
 DECLARE_PASS_ACCESSOR (motion)
 
 DECLARE_PASS_ACCESSOR (cryptomatte)
 
 DECLARE_PASS_ACCESSOR (shadow_catcher)
 
 DECLARE_PASS_ACCESSOR (shadow_catcher_matte_with_shadow)
 
 DECLARE_PASS_ACCESSOR (combined)
 
 DECLARE_PASS_ACCESSOR (float4)
 
- Protected Member Functions inherited from PassAccessor
virtual void init_kernel_film_convert (KernelFilmConvert *kfilm_convert, const BufferParams &buffer_params, const Destination &destination) const
 

Protected Attributes

DeviceQueuequeue_
 
- Protected Attributes inherited from PassAccessor
PassAccessInfo pass_access_info_
 
float exposure_ = 0.0f
 
int num_samples_ = 0
 

Detailed Description

Definition at line 15 of file pass_accessor_gpu.h.

Constructor & Destructor Documentation

◆ PassAccessorGPU()

CCL_NAMESPACE_BEGIN PassAccessorGPU::PassAccessorGPU ( DeviceQueue * queue,
const PassAccessInfo & pass_access_info,
float exposure,
int num_samples )

Definition at line 13 of file pass_accessor_gpu.cpp.

Member Function Documentation

◆ DECLARE_PASS_ACCESSOR() [1/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( combined )
protected

◆ DECLARE_PASS_ACCESSOR() [2/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( cryptomatte )
protected

◆ DECLARE_PASS_ACCESSOR() [3/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( depth )
protected

◆ DECLARE_PASS_ACCESSOR() [4/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( float )
protected

◆ DECLARE_PASS_ACCESSOR() [5/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( float3 )
protected

◆ DECLARE_PASS_ACCESSOR() [6/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( float4 )
protected

◆ DECLARE_PASS_ACCESSOR() [7/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( light_path )
protected

◆ DECLARE_PASS_ACCESSOR() [8/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( mist )
protected

◆ DECLARE_PASS_ACCESSOR() [9/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( motion )
protected

◆ DECLARE_PASS_ACCESSOR() [10/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( sample_count )
protected

◆ DECLARE_PASS_ACCESSOR() [11/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( shadow_catcher )
protected

◆ DECLARE_PASS_ACCESSOR() [12/12]

PassAccessorGPU::DECLARE_PASS_ACCESSOR ( shadow_catcher_matte_with_shadow )
protected

◆ run_film_convert_kernels()

Member Data Documentation

◆ queue_

DeviceQueue* PassAccessorGPU::queue_
protected

Definition at line 53 of file pass_accessor_gpu.h.

Referenced by run_film_convert_kernels().


The documentation for this class was generated from the following files: