Blender V4.3
globals.h File Reference

Go to the source code of this file.

Classes

struct  KernelGlobalsGPU
 
struct  KernelParamsOptiX
 

Macros

#define KERNEL_DATA_ARRAY(type, name)   const type *name;
 
#define kernel_data   kernel_params.data
 
#define kernel_data_array(name)   kernel_params.name
 
#define kernel_data_fetch(name, index)   kernel_params.name[(index)]
 
#define kernel_integrator_state   kernel_params.integrator_state
 

Typedefs

typedef ccl_global const KernelGlobalsGPU *ccl_restrict KernelGlobals
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   kernel_params.data

Definition at line 49 of file device/optix/globals.h.

◆ KERNEL_DATA_ARRAY

#define KERNEL_DATA_ARRAY ( type,
name )   const type *name;

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

◆ kernel_data_array

#define kernel_data_array ( name)    kernel_params.name

Definition at line 50 of file device/optix/globals.h.

◆ kernel_data_fetch

#define kernel_data_fetch ( name,
index )   kernel_params.name[(index)]

Definition at line 51 of file device/optix/globals.h.

◆ kernel_integrator_state

#define kernel_integrator_state   kernel_params.integrator_state

Definition at line 52 of file device/optix/globals.h.

Typedef Documentation

◆ KernelGlobals

Definition at line 22 of file device/optix/globals.h.