1.7 KiB
1.7 KiB
OpenGLVertexArray
命名空间: XCEngine::RHI
类型: class
头文件: XCEngine/RHI/OpenGL/OpenGLVertexArray.h
描述: 定义 XCEngine/RHI/OpenGL 子目录中的 OpenGLVertexArray public API。
概述
OpenGLVertexArray.h 是 XCEngine/RHI/OpenGL 子目录 下的 public header,当前页面作为平行目录中的 canonical 总览,用于汇总该头文件暴露的主要声明。
声明概览
| 声明 | 类型 | 说明 |
|---|---|---|
VertexAttributeType |
enum class |
头文件中的公开声明。 |
VertexAttributeNormalized |
enum class |
头文件中的公开声明。 |
VertexAttribute |
struct |
头文件中的公开声明。 |
OpenGLVertexArray |
class |
头文件中的公开声明。 |
公共方法
| 方法 | 描述 |
|---|---|
| OpenGLVertexArray() | 构造对象。 |
| ~OpenGLVertexArray() | 销毁对象并释放相关资源。 |
| Initialize | 初始化内部状态。 |
| AddVertexBuffer | 添加元素或建立关联。 |
| SetIndexBuffer | 设置相关状态或配置。 |
| Shutdown | 关闭并清理内部状态。 |
| Bind | 公开方法,详见头文件声明。 |
| Unbind | 公开方法,详见头文件声明。 |
| GetID | 获取相关状态或对象。 |
| GetIndexBuffer | 获取相关状态或对象。 |
| GetIndexCount | 获取相关状态或对象。 |