Class GLImageDesc

java.lang.Object
icyllis.arc3d.engine.ImageDesc
icyllis.arc3d.opengl.GLImageDesc

@Immutable public final class GLImageDesc extends ImageDesc
Descriptor to create OpenGL images (textures and renderbuffers). The mFormat here should be a sized, internal format for the texture. We use the sized format since the base internal formats are deprecated.

Note the target can be GL30C.GL_RENDERBUFFER.

  • Field Details

    • mTarget

      public final int mTarget
      GLenum - image namespace
    • mFormat

      public final int mFormat
      GLenum - sized internal format
  • Constructor Details

    • GLImageDesc

      public GLImageDesc(int target, int format, int width, int height, int depth, int arraySize, int mipLevelCount, int sampleCount, int flags)
  • Method Details