AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Brush which draws texture (raster image).
Signals and public fields | |
_< ITexture > | texture |
AOptional< glm::vec2 > | uv1 |
AOptional< glm::vec2 > | uv2 |
ImageRendering | imageRendering = ImageRendering::PIXELATED |
Repeat | repeat = Repeat::NONE |
ImageRendering ATexturedBrush::imageRendering = ImageRendering::PIXELATED |
Optional. Controls how does the image is scaled.
ImageRendering::SMOOTH
, on software renderer it produces extra CPU costs. Repeat ATexturedBrush::repeat = Repeat::NONE |
Optional. Controls how does the image behaves when it's size is not enough to cover the whole rect.
AOptional<glm::vec2> ATexturedBrush::uv1 |
Optional. Top left UV coords of the texture.
AOptional<glm::vec2> ATexturedBrush::uv2 |
Optional. Bottom right UV coords of the texture.
#include <AUI/Render/ABrush.h>