QuadBatch with several Images don't render the Quad at the end of the batch. Is it normal?
Images and Quads in QuadBatch(3 posts) (2 voices)
QuadBatch requires the same state for all objects you add to it, hence the 'batching'.
The 'shared state' of a QuadBatch is determined by the first object you add to the QuadBatch.
Images have textures, Quads do not, so I don't think you can add an Image with a texture and a Quad (without a texture) to the same QuadBatch, as that fundamentally breaks the QuadBatch golden rule of all objects sharing the same state.
Ok. Thank you for the explanation, Jeff.
You must log in to post.