Files
XCEngine/docs/api/rhi/opengl/command-list/command-list.md

2.1 KiB

OpenGLCommandList

命名空间: XCEngine::RHI

描述: OpenGL 命令列表实现,继承自 RHICommandList

公共方法

方法 描述
Shutdown 关闭命令列表
Reset 重置命令列表
Close 关闭命令列表
Clear 清除
ClearColor 清除颜色
ClearDepth 清除深度
ClearStencil 清除模板
ClearDepthStencil 清除深度模板
SetPipelineState 设置管线状态
SetVertexBuffer 设置顶点缓冲
SetVertexBuffers 设置多个顶点缓冲
SetIndexBuffer 设置索引缓冲
TransitionBarrier 资源状态转换
SetPrimitiveTopology 设置图元拓扑
SetViewport 设置视口
SetViewports 设置多个视口
SetScissorRect 设置裁剪矩形
SetScissorRects 设置多个裁剪矩形
SetRenderTargets 设置渲染目标
SetDepthStencilState 设置深度模板状态
SetStencilRef 设置模板引用值
SetBlendState 设置混合状态
SetBlendFactor 设置混合因子
ClearRenderTarget 清除渲染目标
Draw 绘制
DrawIndexed 索引绘制
Dispatch 分发计算任务
CopyResource 复制资源
OpenGLMethods OpenGL 特有方法

相关文档