Go to the source code of this file.
|
| vertex_in (0, Type::VEC3, "pos") .vertex_in(1 |
|
color | vertex_in (2, Type::FLOAT, "size") .vertex_in(3 |
|
color InstanceModelMatrix | vertex_out (flat_color_iface) .fragment_out(0 |
|
color InstanceModelMatrix fragColor | push_constant (Type::MAT4, "ViewProjectionMatrix") .vertex_source("gpu_shader_instance_variying_size_variying_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 InstanceModelMatrix fragColor push_constant |
( |
Type::MAT4 |
, |
|
|
"ViewProjectionMatrix" |
|
|
) |
| |
◆ vertex_in() [1/2]
vertex_in |
( |
0 |
, |
|
|
Type::VEC3 |
, |
|
|
"pos" |
|
|
) |
| |
◆ vertex_in() [2/2]
◆ vertex_out()
color InstanceModelMatrix vertex_out |
( |
flat_color_iface |
| ) |
|