Rectangular region of a texture in pixels.
More...
#include <primitive.h>
|
uint16_t | tx |
|
uint16_t | ty |
|
uint16_t | lx |
|
uint16_t | ly |
|
Rectangular region of a texture in pixels.
- Parameters
-
tx | Lower left corner of region, along width. |
ty | Lower left corner of region, along height. |
lx | Length of region along width. |
ly | Length of region along height. |
◆ TextureRegion() [1/2]
jGL::TextureRegion::TextureRegion |
( |
uint16_t |
x, |
|
|
uint16_t |
y, |
|
|
uint16_t |
w, |
|
|
uint16_t |
h |
|
) |
| |
|
inline |
◆ TextureRegion() [2/2]
jGL::TextureRegion::TextureRegion |
( |
| ) |
|
|
inline |
◆ lx
uint16_t jGL::TextureRegion::lx |
◆ ly
uint16_t jGL::TextureRegion::ly |
◆ tx
uint16_t jGL::TextureRegion::tx |
◆ ty
uint16_t jGL::TextureRegion::ty |
The documentation for this struct was generated from the following file: