RSX Code Reference
    Preparing search index...

    Class RenderAPI

    Provides access to ct::RenderAPI from the simulation thread. All the commands get queued on the core thread queue for the calling thread.

    Sim thread only.

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns RenderAPI

    • get deviceCount(): number

      Returns the number of devices supported by this render API.

      Returns number

    • Gets the capabilities of a specific GPU.

      Parameters

      • OptionaldeviceIndex: number

        Index of the device to get the capabilities for.

      Returns RenderAPICapabilities

      Thread safe.