LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::Offset2D Struct Reference

2-Dimensional offset structure. More...

#include <Types.h>

Public Member Functions

 Offset2D ()=default
 Offset2D (std::int32_t x, std::int32_t y)

Public Attributes

std::int32_t x = 0
 Offset X axis.
std::int32_t y = 0
 Offset Y axis.

Detailed Description

2-Dimensional offset structure.

Remarks
Used for signed integral 2D offsets (for coordinates in window-space, screen-space, and texture-space).

Constructor & Destructor Documentation

◆ Offset2D() [1/2]

LLGL::Offset2D::Offset2D ( )
default

◆ Offset2D() [2/2]

LLGL::Offset2D::Offset2D ( std::int32_t x,
std::int32_t y )
inline

Member Data Documentation

◆ x

std::int32_t LLGL::Offset2D::x = 0

Offset X axis.

◆ y

std::int32_t LLGL::Offset2D::y = 0

Offset Y axis.


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