com.neovisionaries.android.opengl
Class Viewport

java.lang.Object
  extended by com.neovisionaries.android.opengl.Viewport

public final class Viewport
extends Object

OpenGL ES viewport

Author:
Takahiko Kawasaki
See Also:
glViewport

Method Summary
static void set(int width, int height)
          This method is an alias of set(0, 0, width, height).
static void set(int x, int y, int width, int height)
          Call glViewport(x, y, width, height).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

set

public static void set(int x,
                       int y,
                       int width,
                       int height)
Call glViewport(x, y, width, height).

See Also:
glViewport

set

public static void set(int width,
                       int height)
This method is an alias of set(0, 0, width, height).

See Also:
set(int x, int y, int width, int height)