A Texture capable of storing many smaller Textures with offsets.
A Texture capable of storing many smaller Textures with offsets.
You can dynamically add pieces(Textures) to this fLargeTexture] using different offsets.
Add another [Texture] to this [LargeTexture], starting on offset "ofs".
Clear the [LargeTexture].
Return the number of pieces currently in this [LargeTexture].
Return the offset of the piece with index "idx".
Return the [Texture] of the piece with index "idx".
Set the offset of the piece with index "idx" to "ofs".
Set the [Texture] of the piece with index "idx" to "ofs".
Set the size of this [LargeTexture].