|
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
#import <TextureGroup.h>
Public Member Functions | |
| (id) | - initWithInfo: |
| (NSString *) | - generateFileNameX:y: |
| Generate the name of the given instance (without the extension) | |
| (void) | - calcTexMappingOrg:dest: |
Properties | |
| NSString * | basePath |
| NSString * | baseName |
| Base name (e.g. "worldTexture") | |
| NSString * | ext |
| Extension (e.g. "png") | |
| unsigned int | numX |
| Number of chunks in the X dimension (longitude) | |
| unsigned int | numY |
| Number of chunks in the Y dimension (latitude) | |
| unsigned int | pixelsSquare |
| Number of pixels on each side. | |
| unsigned int | borderPixels |
| Number of pixels on each side devoted to border. | |
The Texture Group is used to represent a lage image that's been broken into several pieces to aid in loading and get around the 1k x 1k (or 2k x 2k) limit in OpenGL. File name: base_XxY.ext
| - (void) calcTexMappingOrg: | (WhirlyGlobe::TexCoord *) | org | |
| dest: | (WhirlyGlobe::TexCoord *) | dest | |
Calculate the mapping that represents "full" coverage This takes border pixels into account
| - (id) initWithInfo: | (NSString *) | infoName |
Need to initialize with the the info plist file. This will point us to everything else
- (NSString *) basePath [read, write, retain] |
If set, the path to the texture group. Might be somewhere other than the default bundle