TexturingResult
Description
A shared buffer for the results of IBatchRendererBase.ComputeBatches of Texturing.
If an application uses many Texturing objects that use the same TextureAtlas as their ITextureCacheDependent.TextureCache, the order in which texture tiles are loaded may be unfair, where the first Texturing objects consume all the tile lookup jobs (see TextureAtlas.TileLookupCount) and the subsequent objects have to wait for them. By using a shared result buffer, the tile lookup jobs of all Texturing objects are merged and submitted in a fair order (see Submit).
- See also
Public / Methods
Submit
Submits the computed texturing results by calling TextureAtlas.TileLookup on the ITextureCacheDependent.TextureCache objects of the TexturingBatch values.
After submitting the texture tile jobs, this method calls Clear.