Blender V4.3
data_template.h File Reference

Go to the source code of this file.

Macros

#define KERNEL_STRUCT_BEGIN(name, parent)
 
#define KERNEL_STRUCT_END(name)
 
#define KERNEL_STRUCT_MEMBER(parent, type, name)
 
#define SHADER_NODE_TYPE(type)   KERNEL_STRUCT_MEMBER(svm_usage, int, type)
 

Macro Definition Documentation

◆ KERNEL_STRUCT_BEGIN

#define KERNEL_STRUCT_BEGIN ( name,
parent )

Definition at line 6 of file data_template.h.

◆ KERNEL_STRUCT_END

#define KERNEL_STRUCT_END ( name)

Definition at line 9 of file data_template.h.

◆ KERNEL_STRUCT_MEMBER

#define KERNEL_STRUCT_MEMBER ( parent,
type,
name )

Definition at line 12 of file data_template.h.

◆ SHADER_NODE_TYPE

#define SHADER_NODE_TYPE ( type)    KERNEL_STRUCT_MEMBER(svm_usage, int, type)

Definition at line 234 of file data_template.h.