Skip to content

File include/brisk/graphics/RenderState.hpp


GradientColors class

GradientColors

GradientPoints class

GradientPoints

GeometryGlyph class

GeometryGlyph

GeometryRectangle class

GeometryRectangle

GeometryArc class

GeometryArc

PatternCodes class

PatternCodes

ConstantPerFrame class

ConstantPerFrame

RenderState class

RenderState

RenderStateEx class

RenderStateEx

SubpixelMode class (Tag::SubpixelMode)

SubpixelMode

FillColor class (Tag::FillColor)

FillColor

StrokeColor class (Tag::StrokeColor)

StrokeColor

FillColors class (Tag::FillColors)

FillColors

StrokeColors class (Tag::StrokeColors)

StrokeColors

PaintOpacity class (Tag::PaintOpacity)

PaintOpacity

ContourSize class (Tag::ContourSize)

ContourSize

ContourColor class (Tag::ContourColor)

ContourColor

StrokeWidth class (Tag::StrokeWidth)

StrokeWidth

Multigradient class (Tag::Multigradient)

Multigradient

FillGradient class (Tag::FillGradient)

template <GradientType grad_type> FillGradient

Scissor class (Tag::Scissor)

Scissor

Patterns class (Tag::Patterns)

Patterns

BlurRadius class (Tag::BlurRadius)

BlurRadius

BlurDirections class (Tag::BlurDirections)

BlurDirections

TextureChannel class (Tag::TextureChannel)

TextureChannel

ContourFlags class (Tag::ContourFlags)

ContourFlags

CoordMatrix class (Tag::CoordMatrix)

CoordMatrix

SamplerMode class (Tag::SamplerMode)

SamplerMode

RenderBuffer class

RenderBuffer

RenderState class

RenderState

dataOffset variable (RenderState::dataOffset)

int dataOffset = 0

Offset in data4 for current operation (multiply by 4 to get offset in data1)

dataSize variable (RenderState::dataSize)

int dataSize = 0

Data size in floats

instances variable (RenderState::instances)

int instances = 1

Number of quads to render

shader variable (RenderState::shader)

ShaderType shader = ShaderType::Rectangles

Type of geometry to generate

textureId variable (RenderState::textureId)

TextureId textureId = textureIdNone

scissorsBorderRadius variable (RenderState::scissorsBorderRadius)

float scissorsBorderRadius = 0.f

scissorsCorners variable (RenderState::scissorsCorners)

int scissorsCorners = 0

coordMatrix variable (RenderState::coordMatrix)

Matrix coordMatrix

opacity variable (RenderState::opacity)

float opacity = 1.f

Opacity. Defaults to 1

scissor variable (RenderState::scissor)

RectangleF scissor

Clip area in screen space

multigradient variable (RenderState::multigradient)

int32_t multigradient = -1

Gradient (-1 - disabled)

blurDirections variable (RenderState::blurDirections)

int blurDirections = 3

0 - disable, 1 - H, 2 - V, 3 - H&V

textureChannel variable (RenderState::textureChannel)

int textureChannel = 0

textureMatrix variable (RenderState::textureMatrix)

Matrix textureMatrix

samplerMode variable (RenderState::samplerMode)

SamplerMode samplerMode = SamplerMode::Clamp

blurRadius variable (RenderState::blurRadius)

float blurRadius = 0.f

fillColor1 variable (RenderState::fillColor1)

ColorF fillColor1

Fill (brush) color for gradient at 0%

fillColor2 variable (RenderState::fillColor2)

ColorF fillColor2

Fill (brush) color for gradient at 100%

strokeColor1 variable (RenderState::strokeColor1)

ColorF strokeColor1

Stroke (pen) color for gradient at 0%

strokeColor2 variable (RenderState::strokeColor2)

ColorF strokeColor2

Stroke (pen) color for gradient at 100%

gradientPoint1 variable (RenderState::gradientPoint1)

PointF gradientPoint1

0% Gradient point

gradientPoint2 variable (RenderState::gradientPoint2)

PointF gradientPoint2

100% Gradient point

strokeWidth variable (RenderState::strokeWidth)

float strokeWidth = 1.f

Stroke or shadow width. Defaults to 1. Set to 0 to disable


RenderStateEx class

RenderStateEx

RenderStateEx

RenderContext class

RenderContext

Auto-generated from sources, Revision , https://github.com/brisklib/brisk/blob//include/brisk/