wisdom
Loading...
Searching...
No Matches
wis::Viewport Struct Reference

Detailed Description

Viewport description for wis::CommandList. Viewport is considered from Top Left corner.

struct Viewport {
float top_leftx;
float top_lefty;
float width;
float height;
float min_depth;
float max_depth;
};
Viewport description for wis::CommandList. Viewport is considered from Top Left corner.
Definition api.hpp:1891

Definition at line 1891 of file api.hpp.

#include <api.hpp>

Public Attributes

float top_leftx
 Top left corner x coordinate.
 
float top_lefty
 Top left corner y coordinate.
 
float width
 Viewport width.
 
float height
 Viewport height.
 
float min_depth
 Minimum depth of the viewport.
 
float max_depth
 Maximum depth of the viewport.
 

Data Members

◆ height

float wis::Viewport::height

Viewport height.

Definition at line 1895 of file api.hpp.

◆ max_depth

float wis::Viewport::max_depth

Maximum depth of the viewport.

Definition at line 1897 of file api.hpp.

◆ min_depth

float wis::Viewport::min_depth

Minimum depth of the viewport.

Definition at line 1896 of file api.hpp.

◆ top_leftx

float wis::Viewport::top_leftx

Top left corner x coordinate.

Definition at line 1892 of file api.hpp.

◆ top_lefty

float wis::Viewport::top_lefty

Top left corner y coordinate.

Definition at line 1893 of file api.hpp.

◆ width

float wis::Viewport::width

Viewport width.

Definition at line 1894 of file api.hpp.


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