Framebuffer

Undocumented in source.

Constructors

this
this(GBuffer gbuffer, uint w, uint h, bool floating, bool isHDRSceneBuffer, Owner o)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

averageLuminance
float averageLuminance()
Undocumented in source. Be warned that the author may not have intended to support it.
bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(Color4f clearColor)
Undocumented in source. Be warned that the author may not have intended to support it.
currentColorTexture
GLuint currentColorTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
genLuminanceMipmaps
void genLuminanceMipmaps()
Undocumented in source. Be warned that the author may not have intended to support it.
previousColorTexture
GLuint previousColorTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
swapColorTextureAttachments
void swapColorTextureAttachments()
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

colorTexture1
GLuint colorTexture1;
Undocumented in source.
colorTexture2
GLuint colorTexture2;
Undocumented in source.
currColorTexture
GLuint currColorTexture;
Undocumented in source.
depthTexture
GLuint depthTexture;
Undocumented in source.
eao
GLuint eao;
Undocumented in source.
fbo
GLuint fbo;
Undocumented in source.
gbuffer
GBuffer gbuffer;
Undocumented in source.
indices
uint[3][2] indices;
Undocumented in source.
isFloating
bool isFloating;
Undocumented in source.
isHDRSceneBuffer
bool isHDRSceneBuffer;
Undocumented in source.
lumaTexture
GLuint lumaTexture;
Undocumented in source.
maxMipmap
int maxMipmap;
Undocumented in source.
tbo
GLuint tbo;
Undocumented in source.
texcoords
Vector2f[4] texcoords;
Undocumented in source.
vao
GLuint vao;
Undocumented in source.
vbo
GLuint vbo;
Undocumented in source.
velocityTexture
GLuint velocityTexture;
Undocumented in source.
vertices
Vector2f[4] vertices;
Undocumented in source.

Inherited Members

From RenderTarget

width
uint width;
Undocumented in source.
height
uint height;
Undocumented in source.
bind
void bind()
Undocumented in source.
unbind
void unbind()
Undocumented in source.
clear
void clear(Color4f clearColor)
Undocumented in source.

Meta