Interface InstancerProvider

All Known Implementing Classes:
InstancerProviderImpl

@BackendImplemented public interface InstancerProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    <I extends Instance>
    Instancer<I>
    instancer(InstanceType<I> type, Model model)
    Get an instancer for the given instance type rendering the given model.
  • Method Details

    • instancer

      <I extends Instance> Instancer<I> instancer(InstanceType<I> type, Model model)
      Get an instancer for the given instance type rendering the given model.

      Calling this method twice with the same arguments in the same frame will return the same instancer.

      It is not safe to store instancers between frames. Each time you need an instancer, you should call this method.

      Returns:
      An instancer for the given instance type rendering the given model.