|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
A material's bound texture at a sampler unit. More...
#include <MaterialStore.hpp>
Public Attributes | |
| u32 | unit = 0 |
| resource::TextureHandle | texture |
A material's bound texture at a sampler unit.
Definition at line 89 of file MaterialStore.hpp.
| resource::TextureHandle esengine::MaterialTextureBinding::texture |
The resource handle, NOT a resolved GPU id. Resolving at bind time is what lets the texture behind it be re-uploaded — by a hot update, or by a device loss — without every material that references it having to be re-bound.
Definition at line 94 of file MaterialStore.hpp.
| u32 esengine::MaterialTextureBinding::unit = 0 |
Definition at line 90 of file MaterialStore.hpp.