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

Abstract graphics device interface. More...

#include "../../core/Types.hpp"
#include "../draw/BlendMode.hpp"
#include "./GfxContent.hpp"
#include "./GfxEnums.hpp"
#include "./GfxResourceRegistry.hpp"
#include "./PipelineState.hpp"
#include <functional>
#include <map>
#include <string>
#include <utility>
#include <vector>
Include dependency graph for GfxDevice.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esengine::GfxLiveObjects
 GPU objects the device has created and not yet destroyed. More...
class  esengine::GfxDevice
 Abstract graphics device interface. More...
struct  esengine::GfxDevice::Viewport
 The viewport last set, so a pass that borrows the device can give it back. More...

Namespaces

namespace  esengine

Variables

static constexpr u32 esengine::GFX_INVALID_UNIFORM_BLOCK = 0xFFFFFFFFu
 Sentinel returned by getUniformBlockIndex when a program has no such block (GL_INVALID_INDEX).
static constexpr u32 esengine::GFX_UNIFORM_OFFSET_ALIGNMENT = 256
 What a uniform binding's offset must be a multiple of: the largest either API may ask.

Detailed Description

Abstract graphics device interface.

The render backend boundary (RHI). Upper-layer code (DrawList, RenderFrame, plugins) depends only on this interface: typed resource handles created from descriptors, immutable pipelines, and draw submission. Concrete backends (GLDevice today; WebGPU and native APIs later) own every API-specific concept behind it.

Author
ESEngine Team
Date
2026

Definition in file GfxDevice.hpp.