Go to the source code of this file.
|
| vertex_in (0, Type::VEC2, "pos") .vertex_in(1 |
|
color | vertex_out (flat_color_iface) .fragment_out(0 |
|
color fragColor | push_constant (Type::MAT4, "ModelViewProjectionMatrix") .vertex_source("gpu_shader_2D_flat_color_vert.glsl") .fragment_source("gpu_shader_flat_color_frag.glsl") .additional_info("gpu_srgb_to_framebuffer_space") .do_static_compilation(true) |
|
◆ push_constant()
color fragColor push_constant |
( |
Type::MAT4 |
, |
|
|
"ModelViewProjectionMatrix" |
|
|
) |
| |
◆ vertex_in()
vertex_in |
( |
0 |
, |
|
|
Type::VEC2 |
, |
|
|
"pos" |
|
|
) |
| |
◆ vertex_out()
color vertex_out |
( |
flat_color_iface |
| ) |
|