public static class FBObject.ColorAttachment extends FBObject.RenderAttachment implements FBObject.Colorbuffer
FBObject.Attachment.Typeformat, type| Constructor and Description |
|---|
FBObject.ColorAttachment(int iFormat,
int samples,
int width,
int height,
int name) |
| Modifier and Type | Method and Description |
|---|---|
FBObject.ColorAttachment |
getColorAttachment()
Casts this object to a
FBObject.ColorAttachment reference, see FBObject.Colorbuffer.isTextureAttachment(). |
FBObject.TextureAttachment |
getTextureAttachment()
Casts this object to a
FBObject.TextureAttachment reference, see FBObject.Colorbuffer.isTextureAttachment(). |
boolean |
isTextureAttachment()
Returns
true if instance is of type FBObject.TextureAttachment
and false if instance is of type FBObject.ColorAttachment. |
equals, free, getSamples, hashCode, initialize, toStringformatToGLCapabilities, getFormat, getHeight, getName, getType, getWidthformatToGLCapabilities, free, getFormat, getHeight, getName, getWidth, initializepublic FBObject.ColorAttachment(int iFormat,
int samples,
int width,
int height,
int name)
public final boolean isTextureAttachment()
FBObject.Colorbuffertrue if instance is of type FBObject.TextureAttachment
and false if instance is of type FBObject.ColorAttachment.isTextureAttachment in interface FBObject.Colorbufferpublic final FBObject.TextureAttachment getTextureAttachment()
FBObject.ColorbufferFBObject.TextureAttachment reference, see FBObject.Colorbuffer.isTextureAttachment().getTextureAttachment in interface FBObject.ColorbufferFBObject.Colorbuffer.isTextureAttachment()public final FBObject.ColorAttachment getColorAttachment()
FBObject.ColorbufferFBObject.ColorAttachment reference, see FBObject.Colorbuffer.isTextureAttachment().getColorAttachment in interface FBObject.ColorbufferFBObject.Colorbuffer.isTextureAttachment()Copyright 2010 JogAmp Community.