Codota Logo
BufferTexture.wrap
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
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

  • Running tasks concurrently on multiple threads
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Notification (javax.management)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now