The engine's sprite-sheet texture: a single OpenGL ES texture that batches many sprite quads into one...
Texture2D *_Nullable CreateTexture2DFromPngResource(NSString *resourceName)
Vends a fully-populated Texture2D atlas from a bundled PNG plus its sprite-rect plist.
Definition TextureLoading.m:58
BOOL LoadTextureSubImageFromEncryptedTex(Texture2D *texture, NSString *resourceName, BFCodec *cipher, CGPoint point)
Decrypts a bundled .tex asset and blits it into an existing texture atlas at a point.
Definition TextureLoading.m:35
BOOL LoadTextureSubImageFromResource(Texture2D *texture, NSString *resourceName, CGPoint point)
Loads a bundled PNG and blits it into an existing texture atlas at a point.
Definition TextureLoading.m:25
Texture2D *_Nullable CreateTexture2DFromEncryptedTexResource(NSString *resourceName, BFCodec *cipher)
Vends a Texture2D atlas from an encrypted .tex asset plus its plaintext plist.
Definition TextureLoading.m:75
NS_ASSUME_NONNULL_BEGIN UIImage *_Nullable CreateImageFromEncryptedData(BFCodec *cipher, NSMutableData *encryptedData)
Decrypts an encrypted image blob in place and builds a UIImage from it.
Definition TextureLoading.m:13
A texture that can draw any of the sprites packed into it.
Definition Texture2D.h:40