Package com.jogamp.opengl
Class FBObject.ColorAttachment
java.lang.Object
com.jogamp.opengl.FBObject.Attachment
com.jogamp.opengl.FBObject.RenderAttachment
com.jogamp.opengl.FBObject.ColorAttachment
- All Implemented Interfaces:
FBObject.Colorbuffer
- Enclosing class:
- FBObject
public static class FBObject.ColorAttachment
extends FBObject.RenderAttachment
implements FBObject.Colorbuffer
Color render buffer FBO attachment
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FBObject.ColorAttachment
Casts this object to aFBObject.ColorAttachment
reference, seeFBObject.Colorbuffer.isTextureAttachment()
.Casts this object to aFBObject.TextureAttachment
reference, seeFBObject.Colorbuffer.isTextureAttachment()
.final boolean
Returnstrue
if instance is of typeFBObject.TextureAttachment
andfalse
if instance is of typeFBObject.ColorAttachment
.Methods inherited from class com.jogamp.opengl.FBObject.RenderAttachment
equals, free, getSamples, hashCode, initialize, toString
Methods inherited from class com.jogamp.opengl.FBObject.Attachment
formatToGLCapabilities, getFormat, getHeight, getName, getType, getWidth
Methods inherited from interface com.jogamp.opengl.FBObject.Colorbuffer
formatToGLCapabilities, free, getFormat, getHeight, getName, getWidth, initialize
-
Constructor Details
-
ColorAttachment
public ColorAttachment(int iFormat, int samples, int width, int height, int name)
-
-
Method Details
-
isTextureAttachment
public final boolean isTextureAttachment()Description copied from interface:FBObject.Colorbuffer
Returnstrue
if instance is of typeFBObject.TextureAttachment
andfalse
if instance is of typeFBObject.ColorAttachment
.- Specified by:
isTextureAttachment
in interfaceFBObject.Colorbuffer
-
getTextureAttachment
Description copied from interface:FBObject.Colorbuffer
Casts this object to aFBObject.TextureAttachment
reference, seeFBObject.Colorbuffer.isTextureAttachment()
.- Specified by:
getTextureAttachment
in interfaceFBObject.Colorbuffer
- See Also:
-
getColorAttachment
Description copied from interface:FBObject.Colorbuffer
Casts this object to aFBObject.ColorAttachment
reference, seeFBObject.Colorbuffer.isTextureAttachment()
.- Specified by:
getColorAttachment
in interfaceFBObject.Colorbuffer
- See Also:
-