citro3d  1.2.0
Data Fields
Tex3DS_SubTexture Struct Reference

Subtexture. More...

#include <tex3ds.h>

Data Fields

u16 width
 Sub-texture width (pixels) More...
 
u16 height
 Sub-texture height (pixels) More...
 
float left
 Left u-coordinate. More...
 
float top
 Top v-coordinate. More...
 
float right
 Right u-coordinate. More...
 
float bottom
 Bottom v-coordinate. More...
 

Detailed Description

Subtexture.

Note
If top > bottom, the subtexture is rotated 1/4 revolution counter-clockwise

Field Documentation

◆ bottom

float Tex3DS_SubTexture::bottom

Bottom v-coordinate.

◆ height

u16 Tex3DS_SubTexture::height

Sub-texture height (pixels)

◆ left

float Tex3DS_SubTexture::left

Left u-coordinate.

◆ right

float Tex3DS_SubTexture::right

Right u-coordinate.

◆ top

float Tex3DS_SubTexture::top

Top v-coordinate.

◆ width

u16 Tex3DS_SubTexture::width

Sub-texture width (pixels)


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