Blender  V2.93
Functions | Variables
node_shader_gamma.c File Reference
#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_gamma (void *UNUSED(data), int UNUSED(thread), bNode *UNUSED(node), bNodeExecData *UNUSED(execdata), bNodeStack **in, bNodeStack **out)
 
static int node_shader_gpu_gamma (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_gamma (void)
 

Variables

static bNodeSocketTemplate sh_node_gamma_in []
 
static bNodeSocketTemplate sh_node_gamma_out []
 

Function Documentation

◆ node_shader_exec_gamma()

static void node_shader_exec_gamma ( void *  UNUSEDdata,
int   UNUSEDthread,
bNode UNUSEDnode,
bNodeExecData UNUSEDexecdata,
bNodeStack **  in,
bNodeStack **  out 
)
static

◆ node_shader_gpu_gamma()

static int node_shader_gpu_gamma ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

Definition at line 52 of file node_shader_gamma.c.

References GPU_stack_link(), and node.

Referenced by register_node_type_sh_gamma().

◆ register_node_type_sh_gamma()

void register_node_type_sh_gamma ( void  )

Variable Documentation

◆ sh_node_gamma_in

bNodeSocketTemplate sh_node_gamma_in[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color"), 1.0f, 1.0f, 1.0f, 1.0f},
{SOCK_FLOAT, N_("Gamma"), 1.0f, 0.0f, 0.0f, 0.0f, 0.001f, 10.0f, PROP_UNSIGNED},
{-1, ""},
}
#define N_(msgid)
@ SOCK_FLOAT
@ SOCK_RGBA
@ PROP_UNSIGNED
Definition: RNA_types.h:129

Definition at line 24 of file node_shader_gamma.c.

Referenced by register_node_type_sh_gamma().

◆ sh_node_gamma_out

bNodeSocketTemplate sh_node_gamma_out[]
static
Initial value:
= {
{SOCK_RGBA, N_("Color")},
{-1, ""},
}

Definition at line 30 of file node_shader_gamma.c.

Referenced by register_node_type_sh_gamma().