Zen 0.3.0
Loading...
Searching...
No Matches
QuadBuilder Class Reference

Public Member Functions

void init (std::shared_ptr< Zen::Shader > shader)
void drawQuad (const glm::vec2 &position, const glm::vec2 &size, const glm::vec4 &colour)
const std::shared_ptr< Zen::VertexArray > & vao () const
const std::shared_ptr< Zen::Shader > & shader () const

Detailed Description

Definition at line 10 of file QuadBuilder.h.

Member Function Documentation

◆ drawQuad()

void QuadBuilder::drawQuad ( const glm::vec2 & position,
const glm::vec2 & size,
const glm::vec4 & colour )

Definition at line 28 of file QuadBuilder.cpp.

◆ init()

void QuadBuilder::init ( std::shared_ptr< Zen::Shader > shader)

Definition at line 9 of file QuadBuilder.cpp.

◆ shader()

const std::shared_ptr< Zen::Shader > & QuadBuilder::shader ( ) const
inline

Definition at line 19 of file QuadBuilder.h.

◆ vao()

const std::shared_ptr< Zen::VertexArray > & QuadBuilder::vao ( ) const
inline

Definition at line 18 of file QuadBuilder.h.


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