AUI Framework
develop
Cross-platform base for C++ UI apps
|
#include <AUI/Render/ABrush.h>
Signals and public fields | |
_< ITexture > | texture |
AOptional< glm::vec2 > | uv1 |
AOptional< glm::vec2 > | uv2 |
ImageRendering | imageRendering = ImageRendering::PIXELATED |
Repeat | repeat = Repeat::NONE |
Brush which draws texture (raster image).
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.