|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface FBObject.Colorbuffer
Marker interface, denotes a color buffer attachment.
Always an instance of FBObject.Attachment
.
Either an instance of FBObject.ColorAttachment
or FBObject.TextureAttachment
.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 available
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |