|
| | CommandBuffer (const Device &device) |
| |
| | operator SDL_GPUCommandBuffer * () const |
| | Convert to SDL_GPU command buffer handle.
|
| |
| | CommandBuffer (const CommandBuffer &)=delete |
| | Deleted copy constructor.
|
| |
| | CommandBuffer (CommandBuffer &&other) noexcept |
| | Move constructor.
|
| |
| CommandBuffer & | operator= (const CommandBuffer &)=delete |
| | Deleted copy assignment operator.
|
| |
| CommandBuffer & | operator= (CommandBuffer &&other) noexcept |
| | Move assignment operator.
|
| |
| bool | submit () noexcept |
| |
| SDL_GPUFence * | submitAndAcquireFence () noexcept |
| |
| bool | cancel () noexcept |
| | Cancel the command buffer, returning the bool value from the wrapped SDL API.
|
| |
| bool | active () const noexcept |
| | Check if the command buffer is still active.
|
| |
| | ~CommandBuffer () noexcept |
| |
| template<GpuCompatibleData T> |
| CommandBuffer & | pushVertexUniform (Uint32 slot_index, const T &data) |
| |
| template<GpuCompatibleData T> |
| CommandBuffer & | pushFragmentUniform (Uint32 slot_index, const T &data) |
| |
| template<GpuCompatibleData T> |
| CommandBuffer & | pushVertexUniform (Uint32 slot_index, std::span< const T > data) |
| |
| template<GpuCompatibleData T> |
| CommandBuffer & | pushFragmentUniform (Uint32 slot_index, std::span< const T > data) |
| |
| template<GpuCompatibleData T, size_t N> |
| CommandBuffer & | pushVertexUniform (Uint32 slot_index, const T(&data)[N]) |
| |
| template<GpuCompatibleData T, size_t N> |
| CommandBuffer & | pushFragmentUniform (Uint32 slot_index, const T(&data)[N]) |
| |
| CommandBuffer & | pushVertexUniformRaw (Uint32 slot_index, const void *data, Uint32 length) |
| | Push uniform data to the vertex shader.
|
| |
| CommandBuffer & | pushFragmentUniformRaw (Uint32 slot_index, const void *data, Uint32 length) |
| | Push uniform data to the fragment shader.
|
| |