Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Attributes | List of all members
TextureFormat Struct Reference

#include <rendering_device.h>

Public Attributes

TextureType type = TextureType::TEXTURE_TYPE_2D
 
DataFormat format = DataFormat::R8G8B8A8_UNORM
 
uint32_t width = 1
 
uint32_t height = 1
 
uint32_t depth = 1
 
uint32_t array_layers = 1
 
uint32_t mipmaps = 1
 
uint32_t samples = 1
 
bool depth_stencil = false
 

Member Data Documentation

◆ array_layers

uint32_t TextureFormat::array_layers = 1

◆ depth

uint32_t TextureFormat::depth = 1

◆ depth_stencil

bool TextureFormat::depth_stencil = false

◆ format

DataFormat TextureFormat::format = DataFormat::R8G8B8A8_UNORM

◆ height

uint32_t TextureFormat::height = 1

◆ mipmaps

uint32_t TextureFormat::mipmaps = 1

◆ samples

uint32_t TextureFormat::samples = 1

◆ type

◆ width

uint32_t TextureFormat::width = 1

The documentation for this struct was generated from the following file: