Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
eng::RenderCommand2D Struct Reference

#include <RenderQueue.h>

+ Collaboration diagram for eng::RenderCommand2D:

Public Attributes

glm::mat4 modelMatrix
 
Texturetexture = nullptr
 
glm::vec4 color
 
glm::vec2 size
 
glm::vec2 lowerLeftUV
 
glm::vec2 upperRightUV
 
glm::vec2 pivot
 

Detailed Description

Definition at line 22 of file RenderQueue.h.

Member Data Documentation

◆ color

glm::vec4 eng::RenderCommand2D::color

Definition at line 26 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ lowerLeftUV

glm::vec2 eng::RenderCommand2D::lowerLeftUV

Definition at line 28 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ modelMatrix

glm::mat4 eng::RenderCommand2D::modelMatrix

Definition at line 24 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ pivot

glm::vec2 eng::RenderCommand2D::pivot

Definition at line 30 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ size

glm::vec2 eng::RenderCommand2D::size

Definition at line 27 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ texture

Texture* eng::RenderCommand2D::texture = nullptr

Definition at line 25 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().

◆ upperRightUV

glm::vec2 eng::RenderCommand2D::upperRightUV

Definition at line 29 of file RenderQueue.h.

Referenced by eng::SpriteComponent::Update().


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