Blender V5.0
function_constants.h File Reference

Go to the source code of this file.

Macros

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

Enumerations

enum  { Kernel_DummyConstant , KernelData_kernel_features }

Macro Definition Documentation

◆ KERNEL_STRUCT_BEGIN

#define KERNEL_STRUCT_BEGIN ( name,
parent )

Definition at line 14 of file function_constants.h.

◆ KERNEL_STRUCT_END

#define KERNEL_STRUCT_END ( name)

Definition at line 17 of file function_constants.h.

◆ KERNEL_STRUCT_MEMBER

#define KERNEL_STRUCT_MEMBER ( parent,
type,
name )
Value:
KernelData_##parent##_##name,
const char * name

Definition at line 7 of file function_constants.h.

◆ KERNEL_STRUCT_MEMBER_DONT_SPECIALIZE

#define KERNEL_STRUCT_MEMBER_DONT_SPECIALIZE

Definition at line 23 of file function_constants.h.

◆ SHADER_NODE_TYPE

#define SHADER_NODE_TYPE ( type)
Value:
KERNEL_STRUCT_MEMBER(svm_usage, int, type)
#define KERNEL_STRUCT_MEMBER(parent_struct, type, name, feature)

Definition at line 248 of file function_constants.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Kernel_DummyConstant 
KernelData_kernel_features 

Definition at line 5 of file function_constants.h.