VISU - PHP Game Framework

QuadVertexArray
in package

Table of Contents

Properties

$state  : GLState
$vertexArray  : int
The vertex array object from GL
$vertexBuffer  : int
The vertex buffer object from GL

Methods

__construct()  : void
Constructor
__destruct()  : void
Destructor
bind()  : void
Binds the vertex array
draw()  : void
Draws the quad

Properties

$vertexArray

The vertex array object from GL

private int $vertexArray

$vertexBuffer

The vertex buffer object from GL

private int $vertexBuffer

Methods


        
On this page

Search results