Package com.prineside.luaj.mapping.parts
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
-
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()Prepares the binder for operation, must be matched with a call toTextureBinder.end().intbind(com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor p1) Binds the texture to an available unit and applies the filters in the descriptor.intbind(com.badlogic.gdx.graphics.GLTexture p1) Binds the texture to an available unit.voidend()Disables all used texture units and unbinds textures.intintvoidResets the bind/reuse countsMethods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write
-
Method Details
-
begin
public void begin()Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.TextureBinderPrepares the binder for operation, must be matched with a call toTextureBinder.end().- Specified by:
beginin interfacecom.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.TextureBinderBinds the texture to an available unit.- Specified by:
bindin interfacecom.badlogic.gdx.graphics.g3d.utils.TextureBinder- Parameters:
p1- theTexture- 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.TextureBinderBinds the texture to an available unit and applies the filters in the descriptor.- Specified by:
bindin interfacecom.badlogic.gdx.graphics.g3d.utils.TextureBinder- Parameters:
p1- theTextureDescriptor- Returns:
- the unit the texture was bound to
-
end
public void end()Description copied from interface:com.badlogic.gdx.graphics.g3d.utils.TextureBinderDisables all used texture units and unbinds textures. Resets the counts.- Specified by:
endin interfacecom.badlogic.gdx.graphics.g3d.utils.TextureBinder
-
getBindCount
public int getBindCount()- Specified by:
getBindCountin interfacecom.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:
getReuseCountin interfacecom.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.TextureBinderResets the bind/reuse counts- Specified by:
resetCountsin interfacecom.badlogic.gdx.graphics.g3d.utils.TextureBinder
-