This repository has been archived on 2026-04-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-04-01 23:13:15 +02:00

27 lines
623 B
Objective-C

#import <UIKit/UIKit.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
@interface PVRTexture : NSObject
{
NSMutableArray *_imageData;
GLuint _name;
uint32_t _width, _height;
GLenum _internalFormat;
BOOL _hasAlpha;
}
- (id)initWithContentsOfFile:(NSString *)path;
- (id)initWithContentsOfURL:(NSURL *)url;
+ (id)pvrTextureWithContentsOfFile:(NSString *)path;
+ (id)pvrTextureWithContentsOfURL:(NSURL *)url;
@property (readonly) GLuint name;
@property (readonly) uint32_t width;
@property (readonly) uint32_t height;
@property (readonly) GLenum internalFormat;
@property (readonly) BOOL hasAlpha;
@end