Blender  V3.3
Macros | Functions
gpu_shader_2D_widget_info.hh File Reference
#include "gpu_interface_info.hh"
#include "gpu_shader_create_info.hh"

Go to the source code of this file.

Macros

#define MAX_PARAM   12
 
#define MAX_INSTANCE   6
 

Functions

define("MAX_PARAM", STRINGIFY(MAX_PARAM)) .push_constant(Type do_static_compilation (true) .define("widgetID"
 
define("MAX_PARAM", STRINGIFY(MAX_PARAM)) .push_constant(Type push_constant (Type::VEC4, "parameters", MAX_PARAM) .additional_info("gpu_shader_2D_widget_shared")
 
gl_InstanceID push_constant (Type::VEC4, "parameters",(MAX_PARAM *MAX_INSTANCE)) .additional_info("gpu_shader_2D_widget_shared")
 

Macro Definition Documentation

◆ MAX_INSTANCE

#define MAX_INSTANCE   6

Definition at line 24 of file gpu_shader_2D_widget_info.hh.

◆ MAX_PARAM

#define MAX_PARAM   12

Definition at line 23 of file gpu_shader_2D_widget_info.hh.

Function Documentation

◆ do_static_compilation()

define ("MAX_PARAM", STRINGIFY(MAX_PARAM)) .push_constant(Type do_static_compilation ( true  )

◆ push_constant() [1/2]

define ("MAX_PARAM", STRINGIFY(MAX_PARAM)) .push_constant(Type push_constant ( Type::VEC4  ,
"parameters"  ,
MAX_PARAM   
)

◆ push_constant() [2/2]

gl_InstanceID push_constant ( Type::VEC4  ,
"parameters"  ,
(MAX_PARAM *MAX_INSTANCE  
)