Interface SolaPlatformCommonConfig


@NullMarked public interface SolaPlatformCommonConfig
SolaPlatformCommonConfig defines common configuration options for all SolaPlatforms.
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets the color that the SolaPlatform will clear to before rendering.
    boolean
    Whether software rendering should be used instead of native rendering for the SolaPlatform.
  • Method Details

    • useSoftwareRendering

      boolean useSoftwareRendering()
      Whether software rendering should be used instead of native rendering for the SolaPlatform.
      Returns:
      true if using software rendering
    • backgroundColor

      Color backgroundColor()
      Sets the color that the SolaPlatform will clear to before rendering.
      Returns:
      the background color