Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
Handle.hpp File Reference

Type-safe resource handle system. More...

#include "../core/Types.hpp"
#include <functional>
Include dependency graph for Handle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  esengine::resource::Handle< T >
 Type-safe resource handle. More...
class  esengine::resource::SharedHandle< T >
 RAII wrapper around Handle that auto-releases on destruction. More...
struct  std::hash< esengine::resource::Handle< T > >

Namespaces

namespace  esengine
namespace  esengine::resource
namespace  esengine::spine
namespace  esengine::text
namespace  std

Typedefs

using esengine::resource::ShaderHandle = Handle<esengine::Shader>
 Handle to a shader resource.
using esengine::resource::TextureHandle = Handle<esengine::Texture>
 Handle to a texture resource.
using esengine::resource::VertexBufferHandle = Handle<esengine::VertexBuffer>
 Handle to a vertex buffer resource.
using esengine::resource::IndexBufferHandle = Handle<esengine::IndexBuffer>
 Handle to an index buffer resource.
using esengine::resource::MeshHandle = Handle<esengine::Mesh>
 Handle to GPU-resident geometry.
using esengine::resource::EnvironmentHandle = Handle<esengine::Environment>
 Handle to a baked environment (irradiance + prefiltered reflection).
using esengine::resource::ProbeVolumeHandle = Handle<esengine::ProbeVolume>
 Handle to a grid of baked irradiance.
using esengine::resource::SpineDataHandle = Handle<esengine::spine::SpineSkeletonData>
 Handle to a Spine skeleton data resource (vestigial — see fwd decl).
using esengine::resource::BitmapFontHandle = Handle<esengine::text::BitmapFont>
 Handle to a bitmap font resource.
using esengine::resource::SharedShaderHandle = SharedHandle<esengine::Shader>
 RAII handle to a shader resource.
using esengine::resource::SharedTextureHandle = SharedHandle<esengine::Texture>
 RAII handle to a texture resource.
using esengine::resource::SharedBitmapFontHandle = SharedHandle<esengine::text::BitmapFont>
 RAII handle to a bitmap font resource.

Detailed Description

Type-safe resource handle system.

Provides lightweight, type-safe handles for referencing GPU resources without exposing raw pointers or ownership semantics.

Author
ESEngine Team
Date
2026

Definition in file Handle.hpp.