clear-framebuffer-attachment ( framebuffer: any-framebuffer attachment-ref: attachment-ref value -- )
GPU-accelerated rendering ยป Framebuffer objects

Prev:clear-framebuffer ( framebuffer alist -- )
Next:allocate-renderbuffer ( renderbuffer: renderbuffer dim -- )


Vocabulary
gpu.framebuffers

Inputs
framebufferan any-framebuffer
attachment-refan attachment-ref
valuean object


Outputs
None

Word description
Clears the active viewport area of the given attachment to framebuffer to value.

Notes
User-created framebuffer objects require OpenGL 3.0 or one of the GL_ARB_framebuffer_object or GL_EXT_framebuffer_object extensions.

See also
clear-framebuffer

Definition