|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opengl.FBObject.Attachment
com.jogamp.opengl.FBObject.RenderAttachment
public static class FBObject.RenderAttachment
Other renderbuffer attachment which maybe a colorbuffer, depth or stencil.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jogamp.opengl.FBObject.Attachment |
---|
FBObject.Attachment.Type |
Field Summary |
---|
Fields inherited from class com.jogamp.opengl.FBObject.Attachment |
---|
format, type |
Constructor Summary | |
---|---|
FBObject.RenderAttachment(FBObject.Attachment.Type type,
int iFormat,
int samples,
int width,
int height,
int name)
|
Method Summary | |
---|---|
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 if initialized, i.e. |
int |
getSamples()
number of samples, or zero for no multisampling |
int |
hashCode()
Hashed by FBObject.Attachment.type , FBObject.Attachment.format , samples , FBObject.width , FBObject.height and FBObject.Attachment.name . |
boolean |
initialize(GL gl)
Initializes the attachment and set it's parameter, if uninitialized, i.e. |
String |
toString()
|
Methods inherited from class com.jogamp.opengl.FBObject.Attachment |
---|
formatToGLCapabilities, getHeight, getName, getType, getWidth |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FBObject.RenderAttachment(FBObject.Attachment.Type type, int iFormat, int samples, int width, int height, int name)
type
- allowed types are FBObject.Attachment.Type.DEPTH_STENCIL
FBObject.Attachment.Type.DEPTH
, FBObject.Attachment.Type.STENCIL
or FBObject.Attachment.Type.COLOR
iFormat
- samples
- width
- height
- name
- Method Detail |
---|
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.Attachment
public 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.Attachment
public boolean initialize(GL gl) throws GLException
FBObject.Attachment
zero
.
final boolean init = 0 == name; if( init ) { do init .. } return init;
initialize
in class FBObject.Attachment
true
if newly initialized, otherwise false
.
GLException
- if buffer generation or setup fails. The just created buffer name will be deleted in this case.public void free(GL gl)
FBObject.Attachment
zero
.
if(0 != name) { do free .. name = 0; }
free
in class FBObject.Attachment
public String toString()
toString
in class FBObject.Attachment
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |