congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ZBufferStateRecord.isValid
Code IndexAdd Tabnine 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)

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 applyFunction(final int depthFunc, final ZBufferStateRecord record) {
  if (depthFunc != record.depthFunc || !record.isValid()) {
    GL11C.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: 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

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Notification (javax.management)
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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