Class RendererProvider

java.lang.Object
icyllis.arc3d.granite.RendererProvider

public class RendererProvider extends Object
Granite defines a limited set of renderers in order to increase the likelihood of batching across draw calls, and reducing the number of shader permutations required. These Renderers are stateless singletons and remain alive for the life of the Context and its Recorders.

Because Renderers are immutable and the defined Renderers are created at context initialization, RendererProvider is trivially thread-safe.