 | FramebufferGetAttachedCubeMapFace Method |
Returns the cube map face of the cube-map texture 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 int GetAttachedCubeMapFace(
FramebufferAttachment attachment
)
Public Function GetAttachedCubeMapFace (
attachment As FramebufferAttachment
) As Integer
public:
int GetAttachedCubeMapFace(
FramebufferAttachment attachment
)
member GetAttachedCubeMapFace :
attachment : FramebufferAttachment -> int
Parameters
- attachment
- Type: OooglesFramebufferAttachment
the attachment point to check.
Return Value
Type:
Int32The cube map face of texture attached to this point.
ExceptionsException | Condition |
---|
GLException | InvalidOperation if no framebuffer is bound. |
GLException | InvalidOperation if no texture 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_TEXTURE_CUBE_MAP_FACE)
See Also