Class LJ_GDX_graphics_g3d_utils.TextureBinder_T.LIP

java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_graphics_g3d_utils.TextureBinder_T.LIP
All Implemented Interfaces:
com.badlogic.gdx.graphics.g3d.utils.TextureBinder, com.esotericsoftware.kryo.KryoSerializable
Enclosing class:
LJ_GDX_graphics_g3d_utils.TextureBinder_T

public static class LJ_GDX_graphics_g3d_utils.TextureBinder_T.LIP extends InterfaceProxy implements com.badlogic.gdx.graphics.g3d.utils.TextureBinder
  • Field Summary

    Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy

    luaObj
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Prepares the binder for operation, must be matched with a call to TextureBinder.end().
    int
    bind(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor p1)
    Binds the texture to an available unit and applies the filters in the descriptor.
    int
    bind(com.badlogic.gdx.graphics.GLTexture p1)
    Binds the texture to an available unit.
    void
    end()
    Disables all used texture units and unbinds textures.
    int
     
    int
     
    void
    Resets the bind/reuse counts

    Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy

    getLuaObj, read, write

    Methods inherited from class java.lang.Object

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

    • begin

      public void begin()
      Description copied from interface: com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Prepares the binder for operation, must be matched with a call to TextureBinder.end().
      Specified by:
      begin in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
    • bind

      public int bind(com.badlogic.gdx.graphics.GLTexture p1)
      Description copied from interface: com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Binds the texture to an available unit.
      Specified by:
      bind in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Parameters:
      p1 - the Texture
      Returns:
      the unit the texture was bound to
    • bind

      public int bind(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor p1)
      Description copied from interface: com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Binds the texture to an available unit and applies the filters in the descriptor.
      Specified by:
      bind in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Parameters:
      p1 - the TextureDescriptor
      Returns:
      the unit the texture was bound to
    • end

      public void end()
      Description copied from interface: com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Disables all used texture units and unbinds textures. Resets the counts.
      Specified by:
      end in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
    • getBindCount

      public int getBindCount()
      Specified by:
      getBindCount in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Returns:
      the number of binds actually executed since the last call to TextureBinder.resetCounts()
    • getReuseCount

      public int getReuseCount()
      Specified by:
      getReuseCount in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Returns:
      the number of binds that could be avoided by reuse
    • resetCounts

      public void resetCounts()
      Description copied from interface: com.badlogic.gdx.graphics.g3d.utils.TextureBinder
      Resets the bind/reuse counts
      Specified by:
      resetCounts in interface com.badlogic.gdx.graphics.g3d.utils.TextureBinder