Interface Resource

All Known Subinterfaces:
TextureBase
All Known Implementing Classes:
Font, Image, StyleSheet, Texture, TextureArrayLayer

public interface Resource
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Removes this resource from the resource pool and deletes it.
     
  • Method Details

    • getPath

      String getPath()
      Returns:
      The path to the file this resource was loaded from
    • destroy

      void destroy()
      Removes this resource from the resource pool and deletes it.