13StaticShader ShaderModule::shader_clippable(
const char *create_info_name)
15 std::string
name = create_info_name;
17 if (clipping_enabled_) {
24StaticShader ShaderModule::shader_selectable(
const char *create_info_name)
26 std::string
name = create_info_name;
28 if (selection_type_ != SelectionType::DISABLED) {
29 name +=
"_selectable";
32 if (clipping_enabled_) {
39StaticShader ShaderModule::shader_selectable_no_clip(
const char *create_info_name)
41 std::string
name = create_info_name;
43 if (selection_type_ != SelectionType::DISABLED) {
44 name +=
"_selectable";
54 int selection_index = selection_type == SelectionType::DISABLED ? 0 : 1;
55 return get_static_cache()[selection_index][clipping_enabled].get(selection_type,
63 get_static_cache()[
i][j].release();
static void module_free()
static ShaderModule * module_get()
gpu::StaticShader StaticShader
select::SelectionType SelectionType