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

References num_components, and pixels.

Referenced by Destination().

◆ Destination() [2/4]

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

Definition at line 34 of file pass_accessor.cpp.

References num_components, and pixels.

◆ Destination() [3/4]

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

Definition at line 39 of file pass_accessor.cpp.

References Destination(), 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(), num_components, and PassInfo::num_components.

Member Data Documentation

◆ d_pixels

device_ptr PassAccessor::Destination::d_pixels = 0

◆ d_pixels_half_rgba

device_ptr PassAccessor::Destination::d_pixels_half_rgba = 0

◆ num_components

◆ offset

◆ pixel_offset

int PassAccessor::Destination::pixel_offset = 0

◆ pixel_stride

◆ pixels

float* PassAccessor::Destination::pixels = nullptr

Definition at line 57 of file pass_accessor.h.

Referenced by Destination(), Destination(), Destination(), and pad_pixels().

◆ pixels_half_rgba

half4* PassAccessor::Destination::pixels_half_rgba = nullptr

◆ stride


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