Interface IRenderer
A renderer is an object which passes on drawing instructions on demand. All renderers which are subcribed to the rendering pipeline (for entities which are to be displayed), are requested to pass on the drawing instructions on each game tick. The rendering loop then uses those instructions to draw on the screen.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IRenderer
Methods
| Improve this Doc View SourceGetNextInstruction(IViewport)
Gets the next drawing instruction for the specified viewport
Declaration
IRenderInstruction GetNextInstruction(IViewport viewport)
Parameters
Type | Name | Description |
---|---|---|
IViewport | viewport | Viewport. |
Returns
Type | Description |
---|---|
IRenderInstruction | The next instruction. |