Blender V5.0
PassAccessor::Destination Class Reference

#include <pass_accessor.h>

Public Member Functions

 Destination ()=default
 Destination (float *pixels, const int num_components)
 Destination (const PassType pass_type, const PassMode pass_mode)

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 44 of file pass_accessor.h.

Constructor & Destructor Documentation

◆ Destination() [1/3]

PassAccessor::Destination::Destination ( )
default

References num_components, and pixels.

◆ Destination() [2/3]

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

Definition at line 31 of file pass_accessor.cpp.

References num_components, and pixels.

◆ Destination() [3/3]

PassAccessor::Destination::Destination ( const PassType pass_type,
const PassMode pass_mode )
explicit

Definition at line 36 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

int PassAccessor::Destination::pixel_stride = 0

◆ pixels

float* PassAccessor::Destination::pixels = nullptr

Definition at line 54 of file pass_accessor.h.

Referenced by 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: