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

What a renderable's program key is made of, with no say in where the facts came from — a live entity's components, or a PREPARED cell's document. One combination, so the two can be shown to agree. More...

#include <RenderTypePlugin.hpp>

Public Attributes

u32 meshHandle = 0
u32 lit = 0
u32 normalMapHandle = 0
u32 jointCount = 0
u32 materialId = 0

Detailed Description

What a renderable's program key is made of, with no say in where the facts came from — a live entity's components, or a PREPARED cell's document. One combination, so the two can be shown to agree.

One renderable as a PREPARED cell knows it: document fields plus the handles its preparation decoded. Five words, so the boundary that carries it needs no encoding.

Definition at line 181 of file RenderTypePlugin.hpp.

Member Data Documentation

◆ jointCount

u32 esengine::MeshDocumentRecord::jointCount = 0

Definition at line 185 of file RenderTypePlugin.hpp.

◆ lit

u32 esengine::MeshDocumentRecord::lit = 0

Definition at line 183 of file RenderTypePlugin.hpp.

◆ materialId

u32 esengine::MeshDocumentRecord::materialId = 0

Definition at line 186 of file RenderTypePlugin.hpp.

◆ meshHandle

u32 esengine::MeshDocumentRecord::meshHandle = 0

Definition at line 182 of file RenderTypePlugin.hpp.

◆ normalMapHandle

u32 esengine::MeshDocumentRecord::normalMapHandle = 0

Definition at line 184 of file RenderTypePlugin.hpp.


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