public static class FBObject.RenderAttachment extends FBObject.Attachment
FBObject.Attachment.Typeformat, type| Constructor and Description |
|---|
FBObject.RenderAttachment(FBObject.Attachment.Type type,
int iFormat,
int samples,
int width,
int height,
int name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Comparison by
FBObject.Attachment.type, FBObject.Attachment.format, samples, FBObject.width, FBObject.height and FBObject.Attachment.name. |
void |
free(GL gl)
Releases the attachment buffer if initialized, i.e.
|
int |
getSamples()
number of samples, or zero for no multisampling
|
int |
hashCode()
|
void |
initialize(GL gl)
Initializes the attachment buffer and set it's parameter, if uninitialized, i.e.
|
String |
toString() |
getHeight, getInitCounter, getName, getType, getWidthpublic FBObject.RenderAttachment(FBObject.Attachment.Type type, int iFormat, int samples, int width, int height, int name)
type - allowed types are FBObject.Attachment.Type.DEPTH, FBObject.Attachment.Type.STENCIL or FBObject.Attachment.Type.COLORiFormat - samples - width - height - name - public final int getSamples()
public boolean equals(Object o)
Comparison by FBObject.Attachment.type, FBObject.Attachment.format, samples, FBObject.width, FBObject.height and FBObject.Attachment.name.
Comparison by FBObject.Attachment.type, FBObject.Attachment.format, FBObject.Attachment.width, FBObject.Attachment.height and FBObject.Attachment.name.
equals in class FBObject.Attachmentpublic int hashCode()
Hashed by FBObject.Attachment.type, FBObject.Attachment.format, samples, FBObject.width, FBObject.height and FBObject.Attachment.name.
Hashed by FBObject.Attachment.type, FBObject.Attachment.format, FBObject.Attachment.width, FBObject.Attachment.height and FBObject.Attachment.name.
hashCode in class FBObject.Attachmentpublic void initialize(GL gl) throws GLException
FBObject.Attachmentzero.
Implementation employs an initialization counter, hence it can be paired recursively with FBObject.Attachment.free(GL).
initialize in class FBObject.AttachmentGLException - if buffer generation or setup fails. The just created buffer name will be deleted in this case.public void free(GL gl)
FBObject.Attachmentzero.
Implementation employs an initialization counter, hence it can be paired recursively with FBObject.Attachment.initialize(GL).
free in class FBObject.Attachmentpublic String toString()
toString in class FBObject.AttachmentCopyright 2010 JogAmp Community.