Blender V4.3
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 29 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

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

References kernel_assert, and kernel_array< T >::width.

Member Data Documentation

◆ data

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

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

◆ width

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

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

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


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