Toast Engine
Loading...
Searching...
No Matches
renderer::AsyncComputeTask::StepContext Class Reference

Handed to the step callback. Barriers between dispatches of one step are inserted for you. More...

#include <async_compute_task.hpp>

Public Member Functions

template<typename Push>
void dispatch (uint32_t groups_x, const Push &push, uint32_t entry=0, uint32_t groups_y=1, uint32_t groups_z=1)
void dispatch (uint32_t groups_x, uint32_t entry=0, uint32_t groups_y=1, uint32_t groups_z=1)
auto commandBuffer () const -> vk::CommandBuffer
 For anything the helpers do not cover.
auto hostData (BufferId id) const -> std::span< std::byte >
template<typename T>
auto hostData (BufferId id) const -> std::span< T >

Friends

class AsyncComputeTask

Detailed Description

Handed to the step callback. Barriers between dispatches of one step are inserted for you.


The documentation for this class was generated from the following files: