Click or drag to resize

FramebufferGetAttachedTextureLevel Method

Returns the mipmap level of the 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)
Syntax
public int GetAttachedTextureLevel(
	FramebufferAttachment attachment
)

Parameters

attachment
Type: OooglesFramebufferAttachment
the attachment point to check.

Return Value

Type: Int32
The mipmap level of texture attached to this point.
Exceptions
ExceptionCondition
GLExceptionInvalidOperation if no framebuffer is bound.
GLExceptionInvalidOperation if no texture is attached to the given attachment point.
Remarks
Note: 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_LEVEL)

See Also