|
Blender V5.3
|
#include <gpu_shader_widget_base.bsl.hh>
Public Member Functions | |
| Widget | get_widget (int index) |
| float4 | do_checkerboard (float2 frag_co) |
Public Attributes | |
| ShaderCreateInfo | gpu_srgb_to_framebuffer_space |
| const float4x4 | ModelViewProjectionMatrix |
| const float3 | checkerColorAndSize |
| const bool | instanced |
| const float4 | parameters_inst [MAX_PARAM *MAX_INSTANCE] |
| const float4 | parameters [MAX_PARAM] |
Definition at line 233 of file gpu_shader_widget_base.bsl.hh.
Definition at line 267 of file gpu_shader_widget_base.bsl.hh.
References checkerColorAndSize, mod, float2::x, float2::y, and float3::z.
|
inline |
Unpack widget data passed as raw array of float4 through push constants.
Definition at line 246 of file gpu_shader_widget_base.bsl.hh.
References builtin::widget::WidgetRaw::data, index, instanced, MAX_PARAM, parameters, parameters_inst, static_branch, and unroll.
| const float3 builtin::widget::Resources::checkerColorAndSize |
Definition at line 237 of file gpu_shader_widget_base.bsl.hh.
Referenced by do_checkerboard().
| ShaderCreateInfo builtin::widget::Resources::gpu_srgb_to_framebuffer_space |
Definition at line 234 of file gpu_shader_widget_base.bsl.hh.
| const bool builtin::widget::Resources::instanced |
Definition at line 239 of file gpu_shader_widget_base.bsl.hh.
Referenced by get_widget().
| const float4x4 builtin::widget::Resources::ModelViewProjectionMatrix |
Definition at line 236 of file gpu_shader_widget_base.bsl.hh.
Definition at line 243 of file gpu_shader_widget_base.bsl.hh.
Referenced by get_widget().
| const float4 builtin::widget::Resources::parameters_inst[MAX_PARAM *MAX_INSTANCE] |
Definition at line 242 of file gpu_shader_widget_base.bsl.hh.
Referenced by get_widget().