命令缓冲区.
更多...
#include <CommandBuffer.h>
|
virtual void | begin ()=0 |
| 开始记录命令. 更多...
|
|
virtual void | end ()=0 |
| 结束记录命令. 更多...
|
|
virtual void | begin_render_pass ()=0 |
|
virtual void | end_render_pass ()=0 |
|
virtual void | set_viewport (const Viewport &viewport)=0 |
|
virtual void | set_pipeline (std::shared_ptr< Pipeline > pipeline)=0 |
|
virtual void | set_vertex_buffer (std::shared_ptr< VertexBuffer > vertex_buffer)=0 |
|
virtual void | set_index_buffer (std::shared_ptr< IndexBuffer > index_buffer)=0 |
|
virtual void | set_texture (std::shared_ptr< Texture > texture, unsigned int slot)=0 |
|
virtual void | clear (uint8_t flags)=0 |
| 清空缓冲区. 更多...
|
|
virtual void | set_clear_color (const Vector4 &color)=0 |
| 设置清空颜色缓冲区的默认值. 更多...
|
|
virtual void | set_clear_depth (float depth)=0 |
| 设置清空深度缓冲区的默认值. 更多...
|
|
virtual void | set_clear_stencil (uint32_t value)=0 |
| 设置清空模板缓冲区的默认值. 更多...
|
|
virtual void | draw (uint32_t vertex_count, uint32_t first_vertex=0)=0 |
|
virtual void | draw_indexed (uint32_t index_count, uint32_t first_index=0)=0 |
|
◆ begin()
virtual void CommandBuffer::begin |
( |
| ) |
|
|
pure virtual |
◆ clear()
virtual void CommandBuffer::clear |
( |
uint8_t |
flags | ) |
|
|
pure virtual |
◆ end()
virtual void CommandBuffer::end |
( |
| ) |
|
|
pure virtual |
◆ set_clear_color()
virtual void CommandBuffer::set_clear_color |
( |
const Vector4 & |
color | ) |
|
|
pure virtual |
◆ set_clear_depth()
virtual void CommandBuffer::set_clear_depth |
( |
float |
depth | ) |
|
|
pure virtual |
◆ set_clear_stencil()
virtual void CommandBuffer::set_clear_stencil |
( |
uint32_t |
value | ) |
|
|
pure virtual |
该类的文档由以下文件生成:
- /github/workspace/src/CommandBuffer.h
- /github/workspace/src/CommandBuffer.cpp