public static class FBObject.ColorAttachment extends FBObject.RenderAttachment implements FBObject.Colorbuffer
FBObject.Attachment.Type
format, 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, toString
formatToGLCapabilities, getFormat, getHeight, getName, getType, getWidth
formatToGLCapabilities, free, getFormat, getHeight, getName, getWidth, initialize
public FBObject.ColorAttachment(int iFormat, int samples, int width, int height, int name)
public final boolean isTextureAttachment()
FBObject.Colorbuffer
true
if instance is of type FBObject.TextureAttachment
and false
if instance is of type FBObject.ColorAttachment
.isTextureAttachment
in interface FBObject.Colorbuffer
public final FBObject.TextureAttachment getTextureAttachment()
FBObject.Colorbuffer
FBObject.TextureAttachment
reference, see FBObject.Colorbuffer.isTextureAttachment()
.getTextureAttachment
in interface FBObject.Colorbuffer
FBObject.Colorbuffer.isTextureAttachment()
public final FBObject.ColorAttachment getColorAttachment()
FBObject.Colorbuffer
FBObject.ColorAttachment
reference, see FBObject.Colorbuffer.isTextureAttachment()
.getColorAttachment
in interface FBObject.Colorbuffer
FBObject.Colorbuffer.isTextureAttachment()
Copyright 2010 JogAmp Community.