Blender V4.5
globals.h File Reference
#include "kernel/types.h"
#include "kernel/integrator/state.h"
#include "kernel/util/profiler.h"
#include "util/color.h"
#include "util/texture.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

using KernelGlobals = const ccl_global KernelGlobalsGPU *ccl_restrict
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   kernel_params.data

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

◆ KERNEL_DATA_ARRAY

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

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

◆ kernel_data_array

#define kernel_data_array ( name)    kernel_params.name

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

◆ kernel_data_fetch

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

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

◆ kernel_integrator_state

#define kernel_integrator_state   kernel_params.integrator_state

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

Typedef Documentation

◆ KernelGlobals

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