Blender  V3.3
Functions
gpu_shader_instance_varying_color_varying_size_info.hh File Reference
#include "gpu_interface_info.hh"
#include "gpu_shader_create_info.hh"

Go to the source code of this file.

Functions

 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)
 

Function Documentation

◆ push_constant()

color InstanceModelMatrix fragColor push_constant ( Type::MAT4  ,
"ViewProjectionMatrix"   
)

◆ vertex_in() [1/2]

vertex_in ( ,
Type::VEC3  ,
"pos"   
)

◆ vertex_in() [2/2]

color vertex_in ( ,
Type::FLOAT  ,
"size"   
)

◆ vertex_out()

color InstanceModelMatrix vertex_out ( flat_color_iface  )