Class MipMapLevel

java.lang.Object
zombie.core.textures.MipMapLevel

public final class MipMapLevel
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    WrappedBuffer data  
    int height  
    int width  
  • Constructor Summary

    Constructors
    Constructor Description
    MipMapLevel​(int int1, int int2)  
    MipMapLevel​(int int1, int int2, WrappedBuffer wrappedBuffer)  
  • Method Summary

    Modifier and Type Method Description
    void dispose()  
    java.nio.ByteBuffer getBuffer()  
    int getDataSize()  
    boolean isDisposed()  
    void rewind()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • width

      public final int width
    • height

      public final int height
    • data

      public final WrappedBuffer data
  • Constructor Details

    • MipMapLevel

      public MipMapLevel​(int int1, int int2)
    • MipMapLevel

      public MipMapLevel​(int int1, int int2, WrappedBuffer wrappedBuffer)
  • Method Details

    • dispose

      public void dispose()
    • isDisposed

      public boolean isDisposed()
    • rewind

      public void rewind()
    • getBuffer

      public java.nio.ByteBuffer getBuffer()
    • getDataSize

      public int getDataSize()