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  KernelParamsMetal
 
struct  KernelGlobalsGPU
 

Macros

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

Typedefs

using KernelGlobals = const ccl_global KernelGlobalsGPU *ccl_restrict
 

Macro Definition Documentation

◆ kernel_data

#define kernel_data   launch_params_metal.data

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

◆ KERNEL_DATA_ARRAY

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

Definition at line 19 of file device/metal/globals.h.

◆ kernel_data_array

#define kernel_data_array ( name)    launch_params_metal.name

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

◆ kernel_data_fetch

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

Definition at line 35 of file device/metal/globals.h.

◆ kernel_integrator_state

#define kernel_integrator_state   launch_params_metal.integrator_state

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

Typedef Documentation

◆ KernelGlobals

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