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.StorageDefinition, FBObject.Attachment.Type
-
-
Field Summary
-
Fields inherited from class com.jogamp.opengl.FBObject.Attachment
format, type
-
-
Constructor Summary
Constructors Constructor Description ColorAttachment(int iFormat, int samples, int width, int height, int name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FBObject.ColorAttachmentgetColorAttachment()Casts this object to aFBObject.ColorAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().FBObject.TextureAttachmentgetTextureAttachment()Casts this object to aFBObject.TextureAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().booleanisTextureAttachment()Returnstrueif instance is of typeFBObject.TextureAttachmentandfalseif 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, setStorageDefinition
-
Methods inherited from interface com.jogamp.opengl.FBObject.Colorbuffer
formatToGLCapabilities, free, getFormat, getHeight, getName, getWidth, initialize
-
-
-
-
Method Detail
-
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
public final FBObject.TextureAttachment getTextureAttachment()
Description copied from interface:FBObject.ColorbufferCasts this object to aFBObject.TextureAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().- Specified by:
getTextureAttachmentin interfaceFBObject.Colorbuffer- See Also:
FBObject.Colorbuffer.isTextureAttachment()
-
getColorAttachment
public final FBObject.ColorAttachment getColorAttachment()
Description copied from interface:FBObject.ColorbufferCasts this object to aFBObject.ColorAttachmentreference, seeFBObject.Colorbuffer.isTextureAttachment().- Specified by:
getColorAttachmentin interfaceFBObject.Colorbuffer- See Also:
FBObject.Colorbuffer.isTextureAttachment()
-
-