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

The last value a program was given for one uniform, replayed after a relink. More...

#include <GfxResourceRegistry.hpp>

Public Types

enum class  Type : u8 {
  None , Int , Float , Vec2 ,
  Vec3 , Vec4 , Mat3 , Mat4
}

Public Attributes

Type type = Type::None
i32 i = 0
f32 f [16] = {}

Detailed Description

The last value a program was given for one uniform, replayed after a relink.

Definition at line 32 of file GfxResourceRegistry.hpp.

Member Enumeration Documentation

◆ Type

enum class esengine::GfxUniformValue::Type : u8
strong
Enumerator
None 
Int 
Float 
Vec2 
Vec3 
Vec4 
Mat3 
Mat4 

Definition at line 33 of file GfxResourceRegistry.hpp.

Member Data Documentation

◆ f

◆ i

i32 esengine::GfxUniformValue::i = 0

◆ type


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