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.ColorAttachmentCasts this object to aFBObject.ColorAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().Casts this object to aFBObject.TextureAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().final booleanReturnstrueif instance is of typeFBObject.TextureAttachmentandfalseif instance is of typeFBObject.ColorAttachment.Methods inherited from class com.jogamp.opengl.FBObject.RenderAttachment
equals, free, getSamples, hashCode, initialize, toStringMethods inherited from class com.jogamp.opengl.FBObject.Attachment
formatToGLCapabilities, getFormat, getHeight, getName, getType, getWidthMethods 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.ColorbufferReturnstrueif instance is of typeFBObject.TextureAttachmentandfalseif instance is of typeFBObject.ColorAttachment.- Specified by:
isTextureAttachmentin interfaceFBObject.Colorbuffer
-
getTextureAttachment
Description copied from interface:FBObject.ColorbufferCasts this object to aFBObject.TextureAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().- Specified by:
getTextureAttachmentin interfaceFBObject.Colorbuffer- See Also:
-
getColorAttachment
Description copied from interface:FBObject.ColorbufferCasts this object to aFBObject.ColorAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().- Specified by:
getColorAttachmentin interfaceFBObject.Colorbuffer- See Also:
-