KiCad PCB EDA Suite
Loading...
Searching...
No Matches
COMPOSITOR_PUSH_CONSTANTS Struct Reference

Matches the PushConstants block of the compositor shader. More...

#include <rhi_compositor.h>

Public Attributes

float alpha = 1.0f
 
float _pad0 = 0.0f
 
float uvScale [2] = { 1.0f, 1.0f }
 
float uvOffset [2] = { 0.0f, 0.0f }
 

Detailed Description

Matches the PushConstants block of the compositor shader.

Definition at line 51 of file rhi_compositor.h.

Member Data Documentation

◆ _pad0

float COMPOSITOR_PUSH_CONSTANTS::_pad0 = 0.0f

Definition at line 54 of file rhi_compositor.h.

◆ alpha

float COMPOSITOR_PUSH_CONSTANTS::alpha = 1.0f

◆ uvOffset

float COMPOSITOR_PUSH_CONSTANTS::uvOffset[2] = { 0.0f, 0.0f }

Definition at line 56 of file rhi_compositor.h.

Referenced by RHI_COMPOSITOR::compositeLayer().

◆ uvScale

float COMPOSITOR_PUSH_CONSTANTS::uvScale[2] = { 1.0f, 1.0f }

Definition at line 55 of file rhi_compositor.h.

Referenced by RHI_COMPOSITOR::compositeLayer().


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