Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
PlanarConstants.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
3#pragma once
5#include <glm/glm.hpp>
6namespace esengine {
7inline constexpr u32 PLANAR_CONSTANTS_BINDING = 9;
8inline constexpr const char* PLANAR_CONSTANTS_BLOCK = "PlanarConstants";
10 glm::mat4 projection{1.0f};
11 // x = active, y = render-target UV y sign, zw = one texel.
12 glm::vec4 params{0.0f};
13};
14static_assert(sizeof(PlanarConstants) == 80);
15} // namespace esengine
Core type definitions and utilities for ESEngine.
std::uint32_t u32
Unsigned 32-bit integer.
Definition Types.hpp:45
constexpr u32 PLANAR_CONSTANTS_BINDING
constexpr const char * PLANAR_CONSTANTS_BLOCK