public static interface FBObject.Colorbuffer
Always an instance of FBObject.Attachment
.
Either an instance of FBObject.ColorAttachment
or FBObject.TextureAttachment
.
Modifier and Type | Method and Description |
---|---|
void |
formatToGLCapabilities(GLCapabilities caps,
boolean rgba8Avail)
Writes the internal format to the given GLCapabilities object.
|
void |
free(GL gl)
Releases the color buffer if initialized, i.e.
|
boolean |
initialize(GL gl)
Initializes the color buffer and set it's parameter, if uninitialized, i.e.
|
boolean initialize(GL gl) throws GLException
zero
.true
if newly initialized, otherwise false
.GLException
- if buffer generation or setup fails. The just created buffer name will be deleted in this case.void free(GL gl) throws GLException
zero
.GLException
- if buffer release fails.void formatToGLCapabilities(GLCapabilities caps, boolean rgba8Avail)
caps
- the destination for format bitsrgba8Avail
- whether rgba8 is availableCopyright 2010 JogAmp Community.