mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Build ChatListUI
This commit is contained in:
14
submodules/LegacyComponents/Sources/TGPaintTexture.h
Normal file
14
submodules/LegacyComponents/Sources/TGPaintTexture.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
#import <CoreGraphics/CoreGraphics.h>
|
||||
#import <OpenGLES/ES2/gl.h>
|
||||
|
||||
@interface TGPaintTexture : NSObject
|
||||
|
||||
@property (nonatomic, readonly) GLuint textureName;
|
||||
|
||||
+ (instancetype)textureWithImage:(UIImage *)image forceRGB:(bool)forceRGB;
|
||||
|
||||
- (instancetype)initWithCGImage:(CGImageRef)imageRef forceRGB:(bool)forceRGB;
|
||||
- (void)cleanResources;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user