Blender
V3.3
|
#include <pass_accessor.h>
Public Member Functions | |
Destination ()=default | |
Destination (float *pixels, int num_components) | |
Destination (const PassType pass_type, half4 *pixels) | |
Destination (const PassType pass_type) | |
Public Attributes | |
float * | pixels = nullptr |
half4 * | pixels_half_rgba = nullptr |
device_ptr | d_pixels = 0 |
device_ptr | d_pixels_half_rgba = 0 |
int | num_components = 0 |
int | offset = 0 |
int | pixel_stride = 0 |
int | stride = 0 |
Definition at line 45 of file pass_accessor.h.
|
default |
PassAccessor::Destination::Destination | ( | float * | pixels, |
int | num_components | ||
) |
Definition at line 33 of file pass_accessor.cpp.
Definition at line 38 of file pass_accessor.cpp.
References pixels, and pixels_half_rgba.
|
explicit |
Definition at line 44 of file pass_accessor.cpp.
References Pass::get_info(), num_components, and PassInfo::num_components.
device_ptr PassAccessor::Destination::d_pixels = 0 |
Definition at line 60 of file pass_accessor.h.
Referenced by PassAccessorGPU::run_film_convert_kernels().
device_ptr PassAccessor::Destination::d_pixels_half_rgba = 0 |
Definition at line 61 of file pass_accessor.h.
Referenced by PathTraceWorkGPU::copy_to_display_interop(), PathTraceWorkGPU::copy_to_display_naive(), and PassAccessorGPU::run_film_convert_kernels().
int PassAccessor::Destination::num_components = 0 |
Definition at line 65 of file pass_accessor.h.
Referenced by PassAccessor::get_render_tile_pixels(), PassAccessor::init_kernel_film_convert(), pad_pixels(), and PassAccessorCPU::run_get_pass_kernel_processor_float().
int PassAccessor::Destination::offset = 0 |
Definition at line 69 of file pass_accessor.h.
Referenced by PathTraceWork::get_display_destination_template(), PathTraceWork::get_render_tile_pixels(), pad_pixels(), PassAccessorGPU::run_film_convert_kernels(), and PassAccessorCPU::run_get_pass_kernel_processor_half_rgba().
int PassAccessor::Destination::pixel_stride = 0 |
Definition at line 75 of file pass_accessor.h.
Referenced by PassAccessor::init_kernel_film_convert(), pad_pixels(), and PassAccessorCPU::run_get_pass_kernel_processor_float().
float* PassAccessor::Destination::pixels = nullptr |
Definition at line 56 of file pass_accessor.h.
Referenced by Destination(), and pad_pixels().
half4* PassAccessor::Destination::pixels_half_rgba = nullptr |
Definition at line 57 of file pass_accessor.h.
Referenced by PathTraceWorkCPU::copy_to_display(), Destination(), and PassAccessorCPU::run_get_pass_kernel_processor_half_rgba().
int PassAccessor::Destination::stride = 0 |