The main goal here is to move towards more self contained node definitions. Previously, one would have to change `blenkernel` to add a new node which is not necessary anymore. There is no need for all these register functions to "leak out" of the nodes module. Differential Revision: https://developer.blender.org/D16612
37 lines
934 B
C++
37 lines
934 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2005 Blender Foundation. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup nodes
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "BKE_node.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern struct bNodeTreeType *ntreeType_Texture;
|
|
|
|
void ntreeTexCheckCyclics(struct bNodeTree *ntree);
|
|
struct bNodeTreeExec *ntreeTexBeginExecTree(struct bNodeTree *ntree);
|
|
void ntreeTexEndExecTree(struct bNodeTreeExec *exec);
|
|
int ntreeTexExecTree(struct bNodeTree *ntree,
|
|
struct TexResult *target,
|
|
const float co[3],
|
|
float dxt[3],
|
|
float dyt[3],
|
|
int osatex,
|
|
short thread,
|
|
const struct Tex *tex,
|
|
short which_output,
|
|
int cfra,
|
|
int preview,
|
|
struct MTex *mtex);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|