Files
XCEngine/docs/api/XCEngine/RHI/OpenGL/OpenGLFramebuffer/OpenGLFramebuffer.md

2.1 KiB
Raw Blame History

OpenGLFramebuffer

命名空间: XCEngine::RHI

类型: class

头文件: XCEngine/RHI/OpenGL/OpenGLFramebuffer.h

描述: 定义 XCEngine/RHI/OpenGL 子目录中的 OpenGLFramebuffer public API。

概述

OpenGLFramebuffer.hXCEngine/RHI/OpenGL 子目录 下的 public header当前页面作为平行目录中的 canonical 总览,用于汇总该头文件暴露的主要声明。

声明概览

声明 类型 说明
FramebufferAttachmentType enum class 头文件中的公开声明。
FramebufferAttachment struct 头文件中的公开声明。
FramebufferDesc struct 头文件中的公开声明。
OpenGLFramebuffer class 继承自 RHIFramebuffer 的公开声明。

公共方法

方法 描述
OpenGLFramebuffer() 构造对象。
~OpenGLFramebuffer() 销毁对象并释放相关资源。
Initialize 初始化内部状态。
Shutdown 关闭并清理内部状态。
GetNativeHandle 获取相关状态或对象。
GetWidth 获取相关状态或对象。
GetHeight 获取相关状态或对象。
IsValid 查询当前状态。
Bind 公开方法,详见头文件声明。
Unbind 公开方法,详见头文件声明。
ClearColor 清空内部数据。
ClearDepth 清空内部数据。
ClearStencil 清空内部数据。
ClearDepthStencil 清空内部数据。
GetFramebuffer 获取相关状态或对象。
BindFramebuffer 公开方法,详见头文件声明。
UnbindFramebuffer 公开方法,详见头文件声明。

相关文档