VISU - PHP Game Framework

DebugOverlayTextRenderer
in package

Table of Contents

Properties

$lineHeight  : int
The line height of the font
$fontAtlas  : BitmapFontAtlas
$fontTexture  : Texture
The GL texture id of the font atlas
$glstate  : GLState
$shaderProgram  : ShaderProgram
The debug font shader program.
$VAO  : int
GL Vertex array object id
$VBO  : int
GL Vertex buffer object id

Methods

__construct()  : mixed
Constructor
attachPass()  : void
Attaches a render pass to the pipeline
loadDebugFontAtlas()  : BitmapFontAtlas
Loads the cozette font and returns a BitmapFontAtlas.
createVAO()  : void
Creates the vertex array and buffer objects
fillVertexBufferForText()  : int
Fills the given buffer object with the vertices for the given text.

Properties

Methods


        
On this page

Search results