Rendu
A lightweight rendering engine for experimentations
|
Menu button vertex shader. More...
Public Member Functions | |
void | main () |
Public Attributes | |
in vec3 | v |
Position. | |
uniform vec2 | position |
Image position. | |
uniform vec2 | scale |
Image scale. | |
uniform float | depth |
Image Z-layer. | |
Menu button vertex shader.
|
inline |
Compute the position of the button on screen.