Codota Logo
ZBufferStateRecord.isValid
Code IndexAdd Codota to your IDE (free)

How to use
isValid
method
in
com.ardor3d.renderer.state.record.ZBufferStateRecord

Best Java code snippets using com.ardor3d.renderer.state.record.ZBufferStateRecord.isValid (Showing top 12 results out of 315)

  • Common ways to obtain ZBufferStateRecord
private void myMethod () {
ZBufferStateRecord z =
  • Codota IconRenderContext renderContext;RenderState.StateType type;(ZBufferStateRecord) renderContext.getStateRecord(type)
  • Smart code suggestions by Codota
}
origin: Renanse/Ardor3D

private static void enableDepthTest(final boolean enable, final ZBufferStateRecord record) {
  if (enable && (!record.depthTest || !record.isValid())) {
    GL11C.glEnable(GL11C.GL_DEPTH_TEST);
    record.depthTest = true;
  } else if (!enable && (record.depthTest || !record.isValid())) {
    GL11C.glDisable(GL11C.GL_DEPTH_TEST);
    record.depthTest = false;
  }
}
origin: com.ardor3d/ardor3d-lwjgl

  private static void enableWrite(final boolean enable, final ZBufferStateRecord record) {
    if (enable != record.writable || !record.isValid()) {
      GL11.glDepthMask(enable);
      record.writable = enable;
    }
  }
}
origin: com.ardor3d/ardor3d-lwjgl

private static void enableDepthTest(final boolean enable, final ZBufferStateRecord record) {
  if (enable && (!record.depthTest || !record.isValid())) {
    GL11.glEnable(GL11.GL_DEPTH_TEST);
    record.depthTest = true;
  } else if (!enable && (record.depthTest || !record.isValid())) {
    GL11.glDisable(GL11.GL_DEPTH_TEST);
    record.depthTest = false;
  }
}
origin: com.ardor3d/ardor3d-lwjgl

private static void applyFunction(final int depthFunc, final ZBufferStateRecord record) {
  if (depthFunc != record.depthFunc || !record.isValid()) {
    GL11.glDepthFunc(depthFunc);
    record.depthFunc = depthFunc;
  }
}
origin: Renanse/Ardor3D

  private static void enableWrite(final boolean enable, final ZBufferStateRecord record) {
    if (enable != record.writable || !record.isValid()) {
      GL11C.glDepthMask(enable);
      record.writable = enable;
    }
  }
}
origin: Renanse/Ardor3D

private static void applyFunction(final int depthFunc, final ZBufferStateRecord record) {
  if (depthFunc != record.depthFunc || !record.isValid()) {
    GL11C.glDepthFunc(depthFunc);
    record.depthFunc = depthFunc;
  }
}
origin: com.ardor3d/ardor3d-jogl

private static void enableDepthTest(final boolean enable, final ZBufferStateRecord record) {
  final GL gl = GLContext.getCurrentGL();
  if (enable && (!record.depthTest || !record.isValid())) {
    gl.glEnable(GL.GL_DEPTH_TEST);
    record.depthTest = true;
  } else if (!enable && (record.depthTest || !record.isValid())) {
    gl.glDisable(GL.GL_DEPTH_TEST);
    record.depthTest = false;
  }
}
origin: com.ardor3d/ardor3d-jogl

  private static void enableWrite(final boolean enable, final ZBufferStateRecord record) {
    final GL gl = GLU.getCurrentGL();

    if (enable != record.writable || !record.isValid()) {
      gl.glDepthMask(enable);
      record.writable = enable;
    }
  }
}
origin: com.ardor3d/ardor3d-jogl

private static void applyFunction(final int depthFunc, final ZBufferStateRecord record) {
  final GL gl = GLU.getCurrentGL();
  if (depthFunc != record.depthFunc || !record.isValid()) {
    gl.glDepthFunc(depthFunc);
    record.depthFunc = depthFunc;
  }
}
origin: com.ardor3d/ardor3d-jogl

if (!record.isValid()) {
  record.validate();
origin: com.ardor3d/ardor3d-lwjgl

if (!record.isValid()) {
  record.validate();
origin: Renanse/Ardor3D

if (!record.isValid()) {
  record.validate();
com.ardor3d.renderer.state.recordZBufferStateRecordisValid

Popular methods of ZBufferStateRecord

  • validate
  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
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