VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Attributes
makVrv::DtAtlasSlot Struct Reference

UV sub-rect identifying one symbol's location within an atlas page.

A default-constructed slot has myTexture == nullptr and full-page UVs. Valid slots are returned by DtTextureAtlas::pack().

Public Attributes

DtTextureInterface * myTexture = nullptr
 
float myU0 = 0.f
 
float myU1 = 1.f
 
float myV0 = 0.f
 
float myV1 = 1.f
 

Member Data Documentation

DtTextureInterface* makVrv::DtAtlasSlot::myTexture = nullptr

Non-owning; points into atlas page.

float makVrv::DtAtlasSlot::myU0 = 0.f

Left UV coordinate of the slot.

float makVrv::DtAtlasSlot::myU1 = 1.f

Right UV coordinate of the slot.

float makVrv::DtAtlasSlot::myV0 = 0.f

Bottom UV coordinate of the slot (OpenGL convention).

float makVrv::DtAtlasSlot::myV1 = 1.f

Top UV coordinate of the slot (OpenGL convention).


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)