Package icyllis.arc3d.granite
Class RendererProvider
java.lang.Object
icyllis.arc3d.granite.RendererProvider
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArc
(int type) getRasterText
(int maskFormat) getSimpleBox
(boolean aa) getVertices
(int vertexMode, boolean hasColor, boolean hasTexCoords)
-
Constructor Details
-
RendererProvider
-
-
Method Details
-
getSimpleBox
-
getRasterText
-
getArc
-
getVertices
-