Class GLWrapper.FBO

java.lang.Object
org.boxutil.define.GLWrapper.FBO
Enclosing class:
GLWrapper

public static final class GLWrapper.FBO extends Object
  • Field Details

    • GL_FRONT_LEFT

      public static final int GL_FRONT_LEFT
      See Also:
    • GL_FRONT_RIGHT

      public static final int GL_FRONT_RIGHT
      See Also:
    • GL_BACK_LEFT

      public static final int GL_BACK_LEFT
      See Also:
    • GL_BACK_RIGHT

      public static final int GL_BACK_RIGHT
      See Also:
    • GL_FRONT

      public static final int GL_FRONT
      See Also:
    • GL_BACK

      public static final int GL_BACK
      See Also:
    • GL_LEFT

      public static final int GL_LEFT
      See Also:
    • GL_RIGHT

      public static final int GL_RIGHT
      See Also:
    • GL_COLOR_BUFFER_BIT

      public static final int GL_COLOR_BUFFER_BIT
      See Also:
    • GL_DEPTH_BUFFER_BIT

      public static final int GL_DEPTH_BUFFER_BIT
      See Also:
    • GL_STENCIL_BUFFER_BIT

      public static final int GL_STENCIL_BUFFER_BIT
      See Also:
    • GL_FRAMEBUFFER

      public static int GL_FRAMEBUFFER
    • GL_RENDERBUFFER

      public static int GL_RENDERBUFFER
    • GL_STENCIL_INDEX1_EXT

      public static int GL_STENCIL_INDEX1_EXT
    • GL_STENCIL_INDEX4_EXT

      public static int GL_STENCIL_INDEX4_EXT
    • GL_STENCIL_INDEX8_EXT

      public static int GL_STENCIL_INDEX8_EXT
    • GL_STENCIL_INDEX16_EXT

      public static int GL_STENCIL_INDEX16_EXT
    • GL_COLOR_ATTACHMENT0

      public static int GL_COLOR_ATTACHMENT0
    • GL_COLOR_ATTACHMENT1

      public static int GL_COLOR_ATTACHMENT1
    • GL_COLOR_ATTACHMENT2

      public static int GL_COLOR_ATTACHMENT2
    • GL_COLOR_ATTACHMENT3

      public static int GL_COLOR_ATTACHMENT3
    • GL_COLOR_ATTACHMENT4

      public static int GL_COLOR_ATTACHMENT4
    • GL_COLOR_ATTACHMENT5

      public static int GL_COLOR_ATTACHMENT5
    • GL_COLOR_ATTACHMENT6

      public static int GL_COLOR_ATTACHMENT6
    • GL_COLOR_ATTACHMENT7

      public static int GL_COLOR_ATTACHMENT7
    • GL_COLOR_ATTACHMENT8

      public static int GL_COLOR_ATTACHMENT8
    • GL_COLOR_ATTACHMENT9

      public static int GL_COLOR_ATTACHMENT9
    • GL_COLOR_ATTACHMENT10

      public static int GL_COLOR_ATTACHMENT10
    • GL_COLOR_ATTACHMENT11

      public static int GL_COLOR_ATTACHMENT11
    • GL_COLOR_ATTACHMENT12

      public static int GL_COLOR_ATTACHMENT12
    • GL_COLOR_ATTACHMENT13

      public static int GL_COLOR_ATTACHMENT13
    • GL_COLOR_ATTACHMENT14

      public static int GL_COLOR_ATTACHMENT14
    • GL_COLOR_ATTACHMENT15

      public static int GL_COLOR_ATTACHMENT15
    • GL_DEPTH_ATTACHMENT

      public static int GL_DEPTH_ATTACHMENT
    • GL_STENCIL_ATTACHMENT

      public static int GL_STENCIL_ATTACHMENT
    • GL_FRAMEBUFFER_COMPLETE

      public static int GL_FRAMEBUFFER_COMPLETE
    • GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

      public static int GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
    • GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT

      public static int GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
    • GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER

      public static int GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
    • GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER

      public static int GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
    • GL_FRAMEBUFFER_UNSUPPORTED

      public static int GL_FRAMEBUFFER_UNSUPPORTED
    • GL_FRAMEBUFFER_UNDEFINED

      public static int GL_FRAMEBUFFER_UNDEFINED
    • GL_FRAMEBUFFER_BINDING

      public static int GL_FRAMEBUFFER_BINDING
    • GL_RENDERBUFFER_BINDING

      public static int GL_RENDERBUFFER_BINDING
    • GL_FRAMEBUFFER_SRGB

      public static int GL_FRAMEBUFFER_SRGB
    • GL_FRAMEBUFFER_SRGB_CAPABLE

      public static int GL_FRAMEBUFFER_SRGB_CAPABLE
    • GL_DEPTH_COMPONENT16

      public static int GL_DEPTH_COMPONENT16
    • GL_DEPTH_COMPONENT24

      public static int GL_DEPTH_COMPONENT24
    • GL_DEPTH_COMPONENT32

      public static int GL_DEPTH_COMPONENT32
    • GL_DEPTH24_STENCIL8

      public static int GL_DEPTH24_STENCIL8
    • GL_UNSIGNED_INT_24_8

      public static int GL_UNSIGNED_INT_24_8
    • GL_CLAMP_VERTEX_COLOR

      public static int GL_CLAMP_VERTEX_COLOR
    • GL_CLAMP_FRAGMENT_COLOR

      public static int GL_CLAMP_FRAGMENT_COLOR
    • GL_CLAMP_READ_COLOR

      public static int GL_CLAMP_READ_COLOR
    • GL_FIXED_ONLY

      public static int GL_FIXED_ONLY
    • GL_DEPTH_COMPONENT32F

      public static int GL_DEPTH_COMPONENT32F
    • GL_DEPTH32F_STENCIL8

      public static int GL_DEPTH32F_STENCIL8
    • GL_FLOAT_32_UNSIGNED_INT_24_8_REV

      public static int GL_FLOAT_32_UNSIGNED_INT_24_8_REV
    • GL_DEPTH_STENCIL_ATTACHMENT

      public static int GL_DEPTH_STENCIL_ATTACHMENT
    • GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE

      public static int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
    • GL_MAX_SAMPLES

      public static int GL_MAX_SAMPLES
    • GL_SAMPLE_MASK

      public static int GL_SAMPLE_MASK
    • GL_TEXTURE_2D_MULTISAMPLE

      public static int GL_TEXTURE_2D_MULTISAMPLE
    • GL_PROXY_TEXTURE_2D_MULTISAMPLE

      public static int GL_PROXY_TEXTURE_2D_MULTISAMPLE
    • GL_TEXTURE_BINDING_2D_MULTISAMPLE

      public static int GL_TEXTURE_BINDING_2D_MULTISAMPLE
    • GL_TEXTURE_2D_MULTISAMPLE_ARRAY

      public static int GL_TEXTURE_2D_MULTISAMPLE_ARRAY
    • GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY

      public static int GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY
    • GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY

      public static int GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY
    • GL_READ_FRAMEBUFFER

      public static int GL_READ_FRAMEBUFFER
    • GL_DRAW_FRAMEBUFFER

      public static int GL_DRAW_FRAMEBUFFER
    • GL_DRAW_FRAMEBUFFER_BINDING

      public static int GL_DRAW_FRAMEBUFFER_BINDING
    • GL_READ_FRAMEBUFFER_BINDING

      public static int GL_READ_FRAMEBUFFER_BINDING
    • GL_FRAMEBUFFER_DEFAULT_WIDTH

      public static int GL_FRAMEBUFFER_DEFAULT_WIDTH
    • GL_FRAMEBUFFER_DEFAULT_HEIGHT

      public static int GL_FRAMEBUFFER_DEFAULT_HEIGHT
    • GL_FRAMEBUFFER_DEFAULT_LAYERS

      public static int GL_FRAMEBUFFER_DEFAULT_LAYERS
    • GL_FRAMEBUFFER_DEFAULT_SAMPLES

      public static int GL_FRAMEBUFFER_DEFAULT_SAMPLES
    • GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS

      public static int GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
  • Method Details

    • valid

      public static boolean valid()
    • valid_Clear

      public static boolean valid_Clear()
      GL30.glClearBuffer(int, int, IntBuffer)

      GL30.glClearBuffer(int, int, FloatBuffer)

      GL30.glClearBufferfi(int, int, float, int)

      GL30.glClearBufferu(int, int, IntBuffer)

    • valid_SRGB

      public static boolean valid_SRGB()
      GL30.GL_FRAMEBUFFER_SRGB

      GL30.GL_FRAMEBUFFER_SRGB_CAPABLE

    • valid_DepthFormat

      public static boolean valid_DepthFormat()
      GL14.GL_DEPTH_COMPONENT16

      GL14.GL_DEPTH_COMPONENT24

      GL14.GL_DEPTH_COMPONENT32

    • valid_DepthStencilFormat

      public static boolean valid_DepthStencilFormat()
      GL30.GL_UNSIGNED_INT_24_8

      GL30.GL_DEPTH24_STENCIL8

    • valid_ColorBufferFloat

      public static boolean valid_ColorBufferFloat()
      GL30.glClampColor(int, int)
    • valid_DepthBufferFloat

      public static boolean valid_DepthBufferFloat()
      GL30.GL_DEPTH_COMPONENT32F

      GL30.GL_DEPTH32F_STENCIL8

      GL30.GL_FLOAT_32_UNSIGNED_INT_24_8_REV

    • valid_DepthStencilAttachment

      public static boolean valid_DepthStencilAttachment()
      GL30.GL_DEPTH_STENCIL_ATTACHMENT
    • valid_MultisampleRBO

      public static boolean valid_MultisampleRBO()
      GL30.glRenderbufferStorageMultisample(int, int, int, int, int)
    • valid_TextureLayer

      public static boolean valid_TextureLayer()
      GL30.glFramebufferTextureLayer(int, int, int, int, int)
    • valid_Blit

      public static boolean valid_Blit()
      GL30.glBlitFramebuffer(int, int, int, int, int, int, int, int, int, int)
    • valid_MultisampleTex

      public static boolean valid_MultisampleTex()
      GL32.glTexImage2DMultisample(int, int, int, int, int, boolean)

      GL32.glTexImage3DMultisample(int, int, int, int, int, int, boolean)

      GL32.glSampleMaski(int, int)

    • valid_TextureCast

      public static boolean valid_TextureCast()
      GL32.glFramebufferTexture(int, int, int, int)
    • valid_MultisampleTexStorage

      public static boolean valid_MultisampleTexStorage()
      GL43.glTexStorage2DMultisample(int, int, int, int, int, boolean)

      GL43.glTexStorage3DMultisample(int, int, int, int, int, int, boolean)

    • valid_Invalidate

      public static boolean valid_Invalidate()
      GL43.glInvalidateFramebuffer(int, IntBuffer)

      GL43.glInvalidateSubFramebuffer(int, IntBuffer, int, int, int, int)

    • valid_NoAttachments

      public static boolean valid_NoAttachments()
      GL43.glFramebufferParameteri(int, int, int)
    • valid_BoxUtilBase

      public static boolean valid_BoxUtilBase()
      valid() && valid_DepthFormat() && valid_DepthStencilFormat() && valid_DepthStencilAttachment() && valid_Blit()
    • glReadBuffer

      public static void glReadBuffer(int mode)
    • glClearColor

      public static void glClearColor(float red, float green, float blue, float alpha)
    • glClearDepth

      public static void glClearDepth(double depth)
    • glClearStencil

      public static void glClearStencil(int s)
    • glClear

      public static void glClear(int mask)
    • glBindRenderbuffer

      public static void glBindRenderbuffer(int target, int renderbuffer)
    • glDeleteRenderbuffers

      public static void glDeleteRenderbuffers(int renderbuffer)
    • glDeleteRenderbuffers

      public static void glDeleteRenderbuffers(IntBuffer renderbuffers)
    • glGenRenderbuffers

      public static int glGenRenderbuffers()
    • glGenRenderbuffers

      public static void glGenRenderbuffers(IntBuffer renderbuffers)
    • glRenderbufferStorage

      public static void glRenderbufferStorage(int target, int internalformat, int width, int height)
    • glBindFramebuffer

      public static void glBindFramebuffer(int target, int framebuffer)
    • glDeleteFramebuffers

      public static void glDeleteFramebuffers(int framebuffer)
    • glDeleteFramebuffers

      public static void glDeleteFramebuffers(IntBuffer framebuffers)
    • glGenFramebuffers

      public static int glGenFramebuffers()
    • glGenFramebuffers

      public static void glGenFramebuffers(IntBuffer framebuffers)
    • glCheckFramebufferStatus

      public static int glCheckFramebufferStatus(int target)
    • glFramebufferTexture1D

      public static void glFramebufferTexture1D(int target, int attachment, int textarget, int texture, int level)
    • glFramebufferTexture2D

      public static void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
    • glFramebufferTexture3D

      public static void glFramebufferTexture3D(int target, int attachment, int textarget, int texture, int level, int zoffset)
    • glFramebufferRenderbuffer

      public static void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
    • glGenerateMipmap

      public static void glGenerateMipmap(int target)
    • glDrawBuffers

      public static void glDrawBuffers(int buffer)
    • glDrawBuffers

      public static void glDrawBuffers(IntBuffer buffers)
    • glClearBuffer

      public static void glClearBuffer(int buffer, int drawbuffer, IntBuffer value)
    • glClearBuffer

      public static void glClearBuffer(int buffer, int drawbuffer, FloatBuffer value)
    • glClearBufferfi

      public static void glClearBufferfi(int buffer, int drawbuffer, float depth, int stencil)
    • glClearBufferu

      public static void glClearBufferu(int buffer, int drawbuffer, IntBuffer value)
    • glClampColor

      public static void glClampColor(int target, int clamp)
    • glRenderbufferStorageMultisample

      public static void glRenderbufferStorageMultisample(int target, int samples, int internalformat, int width, int height)
    • glFramebufferTextureLayer

      public static void glFramebufferTextureLayer(int target, int attachment, int texture, int level, int layer)
    • glBlitFramebuffer

      public static void glBlitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)
    • glTexImage2DMultisample

      public static void glTexImage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
    • glTexImage3DMultisample

      public static void glTexImage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
    • glFramebufferTexture

      public static void glFramebufferTexture(int target, int attachment, int texture, int level)
    • glTexStorage2DMultisample

      public static void glTexStorage2DMultisample(int target, int samples, int internalformat, int width, int height, boolean fixedsamplelocations)
    • glTexStorage3DMultisample

      public static void glTexStorage3DMultisample(int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations)
    • glSampleMaski

      public static void glSampleMaski(int index, int mask)
    • glInvalidateFramebuffer

      public static void glInvalidateFramebuffer(int target, IntBuffer attachments)
    • glInvalidateSubFramebuffer

      public static void glInvalidateSubFramebuffer(int target, IntBuffer attachments, int x, int y, int width, int height)
    • glFramebufferParameteri

      public static void glFramebufferParameteri(int target, int pname, int param)