Show / Hide Table of Contents

    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 Source

    Release()

    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()
    | Improve this Doc View Source

    Render()

    Draw something.

    Declaration
    void Render()

    See Also

    IRenderPipeline
    IRenderer
    IRendererLoop
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX