Blender V4.5
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

Member Data Documentation

◆ data

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

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

Referenced by kernel_array< T >::fetch().

◆ width

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

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

Referenced by kernel_array< T >::fetch().


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