Blender  V3.3
Macros
data_template.h File Reference
#include "kernel/svm/node_types_template.h"

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 5 of file data_template.h.

◆ KERNEL_STRUCT_END

#define KERNEL_STRUCT_END (   name)

Definition at line 8 of file data_template.h.

◆ KERNEL_STRUCT_MEMBER

#define KERNEL_STRUCT_MEMBER (   parent,
  type,
  name 
)

Definition at line 11 of file data_template.h.

◆ SHADER_NODE_TYPE

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

Definition at line 200 of file data_template.h.