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

GPU buffer implementations (device-backed). More...

#include "./Buffer.hpp"
#include "./GfxDevice.hpp"
#include "../../core/Log.hpp"
Include dependency graph for Buffer.cpp:

Go to the source code of this file.

Namespaces

namespace  esengine

Functions

u32 esengine::shaderDataTypeSize (ShaderDataType type)
 Gets the size in bytes of a shader data type.
u32 esengine::shaderDataTypeComponentCount (ShaderDataType type)
 Gets the component count of a shader data type.

Detailed Description

GPU buffer implementations (device-backed).

VertexBuffer and IndexBuffer delegate every GPU operation to GfxDevice. This file contains no GL calls.

Author
ESEngine Team
Date
2025

Definition in file Buffer.cpp.