Blender  V3.3
Public Member Functions | Public Attributes | List of all members
kernel_array< T > Struct Template Reference

#include <globals.h>

Public Member Functions

ccl_always_inline const Tfetch (int index) const
 

Public Attributes

Tdata
 
int width
 

Detailed Description

template<typename T>
struct kernel_array< T >

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

Member Function Documentation

◆ fetch()

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

Member Data Documentation

◆ data

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

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

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

◆ width

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

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

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


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