congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FrameBuffer$RenderBuffer.getFormat
Code IndexAdd Tabnine to your IDE (free)

How to use
getFormat
method
in
com.jme3.texture.FrameBuffer$RenderBuffer

Best Java code snippets using com.jme3.texture.FrameBuffer$RenderBuffer.getFormat (Showing top 8 results out of 315)

origin: jMonkeyEngine/jmonkeyengine

private static boolean supportsColorBuffer(Collection<Caps> caps, RenderBuffer colorBuf){
  Format colorFmt = colorBuf.getFormat();
  if (colorFmt.isDepthFormat())
    return false;
  if (colorFmt.isCompressed())
    return false;
  switch (colorFmt){
    case RGB111110F:
      return caps.contains(Caps.PackedFloatColorBuffer);
    case RGB16F_to_RGB111110F:
    case RGB16F_to_RGB9E5:
    case RGB9E5:
      return false;
    default:
      if (colorFmt.isFloatingPont())
        return caps.contains(Caps.FloatColorBuffer);
      return true;
  }
}
origin: jMonkeyEngine/jmonkeyengine

Format depthFmt = depthBuf.getFormat();
if (!depthFmt.isDepthFormat()){
  return false;
origin: jMonkeyEngine/jmonkeyengine

GLImageFormat glFmt = texUtil.getImageFormatWithError(rb.getFormat(), fb.isSrgb());
origin: info.projectkyoto/mms-engine

Format depthFmt = depthBuf.getFormat();
if (!depthFmt.isDepthFormat()){
  return false;
Format colorFmt = colorBuf.getFormat();
if (colorFmt.isDepthFormat())
  return false;
origin: org.jmonkeyengine/jme3-core

GLImageFormat glFmt = texUtil.getImageFormatWithError(rb.getFormat(), fb.isSrgb());
origin: us.ihmc.thirdparty.jme/jme3-lwjgl

TextureUtil.GLImageFormat glFmt = TextureUtil.getImageFormatWithError(caps, rb.getFormat(), fb.isSrgb());
origin: org.jmonkeyengine/jme3-core

Format depthFmt = depthBuf.getFormat();
if (!depthFmt.isDepthFormat()){
  return false;
origin: org.jmonkeyengine/jme3-core

private static boolean supportsColorBuffer(Collection<Caps> caps, RenderBuffer colorBuf){
  Format colorFmt = colorBuf.getFormat();
  if (colorFmt.isDepthFormat())
    return false;
  if (colorFmt.isCompressed())
    return false;
  switch (colorFmt){
    case RGB111110F:
      return caps.contains(Caps.PackedFloatColorBuffer);
    case RGB16F_to_RGB111110F:
    case RGB16F_to_RGB9E5:
    case RGB9E5:
      return false;
    default:
      if (colorFmt.isFloatingPont())
        return caps.contains(Caps.FloatColorBuffer);
      return true;
  }
}
com.jme3.textureFrameBuffer$RenderBuffergetFormat

Popular methods of FrameBuffer$RenderBuffer

  • getId
    Do not use.
  • getSlot
    Do not use.
  • getTexture
  • <init>
  • getFace
  • resetObject
  • setId
    Do not use.
  • getLayer

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
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