 | FramebufferGetAttachedObjectType Method |
Returns the type of object 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 FramebufferAttachmentType GetAttachedObjectType(
FramebufferAttachment attachment
)
Public Function GetAttachedObjectType (
attachment As FramebufferAttachment
) As FramebufferAttachmentType
public:
FramebufferAttachmentType GetAttachedObjectType(
FramebufferAttachment attachment
)
member GetAttachedObjectType :
attachment : FramebufferAttachment -> FramebufferAttachmentType
Parameters
- attachment
- Type: OooglesFramebufferAttachment
the attachment point to check.
Return Value
Type:
FramebufferAttachmentTypeThe type of attachment attached to this point.
ExceptionsException | Condition |
---|
GLException | InvalidOperation if no framebuffer is bound. |
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_TYPE)
See Also