mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
the whole game
This commit is contained in:
26
project/iosproj/minecraftpe/PVRTexture.h
Executable file
26
project/iosproj/minecraftpe/PVRTexture.h
Executable file
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user