Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Vert::Font_sdf Class Reference

Font sdf vertex shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 v
 Position.
 
in vec2 uv
 Uv coordinates.
 
uniform vec2 position
 The position of the anchor point on screen.
 
uniform float ratio
 The screen aspect ratio.
 
out vec2 uv
 Texture coordinates.
 

Detailed Description

Font sdf vertex shader.

Member Function Documentation

◆ main()

void GPUShaders::Vert::Font_sdf::main ( )
inline

Compute the 2D position of the glyph on screen.


The documentation for this class was generated from the following file: