 | Framebuffer.GetAttachedRenderbuffer Method |
Returns the renderbuffer attached to an attachment point of the framebuffer.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Renderbuffer GetAttachedRenderbuffer(
Framebuffer.Attachment attachment
)
Public Function GetAttachedRenderbuffer (
attachment As Framebuffer.Attachment
) As Renderbuffer
public:
Renderbuffer^ GetAttachedRenderbuffer(
Framebuffer.Attachment attachment
)
member GetAttachedRenderbuffer :
attachment : Framebuffer.Attachment -> Renderbuffer
Parameters
- attachment
- Type: Ooogles.Framebuffer.Attachment
the attachment point to check.
Return Value
Type:
RenderbufferThe renderbuffer attached to this point.
ExceptionsException | Condition |
---|
GLException | InvalidOperation if no framebuffer is bound. |
GLException | InvalidOperation if no renderbuffer is attached to the given attachment point. |
RemarksNote: in DEBUG mode with assertions enabled, an error will be logged to the debug console if this framebuffer is not bound.
OpenGL API: glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME)
See Also