Blender  V2.93
Functions | Variables
node_texture_tree.c File Reference
#include <string.h>
#include "DNA_node_types.h"
#include "DNA_space_types.h"
#include "DNA_texture_types.h"
#include "BLI_listbase.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_linestyle.h"
#include "BKE_node.h"
#include "BKE_paint.h"
#include "NOD_texture.h"
#include "node_common.h"
#include "node_exec.h"
#include "node_texture_util.h"
#include "node_util.h"
#include "DEG_depsgraph.h"
#include "RNA_access.h"
#include "RE_texture.h"

Go to the source code of this file.

Functions

static void texture_get_from_context (const bContext *C, bNodeTreeType *UNUSED(treetype), bNodeTree **r_ntree, ID **r_id, ID **r_from)
 
static void foreach_nodeclass (Scene *UNUSED(scene), void *calldata, bNodeClassCallback func)
 
static void localize (bNodeTree *localtree, bNodeTree *UNUSED(ntree))
 
static void local_sync (bNodeTree *localtree, bNodeTree *ntree)
 
static void local_merge (Main *UNUSED(bmain), bNodeTree *localtree, bNodeTree *ntree)
 
static void update (bNodeTree *ntree)
 
void register_node_tree_type_tex (void)
 
bNodeTreeExecntreeTexBeginExecTree_internal (bNodeExecContext *context, bNodeTree *ntree, bNodeInstanceKey parent_key)
 
bNodeTreeExecntreeTexBeginExecTree (bNodeTree *ntree)
 
static void tex_free_delegates (bNodeTreeExec *exec)
 
void ntreeTexEndExecTree_internal (bNodeTreeExec *exec)
 
void ntreeTexEndExecTree (bNodeTreeExec *exec)
 
int ntreeTexExecTree (bNodeTree *ntree, TexResult *target, const float co[3], float dxt[3], float dyt[3], int osatex, const short thread, const Tex *UNUSED(tex), short which_output, int cfra, int preview, MTex *mtex)
 

Variables

bNodeTreeTypentreeType_Texture
 

Function Documentation

◆ foreach_nodeclass()

static void foreach_nodeclass ( Scene UNUSEDscene,
void *  calldata,
bNodeClassCallback  func 
)
static

◆ local_merge()

static void local_merge ( Main UNUSEDbmain,
bNodeTree localtree,
bNodeTree ntree 
)
static

Definition at line 140 of file node_texture_tree.c.

References BKE_node_preview_merge_tree(), and ntree.

Referenced by register_node_tree_type_tex().

◆ local_sync()

static void local_sync ( bNodeTree localtree,
bNodeTree ntree 
)
static

Definition at line 135 of file node_texture_tree.c.

References BKE_node_preview_sync_tree(), and ntree.

Referenced by register_node_tree_type_tex().

◆ localize()

static void localize ( bNodeTree localtree,
bNodeTree UNUSEDntree 
)
static

◆ ntreeTexBeginExecTree()

bNodeTreeExec* ntreeTexBeginExecTree ( bNodeTree ntree)

◆ ntreeTexBeginExecTree_internal()

bNodeTreeExec* ntreeTexBeginExecTree_internal ( bNodeExecContext context,
bNodeTree ntree,
bNodeInstanceKey  parent_key 
)

◆ ntreeTexEndExecTree()

void ntreeTexEndExecTree ( bNodeTreeExec exec)

◆ ntreeTexEndExecTree_internal()

void ntreeTexEndExecTree_internal ( bNodeTreeExec exec)

◆ ntreeTexExecTree()

int ntreeTexExecTree ( bNodeTree ntree,
TexResult target,
const float  co[3],
float  dxt[3],
float  dyt[3],
int  osatex,
const short  thread,
const Tex UNUSEDtex,
short  which_output,
int  cfra,
int  preview,
MTex mtex 
)

◆ register_node_tree_type_tex()

void register_node_tree_type_tex ( void  )

◆ tex_free_delegates()

static void tex_free_delegates ( bNodeTreeExec exec)
static

◆ texture_get_from_context()

static void texture_get_from_context ( const bContext C,
bNodeTreeType UNUSEDtreetype,
bNodeTree **  r_ntree,
ID **  r_id,
ID **  r_from 
)
static

◆ update()

static void update ( bNodeTree ntree)
static

Variable Documentation

◆ ntreeType_Texture

bNodeTreeType* ntreeType_Texture