![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#import <TextureAtlas.h>
Public Member Functions | |
(void) | - setFromTex |
Set up the transform from destination texture coordinates. | |
(TexCoord) | - processTexCoord |
(void) | - processTexCoords |
(bool) | - operator< |
Sort operator. | |
Public Attributes | |
SimpleIdentity | texId |
The larger texture we're pointing into. | |
Affine2f | trans |
Transform from the source images texture coordinates to the target. |
Sub Texture These are used to index from an image into a larger texture atlases. We need to combine images together for efficiency's sake. This lets us pretend we're dealing with individual textures. You can use their IDs in place of texture IDs for most of the layers.