Tabnine Logo
BufferTexture.wrap
Code IndexAdd Tabnine to your IDE (free)

How to use
wrap
method
in
com.watabou.gltextures.BufferTexture

Best Java code snippets using com.watabou.gltextures.BufferTexture.wrap (Showing top 4 results out of 315)

origin: 00-Evan/shattered-pixel-dungeon

  public void update(int top, int bottom){
    bind();
    filter( Texture.LINEAR, Texture.LINEAR );
    wrap( Texture.CLAMP, Texture.CLAMP);
    pixels.position(top*width);
    GLES20.glTexSubImage2D(GLES20.GL_TEXTURE_2D,
        0,
        0,
        top,
        width,
        bottom - top,
        GLES20.GL_RGBA,
        GLES20.GL_UNSIGNED_BYTE,
        pixels);
  }
}
origin: 00-Evan/shattered-pixel-dungeon

public void update(){
  bind();
  filter( Texture.LINEAR, Texture.LINEAR );
  wrap( Texture.CLAMP, Texture.CLAMP);
  pixels.position(0);
  GLES20.glTexImage2D(
      GLES20.GL_TEXTURE_2D,
      0,
      GLES20.GL_RGBA,
      width,
      height,
      0,
      GLES20.GL_RGBA,
      GLES20.GL_UNSIGNED_BYTE,
      pixels );
}

origin: 00-Evan/shattered-pixel-dungeon-gdx

public void update(){
  bind();
  filter( Texture.LINEAR, Texture.LINEAR );
  wrap( Texture.CLAMP, Texture.CLAMP);
  pixels.position(0);
  Gdx.gl.glTexImage2D(
      GL20.GL_TEXTURE_2D,
      0,
      GL20.GL_RGBA,
      width,
      height,
      0,
      GL20.GL_RGBA,
      GL20.GL_UNSIGNED_BYTE,
      pixels );
}

origin: 00-Evan/shattered-pixel-dungeon-gdx

  public void update(int top, int bottom){
    bind();
    filter( Texture.LINEAR, Texture.LINEAR );
    wrap( Texture.CLAMP, Texture.CLAMP);
    pixels.position(top*width);
    Gdx.gl.glTexSubImage2D(GL20.GL_TEXTURE_2D,
        0,
        0,
        top,
        width,
        bottom - top,
        GL20.GL_RGBA,
        GL20.GL_UNSIGNED_BYTE,
        pixels);
  }
}
com.watabou.gltexturesBufferTexturewrap

Popular methods of BufferTexture

  • update
  • <init>
  • bind
  • filter

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now