Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::shader::programs::OffsetParams Struct Reference

Uniform layout for finite pixel shifts in the admitted [-4096, 4096] range, split per axis by SplitPixelShift. More...

#include "donner/gpu/shader/programs/Offset.h"

Public Attributes

int32_t shiftX
 Whole-pixel base along x.
int32_t shiftY
 Whole-pixel base along y.
float weightX
 Constant blend weight along x.
float weightY
 Constant blend weight along y.

Detailed Description

Uniform layout for finite pixel shifts in the admitted [-4096, 4096] range, split per axis by SplitPixelShift.

Member Data Documentation

◆ shiftX

int32_t donner::gpu::shader::programs::OffsetParams::shiftX

Whole-pixel base along x.

◆ shiftY

int32_t donner::gpu::shader::programs::OffsetParams::shiftY

Whole-pixel base along y.

◆ weightX

float donner::gpu::shader::programs::OffsetParams::weightX

Constant blend weight along x.

◆ weightY

float donner::gpu::shader::programs::OffsetParams::weightY

Constant blend weight along y.


The documentation for this struct was generated from the following file: