Blender V5.0
kernel_array< T > Struct Template Reference

#include <globals.h>

Public Member Functions

const ccl_always_inline Tfetch (const int index) const

Public Attributes

Tdata = nullptr
int width = 0

Detailed Description

template<typename T>
struct kernel_array< T >

Definition at line 30 of file device/cpu/globals.h.

Member Function Documentation

◆ fetch()

template<typename T>
const ccl_always_inline T & kernel_array< T >::fetch ( const int index) const
inline

Definition at line 31 of file device/cpu/globals.h.

References ccl_always_inline, and T.

Member Data Documentation

◆ data

template<typename T>
T* kernel_array< T >::data = nullptr

Definition at line 37 of file device/cpu/globals.h.

◆ width

template<typename T>
int kernel_array< T >::width = 0

Definition at line 38 of file device/cpu/globals.h.


The documentation for this struct was generated from the following file: