Class RenderResource

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    RenderableResource

    public abstract class RenderResource
    extends java.lang.Object
    implements java.io.Closeable
    The abstract class of all render resources All render resources will be disposed when the renderer is released. Classes like Mesh/Texture will have a corresponding RenderResource
    • Constructor Summary

      Constructors 
      Constructor Description
      RenderResource()  
    • Method Summary

      Modifier and Type Method Description
      void close()
      Dispose internal resources used by RenderResource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RenderResource

        public RenderResource()
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Dispose internal resources used by RenderResource
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException