Blender  V3.3
Classes | Macros | Typedefs
device/optix/globals.h File Reference
#include "kernel/types.h"
#include "kernel/integrator/state.h"
#include "kernel/util/profiling.h"
#include "kernel/data_arrays.h"

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 43 of file device/optix/globals.h.

◆ kernel_data_array

#define kernel_data_array (   name)    kernel_params.name

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

◆ KERNEL_DATA_ARRAY

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

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

◆ kernel_data_fetch

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

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

◆ kernel_integrator_state

#define kernel_integrator_state   kernel_params.integrator_state

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

Typedef Documentation

◆ KernelGlobals

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