Blender  V3.3
Public Member Functions | Public Attributes | List of all members
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_stride = 0
 
int stride = 0
 

Detailed Description

Definition at line 45 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 33 of file pass_accessor.cpp.

◆ Destination() [3/4]

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

Definition at line 38 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 44 of file pass_accessor.cpp.

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

Member Data Documentation

◆ d_pixels

device_ptr PassAccessor::Destination::d_pixels = 0

Definition at line 60 of file pass_accessor.h.

Referenced by PassAccessorGPU::run_film_convert_kernels().

◆ d_pixels_half_rgba

device_ptr PassAccessor::Destination::d_pixels_half_rgba = 0

◆ num_components

int PassAccessor::Destination::num_components = 0

◆ offset

int PassAccessor::Destination::offset = 0

◆ pixel_stride

int PassAccessor::Destination::pixel_stride = 0

◆ pixels

float* PassAccessor::Destination::pixels = nullptr

Definition at line 56 of file pass_accessor.h.

Referenced by Destination(), and pad_pixels().

◆ pixels_half_rgba

half4* PassAccessor::Destination::pixels_half_rgba = nullptr

◆ stride

int PassAccessor::Destination::stride = 0

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