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

Quad3 class

Quad3

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

coordMatrix variable (RenderState::coordMatrix)

Matrix coordMatrix

opacity variable (RenderState::opacity)

float opacity = 1.f

Opacity. Defaults to 1

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

staticMetaClass function (RenderContext::staticMetaClass)

BRISK_DYNAMIC_CLASS_ROOT(RenderContext)

\Returns a pointer to the static metadata of this class. \
Returns Const pointer to the MetaClass instance. \

dynamicMetaClass function (RenderContext::dynamicMetaClass)

BRISK_DYNAMIC_CLASS_ROOT(RenderContext)

\Returns a pointer to the dynamic metadata of this instance. \
Returns Const pointer to the MetaClass instance. \


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