#include <DebugDrawer.hpp>
|
C3D_API | DebugDrawer (RenderTarget &parent, RenderDevice const &device, Texture const &colour, Texture const &depth) |
| Constructor.
|
|
C3D_API void | addAabbs (VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize count, ashes::PipelineShaderStageCreateInfoArray shader) |
| Adds a buffer containing AABBs to draw.
|
|
C3D_API crg::SemaphoreWaitArray | render (ashes::Queue const &queue, crg::SemaphoreWaitArray toWait={}) |
| Renders added objects.
|
|
RenderTarget * | getOwner () const |
|
|
| OwnedBy (RenderTarget &owner) |
| Constructor.
|
|
◆ DebugDrawer()
Constructor.
- Parameters
-
[in] | parent | The parent render target. |
[in] | device | The GPU device. |
[in] | colour | The target colour image. |
[in] | depth | The target depth image. |
◆ addAabbs()
C3D_API void castor3d::DebugDrawer::addAabbs |
( |
VkBuffer | buffer, |
|
|
VkDeviceSize | offset, |
|
|
VkDeviceSize | size, |
|
|
VkDeviceSize | count, |
|
|
ashes::PipelineShaderStageCreateInfoArray | shader ) |
Adds a buffer containing AABBs to draw.
- Parameters
-
[in] | buffer | The GPU buffer. |
[in] | offset | The binary offset. |
[in] | size | The binary size. |
[in] | count | The AABB count. |
[in] | shader | The shader stages. |
◆ render()
C3D_API crg::SemaphoreWaitArray castor3d::DebugDrawer::render |
( |
ashes::Queue const & | queue, |
|
|
crg::SemaphoreWaitArray | toWait = {} ) |
Renders added objects.
- Parameters
-
[in] | queue | The queue receiving the render commands. |
[in] | toWait | The semaphores to wait. |
- Returns
- The semaphores signaled by this render.
The documentation for this class was generated from the following file: