Antkeeper  0.0.1
Public Attributes | List of all members
gl::viewport Struct Reference

Viewport position, dimensions, and depth range. More...

#include <viewport.hpp>

Public Attributes

float x {0.0f}
 X-coordinate of the viewport's lower left corner. More...
 
float y {0.0f}
 Y-coordinate of the viewport's lower left corner. More...
 
float width {0.0f}
 Width of the viewport. More...
 
float height {0.0f}
 Height of the viewport. More...
 
float min_depth {0.0f}
 Minimum depth range of the viewport. More...
 
float max_depth {1.0f}
 Maximum depth range of the viewport. More...
 

Detailed Description

Viewport position, dimensions, and depth range.

Definition at line 30 of file viewport.hpp.

Member Data Documentation

◆ height

float gl::viewport::height {0.0f}

Height of the viewport.

Definition at line 42 of file viewport.hpp.

◆ max_depth

float gl::viewport::max_depth {1.0f}

Maximum depth range of the viewport.

Definition at line 48 of file viewport.hpp.

◆ min_depth

float gl::viewport::min_depth {0.0f}

Minimum depth range of the viewport.

Definition at line 45 of file viewport.hpp.

◆ width

float gl::viewport::width {0.0f}

Width of the viewport.

Definition at line 39 of file viewport.hpp.

◆ x

float gl::viewport::x {0.0f}

X-coordinate of the viewport's lower left corner.

Definition at line 33 of file viewport.hpp.

◆ y

float gl::viewport::y {0.0f}

Y-coordinate of the viewport's lower left corner.

Definition at line 36 of file viewport.hpp.


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