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

Where one draw's entry is: a texel of the record texture. More...

#include <InstanceConstants.hpp>

Public Attributes

u32 entry = 0
u32 pad [3] {}

Detailed Description

Where one draw's entry is: a texel of the record texture.

Definition at line 45 of file InstanceConstants.hpp.

Member Data Documentation

◆ entry

u32 esengine::InstanceConstants::entry = 0

Definition at line 46 of file InstanceConstants.hpp.

◆ pad

u32 esengine::InstanceConstants::pad[3] {}

std140 rounds a block up to a vec4 anyway; naming the rest keeps the C++ size equal to what the shader's block occupies rather than nearly equal.

Definition at line 49 of file InstanceConstants.hpp.


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