Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::DrawParamSlot Struct Reference

One lifted uniform's slot in a shader's std140 DrawParams block. More...

#include <DrawParams.hpp>

Public Attributes

std::string name
DrawParamType type = DrawParamType::Float
u32 offset = 0
 std140 byte offset within the block.

Detailed Description

One lifted uniform's slot in a shader's std140 DrawParams block.

Definition at line 56 of file DrawParams.hpp.

Member Data Documentation

◆ name

std::string esengine::DrawParamSlot::name

Definition at line 57 of file DrawParams.hpp.

◆ offset

u32 esengine::DrawParamSlot::offset = 0

std140 byte offset within the block.

Definition at line 59 of file DrawParams.hpp.

◆ type

DrawParamType esengine::DrawParamSlot::type = DrawParamType::Float

Definition at line 58 of file DrawParams.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/draw/DrawParams.hpp