Blender  V3.3
Functions
gpu_shader_2D_image_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
 
texCoord vertex_out (smooth_tex_coord_interp_iface) .fragment_out(0
 
texCoord fragColor push_constant (Type::MAT4, "ModelViewProjectionMatrix") .sampler(0
 
texCoord fragColor image vertex_source ("gpu_shader_2D_image_vert.glsl")
 
 additional_info ("gpu_shader_2D_image_common") .fragment_source("gpu_shader_image_frag.glsl") .do_static_compilation(true)
 

Function Documentation

◆ additional_info()

additional_info ( "gpu_shader_2D_image_common"  )

◆ push_constant()

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

◆ vertex_in()

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

◆ vertex_out()

texCoord vertex_out ( smooth_tex_coord_interp_iface  )

◆ vertex_source()

texCoord fragColor image vertex_source ( "gpu_shader_2D_image_vert.glsl"  )