Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Enumerations | Variables
base_struct.h File Reference
#include "core/io/file_system.h"

Go to the source code of this file.

Classes

class  Texture2D
 
class  GpuBuffer
 GpuBuffer Abstract class. More...
 
struct  VertexAttribute
 
class  GpuVertexLayout
 
struct  FramebufferTextureSpecification
 
struct  FramebufferAttachmentSpecification
 
struct  FramebufferSpecification
 
class  Framebuffer
 
struct  Vertex
 Vertex structure. More...
 
class  Shader
 Shader Abstract class. More...
 
struct  WorldEnvironment
 

Enumerations

enum class  CubemapOrientation {
  DEFAULT , TOP , BOTTOM , FLIP_X ,
  FLIP_Y
}
 
enum class  GpuBufferType { VERTEX , INDEX , UNIFORM , STORAGE }
 GpuBuffer Abstract class. More...
 
enum class  DataType { USHORT , FLOAT , INT , UNSIGNED_INT }
 
enum class  FramebufferTextureFormat {
  None = 0 , RGBA8 , RED_INTEGER , DEPTH24STENCIL8 ,
  DEPTH_COMPONENT
}
 

Variables

constexpr int MAX_BONES = 250
 

Enumeration Type Documentation

◆ CubemapOrientation

enum CubemapOrientation
strong
Enumerator
DEFAULT 
TOP 
BOTTOM 
FLIP_X 
FLIP_Y 

◆ DataType

enum DataType
strong
Enumerator
USHORT 
FLOAT 
INT 
UNSIGNED_INT 

◆ FramebufferTextureFormat

Enumerator
None 
RGBA8 
RED_INTEGER 
DEPTH24STENCIL8 
DEPTH_COMPONENT 

◆ GpuBufferType

enum GpuBufferType
strong

GpuBuffer Abstract class.

  • Bind the buffer
  • Upload data to the buffer
  • Get buffer size
Version
0.0.5
Enumerator
VERTEX 
INDEX 

For Vertex Buffer Objects (VBOs)

UNIFORM 

For Element Buffer Objects (EBOs)

STORAGE 

For Uniform Buffer Objects (UBOs)

For Shader Storage Buffer Objects (SSBOs)

Variable Documentation

◆ MAX_BONES

constexpr int MAX_BONES = 250
constexpr