Note: QuadRender does not modify render states. Before calling QuadRender#render,
you should set up the following states as needed, otherwise previously set states will be used:
// Set up render states before rendering app.graphicsDevice.setBlendState(BlendState.NOBLEND); app.graphicsDevice.setCullMode(CULLFACE_NONE); app.graphicsDevice.setDepthState(DepthState.NODEPTH); app.graphicsDevice.setStencilState(null, null);
An object that renders a quad using a Shader.
Note: QuadRender does not modify render states. Before calling QuadRender#render, you should set up the following states as needed, otherwise previously set states will be used:
Example: