pixel_engine_backend 0.8.0

An thin layer around wgpu that allow the modification of a texutre displayed on the screen
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#version 450

layout(location=0) in vec3 a_position;
// Changed
layout(location=1) in vec3 a_tex_coords;
layout(location=2) in vec4 a_tint;
// Changed
layout(location=0) out vec3 v_tex_coords;
layout(location=1) out vec4 f_tint;
void main() {
    // Changed
    v_tex_coords = a_tex_coords;
    f_tint = a_tint;
    
	gl_Position = vec4(a_position, 1.0);
}