|
JubeatPlus 3.9.11
|
The engine's sprite-sheet texture: a single OpenGL ES texture that batches many sprite quads into one draw call. More...
import <Foundation/Foundation.h>import <OpenGLES/gltypes.h>import <UIKit/UIKit.h>

Go to the source code of this file.
Classes | |
| class | Texture2D |
| A texture that can draw any of the sprites packed into it. More... | |
Enumerations | |
| enum | Texture2DPixelFormat : NSUInteger { Texture2DPixelFormatRGBA8888 = 1 , Texture2DPixelFormatRGB888 = 2 , Texture2DPixelFormatA8 = 3 } |
| The internal storage format of a texture, chosen when its pixels are uploaded. More... | |
The engine's sprite-sheet texture: a single OpenGL ES texture that batches many sprite quads into one draw call.
Reconstructed from Ghidra program Jubeat (class Texture2D, image base 0x100000000). All
A Texture2D owns one GL texture (_name), a growable vertex scratch buffer, and a table of sub-rectangles ("sprites") packed into the texture. Callers append quads with the drawSprite , drawInRect , and drawAtPoint families, then flush the whole batch with -commitDraw , which issues a single glDrawElements over the shared element-array buffer the EAGLView binds. The interleaved vertex layout and the texture-coordinate helper live in the shared sprite_vertex.h , used only by the implementation.
| enum Texture2DPixelFormat : NSUInteger |
The internal storage format of a texture, chosen when its pixels are uploaded.
Backed by NSUInteger to match the Q -encoded pixelFormat ivar. The name is inferred from the GL formats each value selects in -setData:pixelFormat:pixelSize:width:height: rather than confirmed against runtime metadata.