Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
OpenGLUniformBlock.hpp
1/*
2Copyright (C) 2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16#ifndef AEONGAMES_OPENGLUNIFORMBLOCK_HPP
17#define AEONGAMES_OPENGLUNIFORMBLOCK_HPP
18
19#include <cstdint>
20#include <vector>
21#include "OpenGLFunctions.hpp"
22#include "OpenGLVariable.hpp"
23namespace AeonGames
24{
27 {
28 uint32_t name;
29 GLint size;
30 GLint binding;
31 std::vector<OpenGLVariable> uniforms;
32 };
33}
34#endif
<- This is here just for the literals
Definition AABB.hpp:31
Describes an OpenGL uniform block with its binding and member variables.
std::vector< OpenGLVariable > uniforms
Member variables within the block.
GLint size
Total byte size of the uniform block.
uint32_t name
Name hash identifier of the uniform block.
GLint binding
Binding point index.