GLFrameBuffer

Constructors

this
this()

glGenFramebuffers

Members

Functions

bind
void bind()

glBindFramebuffer add id to stack

check
void check()

glCheckFramebufferStatus

isValidTextureTarget
bool isValidTextureTarget(GLTexture.Target trg)
Undocumented in source. Be warned that the author may not have intended to support it.
renderBuffer
void renderBuffer(GLRenderBuffer rbo, Attachment att)

set render buffer attachment

selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
setAttachment
void setAttachment(T obj, Attachment att)
texture
void texture(GLTexture tex, Attachment att)
void texture(GLTexture tex, Attachment att, GLTexture.Target trg)

set texture attachment

unbind
void unbind()

pop from stack old frame buffer id and glBindFramebuffer with it

Mixins

__anonymous
mixin DES
Undocumented in source.
__anonymous
mixin ClassLogger
Undocumented in source.

Properties

id
uint id [@property getter]

Static functions

getAttachmentEnumString
string getAttachmentEnumString()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

id_stack
uint[] id_stack;
Undocumented in source.

Variables

_id
uint _id;
Undocumented in source.

Meta