|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Color render buffer FBO attachment
More...
Public Member Functions | |
| ColorAttachment (final int iFormat, final int samples, final int width, final int height, final int name) | |
| final boolean | isTextureAttachment () |
Returns true if instance is of type TextureAttachment and false if instance is of type ColorAttachment. More... | |
| final TextureAttachment | getTextureAttachment () |
Casts this object to a TextureAttachment reference, see isTextureAttachment(). More... | |
| final ColorAttachment | getColorAttachment () |
Casts this object to a ColorAttachment reference, see isTextureAttachment(). More... | |
Public Member Functions inherited from com.jogamp.opengl.FBObject.RenderAttachment | |
| RenderAttachment (final Type type, final int iFormat, final int samples, final int width, final int height, final int name) | |
| final int | getSamples () |
| number of samples, or zero for no multisampling More... | |
| boolean | equals (final Object o) |
| int | hashCode () |
| boolean | initialize (final GL gl) throws GLException |
| Initializes the attachment and set it's parameter, if uninitialized, i.e. More... | |
| void | free (final GL gl) |
| Releases the attachment if initialized, i.e. More... | |
| String | toString () |
Public Member Functions inherited from com.jogamp.opengl.FBObject.Attachment | |
| void | setStorageDefinition (final StorageDefinition sd) |
Override implementation default StorageDefinition. More... | |
| final void | formatToGLCapabilities (final GLCapabilities caps, final boolean rgba8Avail) |
| Writes the internal format to the given GLCapabilities object. More... | |
| final int | getFormat () |
| immutable internal format of attachment More... | |
| final int | getWidth () |
| width of attachment More... | |
| final int | getHeight () |
| height of attachment More... | |
| final int | getName () |
| buffer name [1..max], maybe a texture or renderbuffer name, depending on type. More... | |
| abstract boolean | initialize (final GL gl) throws GLException |
| Initializes the attachment and set it's parameter, if uninitialized, i.e. More... | |
| abstract void | free (final GL gl) throws GLException |
| Releases the attachment if initialized, i.e. More... | |
| boolean | equals (final Object o) |
| int | hashCode () |
| String | toString () |
Public Member Functions inherited from com.jogamp.opengl.FBObject.Colorbuffer | |
| boolean | initialize (final GL gl) throws GLException |
| Initializes the color buffer and set it's parameter, if uninitialized, i.e. More... | |
| void | free (final GL gl) throws GLException |
| Releases the color buffer if initialized, i.e. More... | |
| void | formatToGLCapabilities (final GLCapabilities caps, final boolean rgba8Avail) |
| Writes the internal format to the given GLCapabilities object. More... | |
| boolean | isTextureAttachment () |
Returns true if instance is of type TextureAttachment and false if instance is of type ColorAttachment. More... | |
| TextureAttachment | getTextureAttachment () |
Casts this object to a TextureAttachment reference, see isTextureAttachment(). More... | |
| ColorAttachment | getColorAttachment () |
Casts this object to a ColorAttachment reference, see isTextureAttachment(). More... | |
| int | getFormat () |
| internal format of colorbuffer More... | |
| int | getWidth () |
| width of colorbuffer More... | |
| int | getHeight () |
| height of colorbuffer More... | |
| int | getName () |
| colorbuffer name [1..max] More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from com.jogamp.opengl.FBObject.Attachment | |
| static Type | getType (final int attachmentPoint, final int maxColorAttachments) |
Public Attributes inherited from com.jogamp.opengl.FBObject.Attachment | |
| final Type | type |
immutable type [COLOR, DEPTH, STENCIL, COLOR_TEXTURE, DEPTH_TEXTURE, STENCIL_TEXTURE ] More... | |
| final int | format |
| immutable the internal format More... | |
Protected Member Functions inherited from com.jogamp.opengl.FBObject.Attachment | |
| Attachment (final Type type, final int iFormat, final int width, final int height, final int name) | |
| final void | setStorage (final GL gl) |
Accessor to call StorageDefinition#setStorage(GL, Attachment) within initialize(GL) for implementations of Attachment. More... | |
Color render buffer FBO attachment
Definition at line 510 of file FBObject.java.
| com.jogamp.opengl.FBObject.ColorAttachment.ColorAttachment | ( | final int | iFormat, |
| final int | samples, | ||
| final int | width, | ||
| final int | height, | ||
| final int | name | ||
| ) |
Definition at line 511 of file FBObject.java.
| final ColorAttachment com.jogamp.opengl.FBObject.ColorAttachment.getColorAttachment | ( | ) |
Casts this object to a ColorAttachment reference, see isTextureAttachment().
| GLException | if this object is not of type ColorAttachment |
Implements com.jogamp.opengl.FBObject.Colorbuffer.
Definition at line 519 of file FBObject.java.
| final TextureAttachment com.jogamp.opengl.FBObject.ColorAttachment.getTextureAttachment | ( | ) |
Casts this object to a TextureAttachment reference, see isTextureAttachment().
| GLException | if this object is not of type TextureAttachment |
Implements com.jogamp.opengl.FBObject.Colorbuffer.
Definition at line 517 of file FBObject.java.
| final boolean com.jogamp.opengl.FBObject.ColorAttachment.isTextureAttachment | ( | ) |
Returns true if instance is of type TextureAttachment and false if instance is of type ColorAttachment.
Implements com.jogamp.opengl.FBObject.Colorbuffer.
Definition at line 515 of file FBObject.java.