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

data_offset variable (RenderState::data_offset)

int data_offset = 0

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

data_size variable (RenderState::data_size)

int data_size = 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

texture_id variable (RenderState::texture_id)

TextureId texture_id = textureIdNone

scissors_borderRadius variable (RenderState::scissors_borderRadius)

float scissors_borderRadius = 0.f

scissors_corners variable (RenderState::scissors_corners)

int scissors_corners = 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

texture_matrix variable (RenderState::texture_matrix)

Matrix texture_matrix

samplerMode variable (RenderState::samplerMode)

SamplerMode samplerMode = SamplerMode::Clamp

blurRadius variable (RenderState::blurRadius)

float blurRadius = 0.f

fill_color1 variable (RenderState::fill_color1)

ColorF fill_color1

Fill (brush) color for gradient at 0%

fill_color2 variable (RenderState::fill_color2)

ColorF fill_color2

Fill (brush) color for gradient at 100%

stroke_color1 variable (RenderState::stroke_color1)

ColorF stroke_color1

Stroke (pen) color for gradient at 0%

stroke_color2 variable (RenderState::stroke_color2)

ColorF stroke_color2

Stroke (pen) color for gradient at 100%

gradient_point1 variable (RenderState::gradient_point1)

PointF gradient_point1

0% Gradient point

gradient_point2 variable (RenderState::gradient_point2)

PointF gradient_point2

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/