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

Uniform displacement scale and channel selectors. More...

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

Public Attributes

float scale
 Displacement scale in pixels.
uint32_t xChannel
 Map channel driving x: zero red, one green, two blue, three alpha.
uint32_t yChannel
 Map channel driving y, with the same encoding.
uint32_t padding
 Reserved layout padding.

Detailed Description

Uniform displacement scale and channel selectors.

Member Data Documentation

◆ padding

uint32_t donner::gpu::shader::programs::DisplacementMapParams::padding

Reserved layout padding.

◆ scale

float donner::gpu::shader::programs::DisplacementMapParams::scale

Displacement scale in pixels.

◆ xChannel

uint32_t donner::gpu::shader::programs::DisplacementMapParams::xChannel

Map channel driving x: zero red, one green, two blue, three alpha.

◆ yChannel

uint32_t donner::gpu::shader::programs::DisplacementMapParams::yChannel

Map channel driving y, with the same encoding.


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