|
| void | putPixel (glm::ivec2 position, AColor color, AOptional< Blending > blending=std::nullopt) noexcept |
| |
| _< IMultiStringCanvas > | newMultiStringCanvas (const AFontStyle &style) override |
| | Creates new canvas for batching multiple prerender string calls.
|
| |
| void | rectangle (const ABrush &brush, glm::vec2 position, glm::vec2 size) override |
| | Draws simple rectangle.
|
| |
| void | roundedRectangle (const ABrush &brush, glm::vec2 position, glm::vec2 size, float radius) override |
| | Draws rounded rect (with antialiasing, if msaa enabled).
|
| |
| void | rectangleBorder (const ABrush &brush, glm::vec2 position, glm::vec2 size, float lineWidth) override |
| | Draws rectangle's border.
|
| |
| void | roundedRectangleBorder (const ABrush &brush, glm::vec2 position, glm::vec2 size, float radius, int borderWidth) override |
| | Draws rounded rectangle's border.
|
| |
| void | boxShadow (glm::vec2 position, glm::vec2 size, float blurRadius, const AColor &color) override |
| | Draws a rectangle-shaped shadow.
|
| |
| void | boxShadowInner (glm::vec2 position, glm::vec2 size, float blurRadius, float spreadRadius, float borderRadius, const AColor &color, glm::vec2 offset) override |
| | Draws inner (inset) rectangle-shaped shadow.
|
| |
| void | string (glm::vec2 position, const AString &string, const AFontStyle &fs) override |
| | Draws string.
|
| |
| _< IPrerenderedString > | prerenderString (glm::vec2 position, const AString &text, const AFontStyle &fs) override |
| | Analyzes string and creates an instance of IRenderer::IPrerenderedString which helps IRenderer to efficiently render the string.
|
| |
| void | setBlending (Blending blending) override |
| | Sets blending mode.
|
| |
| void | setWindow (AWindowBase *window) override |
| | Sets the window to render on.
|
| |
| glm::mat4 | getProjectionMatrix () const override |
| |
| void | pushMaskBefore () override |
| | witches drawing to the stencil buffer instead of color buffer.
|
| |
| void | pushMaskAfter () override |
| | Switches drawing to the color buffer back from the stencil. Increases stencil depth.
|
| |
| void | popMaskBefore () override |
| | Switches drawing to the stencil buffer instead of color buffer.
|
| |
| void | popMaskAfter () override |
| | Switches drawing to the color buffer back from the stencil. Decreases stencil depth.
|
| |
| _unique< IRenderViewToTexture > | newRenderViewToTexture () noexcept override |
| | Returns a new instance of IRenderViewToTexture interface associated with this renderer.
|
| |
| void | lines (const ABrush &brush, AArrayView< glm::vec2 > points, const ABorderStyle &style, AMetric width) override |
| | Draws polyline (non-loop line strip).
|
| |
| void | points (const ABrush &brush, AArrayView< glm::vec2 > points, AMetric size) override |
| | Draws points list.
|
| |
| void | lines (const ABrush &brush, AArrayView< std::pair< glm::vec2, glm::vec2 > > points, const ABorderStyle &style, AMetric width) override |
| | Draws multiple individual lines in a batch.
|
| |
| void | squareSector (const ABrush &brush, const glm::vec2 &position, const glm::vec2 &size, AAngleRadians begin, AAngleRadians end) override |
| | Draws sector in rectangle shape. The sector is drawn clockwise from begin to end angles.
|
| |
|
_< ITexture > | getNewTexture () |
| | Creates new texture (image representation optimized for GPU rendering).
|
| |
| void | line (const ABrush &brush, glm::vec2 p1, glm::vec2 p2, const ABorderStyle &style=ABorderStyle::Solid{}, AMetric width=1_dp) |
| |
| void | lines (const ABrush &brush, AArrayView< glm::vec2 > points, const ABorderStyle &style=ABorderStyle::Solid{}) |
| | Draws polyline (non-loop line strip).
|
| |
| void | lines (const ABrush &brush, AArrayView< std::pair< glm::vec2, glm::vec2 > > points, const ABorderStyle &style=ABorderStyle::Solid{}) |
| | Draws multiple individual lines in a batch.
|
| |
| void | setColorForced (const AColor &color) |
| | Sets the color which is multiplied with any brush.
|
| |
| void | setColor (const AColor &color) |
| | Sets the color which is multiplied with any brush. Unlike setColorForced, the new color is multiplied by the previous color.
|
| |
|
const AColor & | getColor () const |
| |
| void | setTransform (const glm::mat4 &transform) |
| | Sets the transform matrix which is applicable for any figure. Unlike setTransformForced, the new matrix is multiplied by the previous matrix.
|
| |
| void | setTransformForced (const glm::mat4 &transform) |
| | Sets the transform matrix which is applicable for any figure.
|
| |
|
AWindowBase * | getWindow () const noexcept |
| |
|
const glm::mat4 & | getTransform () |
| |
|
std::uint8_t | getStencilDepth () const noexcept |
| |
|
void | setStencilDepth (uint8_t stencilDepth) |
| |
| void | translate (const glm::vec2 &offset) |
| | Wrapper for setTransform applying matrix translate transformation.
|
| |
| void | rotate (const glm::vec3 &axis, AAngleRadians angle) |
| | wrapper for setTransform applying matrix rotation along the specified axis.
|
| |
| void | rotate (AAngleRadians angle) |
| | wrapper for setTransform applying matrix rotation along z axis.
|
| |
|
void | setAllowRenderToTexture (bool allowRenderToTexture) |
| |
|
bool | allowRenderToTexture () const noexcept |
| |
| void | backdrops (glm::ivec2 position, glm::ivec2 size, std::span< ass::Backdrop::Any > backdrops) |
| | Draws rectangular backdrop effects.
|
| |
|
| noncopyable (const noncopyable &)=delete |
| |
|
noncopyable & | operator= (const noncopyable &)=delete |
| |