Blender V5.3
blender::nodes::node_composite_posterize_cc Namespace Reference

Typedefs

using Color

Functions

static void node_declare (NodeDeclarationBuilder &b)
static int node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *inputs, GPUNodeStack *outputs)
static float4 posterize (const float4 &color, const float steps)
static void node_build_multi_function (nodes::NodeMultiFunctionBuilder &builder)
static void node_register ()

Typedef Documentation

◆ Color

Definition at line 96 of file COM_result.hh.

Function Documentation

◆ node_build_multi_function()

void blender::nodes::node_composite_posterize_cc::node_build_multi_function ( nodes::NodeMultiFunctionBuilder & builder)
static

◆ node_declare()

void blender::nodes::node_composite_posterize_cc::node_declare ( NodeDeclarationBuilder & b)
static

Definition at line 21 of file node_composite_posterize.cc.

References b, and node_declare().

Referenced by node_declare(), and node_register().

◆ node_gpu_material()

int blender::nodes::node_composite_posterize_cc::node_gpu_material ( GPUMaterial * material,
bNode * node,
bNodeExecData * ,
GPUNodeStack * inputs,
GPUNodeStack * outputs )
static

Definition at line 34 of file node_composite_posterize.cc.

References blender::GPU_stack_link(), node, and node_gpu_material().

Referenced by node_gpu_material(), and node_register().

◆ node_register()

◆ posterize()

float4 blender::nodes::node_composite_posterize_cc::posterize ( const float4 & color,
const float steps )
static