[−][src]Module amethyst_rendy::batch
Module containing structures useful for batching draw calls in scenarios with various known assumptions, e.g. order independence.
Structs
OneLevelBatch | A batching implementation with one level of indexing. Data type |
OrderedOneLevelBatch | A batching implementation with one level of indexing. Data type |
OrderedTwoLevelBatch | Batching implementation which provides two levels of indirection and grouping for a given batch. This batch method is used, for example, batching meshes and textures; for any given draw call, a user would want to batch all draws using a specific texture together, and then also group all draw calls for a specific mesh together. |
TwoLevelBatch | Batching implementation which provides two levels of indirection and grouping for a given batch. This batch method is used, for example, batching meshes and textures; for any given draw call, a user would want to batch all draws using a specific texture together, and then also group all draw calls for a specific mesh together. |
Traits
GroupIterator | Iterator trait for grouping iterated 2-tuples |