WhirlyGlobe  1.2
A 3D interactive globe toolkit for iOS
WhirlyGlobe::SubTexture Class Reference

#import <TextureAtlas.h>

Inheritance diagram for WhirlyGlobe::SubTexture:
WhirlyGlobe::Identifiable

List of all members.

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.

Detailed Description

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.


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