Euphoria
eu::render::Quad Struct Reference

Public Member Functions

void draw (SpriteBatch *batch, const Rect &screen)

Public Attributes

std::optional< const Texture2d * > texture = std::nullopt
std::optional< Recttexturecoord = std::nullopt
Color tint = eu::colors::white
std::optional< RotateQuadrotation = std::nullopt

Detailed Description

Definition at line 43 of file canvas.h.

Member Function Documentation

◆ draw()

void eu::render::Quad::draw ( SpriteBatch * batch,
const Rect & screen )

Member Data Documentation

◆ rotation

std::optional<RotateQuad> eu::render::Quad::rotation = std::nullopt

Definition at line 48 of file canvas.h.

◆ texture

std::optional<const Texture2d*> eu::render::Quad::texture = std::nullopt

Definition at line 45 of file canvas.h.

◆ texturecoord

std::optional<Rect> eu::render::Quad::texturecoord = std::nullopt

Definition at line 46 of file canvas.h.

◆ tint

Color eu::render::Quad::tint = eu::colors::white

Definition at line 47 of file canvas.h.


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