Skip to main content

Module gpu_types

Module gpu_types 

Source

Structs§

BlurInstance
BorderInstance
BrushFlags
Flags that define how the common brush shader code should process this instance.
BrushInstance
Convenience structure to encode into PrimitiveInstanceData.
BrushSegmentGpuData
ClearInstance
Vertex format for issuing colored quads.
ClipMaskInstanceCommon
ClipMaskInstanceRect
CompositeInstance
Vertex format for picture cache composite shader. When editing the members, update desc::COMPOSITE so its list of instance_attributes matches:
CopyInstance
GlyphInstance
ImageBrushPrimitiveData
ImageBrushUserData
Convenience structure to encode into the image brush’s user data.
ImageSource
MaskInstance
PrimitiveHeader
PrimitiveHeaderF
PrimitiveHeaderI
PrimitiveHeaderIndex
PrimitiveHeaders
PrimitiveInstanceData
QuadHeader
Matches QuadHeader in ps_quad.glsl
QuadInstance
QuadPrimitive
Matches QuadPrimitive in ps_quad.glsl
QuadSegment
Matches QuadSegment in ps_quad.glsl
SVGFEFilterInstance
ScalingInstance
SplitCompositeInstance
YuvPrimitive
Matches YuvPrimitive in yuv.glsl
ZBufferId
ZBufferIdGenerator

Enums§

BlurDirection
BlurEdgeMode
BorderSegment
ClipSpace
The cooridnate space that the clip geometry (the quad rect) is relative to.
RasterizationSpace
UvRectKind

Constants§

UV_TYPE_NORMALIZED 🔒
Specifies that an RGB CompositeInstance or ScalingInstance’s UV coordinates are normalized.
UV_TYPE_UNNORMALIZED 🔒
Specifies that an RGB CompositeInstance or ScalingInstance’s UV coordinates are not normalized.
VECS_PER_QUAD_SEGMENT
VECS_PER_SPECIFIC_BRUSH
VECS_PER_TRANSFORM

Functions§

get_shader_opacity