Classes | |
| class | PackedSurface |
| Class which creates the final packed surface. More... | |
| class | RectHolder< T > |
| Holds a destination rectangle and object to go in it. More... | |
| class | RectPacker< T > |
| Class which takes a bunch of rectangles and organizes them to all fit within a large rectangle. More... | |
Public Member Functions | |
| void | ClearQueue () |
| Clears the list of surfaces that should be packed. | |
| void | QueueSurface (Surface surf) |
| Adds a surface to the list of surfaces that should be packed. | |
| void | PackQueue () |
| Packs all the surfaces in the list. | |
This class was introduced to allow render state changes to be minimized by making everything use the same texture object in memory.
| void AgateLib.Utility.SurfacePacker.ClearQueue | ( | ) |
Clears the list of surfaces that should be packed.
| void AgateLib.Utility.SurfacePacker.PackQueue | ( | ) |
Packs all the surfaces in the list.
| void AgateLib.Utility.SurfacePacker.QueueSurface | ( | Surface | surf | ) |
Adds a surface to the list of surfaces that should be packed.
| surf |
|
AgateLib Awesome Game and Tool Engine Library |
|