Blender V4.3
PassAccessor::Destination Class Reference

#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

floatpixels = nullptr
 
half4pixels_half_rgba = nullptr
 
device_ptr d_pixels = 0
 
device_ptr d_pixels_half_rgba = 0
 
int num_components = 0
 
int offset = 0
 
int pixel_offset = 0
 
int pixel_stride = 0
 
int stride = 0
 

Detailed Description

Definition at line 46 of file pass_accessor.h.

Constructor & Destructor Documentation

◆ Destination() [1/4]

PassAccessor::Destination::Destination ( )
default

◆ Destination() [2/4]

PassAccessor::Destination::Destination ( float * pixels,
int num_components )

Definition at line 34 of file pass_accessor.cpp.

◆ Destination() [3/4]

PassAccessor::Destination::Destination ( const PassType pass_type,
half4 * pixels )

Definition at line 39 of file pass_accessor.cpp.

References pixels, and pixels_half_rgba.

◆ Destination() [4/4]

PassAccessor::Destination::Destination ( const PassType pass_type)
explicit

Definition at line 45 of file pass_accessor.cpp.

References Pass::get_info(), and PassInfo::num_components.

Member Data Documentation

◆ d_pixels

device_ptr PassAccessor::Destination::d_pixels = 0

Definition at line 61 of file pass_accessor.h.

◆ d_pixels_half_rgba

device_ptr PassAccessor::Destination::d_pixels_half_rgba = 0

Definition at line 62 of file pass_accessor.h.

◆ num_components

int PassAccessor::Destination::num_components = 0

Definition at line 66 of file pass_accessor.h.

◆ offset

int PassAccessor::Destination::offset = 0

Definition at line 70 of file pass_accessor.h.

Referenced by PathTraceWork::get_render_tile_pixels().

◆ pixel_offset

int PassAccessor::Destination::pixel_offset = 0

Definition at line 74 of file pass_accessor.h.

◆ pixel_stride

int PassAccessor::Destination::pixel_stride = 0

Definition at line 80 of file pass_accessor.h.

◆ pixels

float* PassAccessor::Destination::pixels = nullptr

Definition at line 57 of file pass_accessor.h.

Referenced by Destination().

◆ pixels_half_rgba

half4* PassAccessor::Destination::pixels_half_rgba = nullptr

Definition at line 58 of file pass_accessor.h.

Referenced by Destination().

◆ stride

int PassAccessor::Destination::stride = 0

Definition at line 85 of file pass_accessor.h.


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