Blender  V3.3
Functions
gpu_shader_2D_smooth_color_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::VEC2, "pos") .vertex_in(1
 
color vertex_out (smooth_color_iface) .fragment_out(0
 
color fragColor push_constant (Type::MAT4, "ModelViewProjectionMatrix") .vertex_source("gpu_shader_2D_smooth_color_vert.glsl") .fragment_source("gpu_shader_2D_smooth_color_frag.glsl") .additional_info("gpu_srgb_to_framebuffer_space") .do_static_compilation(true)
 

Function Documentation

◆ push_constant()

color fragColor push_constant ( Type::MAT4  ,
"ModelViewProjectionMatrix"   
)

◆ vertex_in()

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

◆ vertex_out()

color vertex_out ( smooth_color_iface  )