1#ifndef LIBSBX_GRAPHICS_BUFFERS_PUSH_HANDLER_HPP_
2#define LIBSBX_GRAPHICS_BUFFERS_PUSH_HANDLER_HPP_
9#include <libsbx/graphics/pipeline/shader.hpp>
10#include <libsbx/graphics/pipeline/pipeline.hpp>
11#include <libsbx/graphics/pipeline/graphics_pipeline.hpp>
13#include <libsbx/graphics/commands/command_buffer.hpp>
15namespace sbx::graphics {
27 template<
typename Type>
28 auto push(
const Type&
object, std::size_t size, std::size_t offset) -> void;
30 template<
typename Type>
31 auto push(
const std::string& uniform_name,
const Type&
object, std::size_t size = 0) -> void;
39 std::optional<shader::uniform_block> _uniform_block;
40 std::unique_ptr<std::uint8_t[]> _data;
41 VkPipelineLayout _pipeline_layout;
47#include <libsbx/graphics/buffers/push_handler.ipp>
Definition: command_buffer.hpp:14
Definition: pipeline.hpp:20
Definition: push_handler.hpp:17
Definition: resource_storage.hpp:17