MochiEngine
Loading...
Searching...
No Matches
Mochi::Graphics::RenderCommand Struct Reference

Defines a full rendering unit, which for the purpose of the engine is a texture (or part of it) on a specific point in space. Additionaly, it allows to present the texture based on the world or the screen position and in a tiled format, if needed. If TiledRenderOptions is not set, the texture will not be tiled. More...

#include <RenderCommand.h>

Public Attributes

ITexturetexture
Rectf sourceRect
Rectf destRect
unsigned int zindex
RenderCommandPositionType PositionType = RenderCommandPositionWorld
std::optional< TiledRenderOptions > TiledRenderOptions

Detailed Description

Defines a full rendering unit, which for the purpose of the engine is a texture (or part of it) on a specific point in space. Additionaly, it allows to present the texture based on the world or the screen position and in a tiled format, if needed. If TiledRenderOptions is not set, the texture will not be tiled.


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