Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/node_shader_util.h
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
| # include "BLI_float3.hh" | # include "BLI_float3.hh" | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| bool sh_node_poll_default(struct bNodeType *ntype, | bool sh_node_poll_default(struct bNodeType *ntype, | ||||
| struct bNodeTree *ntree, | struct bNodeTree *ntree, | ||||
| const char **r_disabled_hint); | const char **r_disabled_hint); | ||||
| void sh_node_type_base( | void sh_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass); | ||||
| struct bNodeType *ntype, int type, const char *name, short nclass, short flag); | void sh_fn_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass); | ||||
| void sh_fn_node_type_base( | |||||
| struct bNodeType *ntype, int type, const char *name, short nclass, short flag); | |||||
| /* ********* exec data struct, remains internal *********** */ | /* ********* exec data struct, remains internal *********** */ | ||||
| typedef struct ShaderCallData { | typedef struct ShaderCallData { | ||||
| /* Empty for now, may be reused if we convert shader to texture nodes. */ | /* Empty for now, may be reused if we convert shader to texture nodes. */ | ||||
| int dummy; | int dummy; | ||||
| } ShaderCallData; | } ShaderCallData; | ||||
| Show All 28 Lines | |||||