Interface IRenderInstruction
A render instruction represents an instruction to draw something. It is created on demand by renderers, and used by the rendering loop to draw on the screen on each game tick.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IRenderInstruction
Methods
| Improve this Doc View SourceRelease()
After the rendering instruction has completed, the rendering loop tells the render instruction that it's not needed anymore by calling the "Release" function. The instruction can then recycle itself (if object pooling is used) to reduce memory allocations.
Declaration
void Release()
Render()
Draw something.
Declaration
void Render()