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

#include <rendering_device.h>

Public Attributes

float x = 0
 
float y = 0
 
float width = 800
 
float height = 600
 
float min_depth = 0.0f
 
float max_depth = 1.0f
 

Member Data Documentation

◆ height

float Viewport::height = 600

◆ max_depth

float Viewport::max_depth = 1.0f

◆ min_depth

float Viewport::min_depth = 0.0f

◆ width

float Viewport::width = 800

◆ x

float Viewport::x = 0

◆ y

float Viewport::y = 0

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