Blender  V3.3
Functions
gpu_shader_2D_point_varying_size_varying_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
 
size vertex_in (2, Type::VEC4, "color") .vertex_out(smooth_color_iface) .fragment_out(0
 
size fragColor push_constant (Type::MAT4, "ModelViewProjectionMatrix") .vertex_source("gpu_shader_2D_point_varying_size_varying_color_vert.glsl") .fragment_source("gpu_shader_point_varying_color_frag.glsl") .do_static_compilation(true)
 

Function Documentation

◆ push_constant()

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

◆ vertex_in() [1/2]

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

◆ vertex_in() [2/2]

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