AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ATexturedBrush Struct Reference

#include <AUI/Render/ABrush.h>

Signals and public fields

_< ITexturetexture
 
AOptional< glm::vec2 > uv1
 
AOptional< glm::vec2 > uv2
 
ImageRendering imageRendering = ImageRendering::PIXELATED
 
Repeat repeat = Repeat::NONE
 

Detailed Description

Brush which draws texture (raster image).

Member Data Documentation

◆ imageRendering

ImageRendering ATexturedBrush::imageRendering = ImageRendering::PIXELATED

Optional. Controls how does the image is scaled.

Warning!
When set to ImageRendering::SMOOTH, on software renderer it produces extra CPU costs.

◆ repeat

Repeat ATexturedBrush::repeat = Repeat::NONE

Optional. Controls how does the image behaves when it's size is not enough to cover the whole rect.

◆ uv1

AOptional<glm::vec2> ATexturedBrush::uv1

Optional. Top left UV coords of the texture.

Warning!
When set, on software renderer it produces extra CPU costs.

◆ uv2

AOptional<glm::vec2> ATexturedBrush::uv2

Optional. Bottom right UV coords of the texture.

Warning!
When set, on software renderer it produces extra CPU costs.

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