28 const char **r_disabled_hint)
31 *r_disabled_hint =
TIP_(
"Not a texture node tree");
62 memcpy(
out, in->
vec, num *
sizeof(
float));
80 out[0] =
out[0] * 0.5f + 0.5f;
81 out[1] =
out[1] * 0.5f + 0.5f;
82 out[2] =
out[2] * 0.5f + 0.5f;
99 out->previewco = in->
co;
void node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
void *(* MEM_mallocN)(size_t len, const char *str)
static const pxr::TfToken out("out", pxr::TfToken::Immortal)
static void texfn(float *result, TexParams *p, bNode *node, bNodeStack **in, MapFn map_inputs, short thread)
void tex_input_vec(float *out, bNodeStack *in, TexParams *params, short thread)
float tex_input_value(bNodeStack *in, TexParams *params, short thread)
void tex_input_rgba(float *out, bNodeStack *in, TexParams *params, short thread)
static void tex_call_delegate(TexDelegate *dg, float *out, TexParams *params, short thread)
void tex_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass)
bool tex_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree, const char **r_disabled_hint)
void tex_output(bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata)
void ntreeTexCheckCyclics(struct bNodeTree *ntree)
void params_from_cdata(TexParams *out, TexCallData *in)
static void tex_input(float *out, int num, bNodeStack *in, TexParams *params, short thread)
void(* TexFn)(float *out, TexParams *params, bNode *node, bNodeStack **in, short thread)
void node_insert_link_default(bNodeTree *ntree, bNode *node, bNodeLink *link)
bNodeStack * in[MAX_SOCKET]
struct bNodeTree * nodetree
struct bNodePreview * preview
bool(* poll)(struct bNodeType *ntype, struct bNodeTree *nodetree, const char **r_disabled_hint)
void(* insert_link)(struct bNodeTree *ntree, struct bNode *node, struct bNodeLink *link)