6#ifndef INCLUDE_VULKANENGINE_GRAPHICSPIPELINE_H_
7#define INCLUDE_VULKANENGINE_GRAPHICSPIPELINE_H_
10#include <vulkan/vulkan.hpp>
38 void setViewPort(
float x,
float y,
float width,
float height,
float min_depth,
46 void setScissor(int32_t offset_x, int32_t offset_y, int32_t width,
53 const std::shared_ptr<Shader> shader);
57 vk::Pipeline vk_graphics_pipeline;
60 vk::Viewport vk_viewport;
63 vk::Rect2D vk_scissor;
Definition: GraphicsPipeline.h:19
void bindPipeline()
Bind the graphics pipeline to the current command buffer.
Definition: GraphicsPipeline.cpp:39
void setViewPort(float x, float y, float width, float height, float min_depth, float max_depth)
Definition: GraphicsPipeline.cpp:47
void setScissor(int32_t offset_x, int32_t offset_y, int32_t width, int32_t height)
Definition: GraphicsPipeline.cpp:59
GraphicsPipeline()
Contructor.
Definition: GraphicsPipeline.cpp:29
void createGraphicsPipeline(const std::shared_ptr< MeshBase > mesh, const std::shared_ptr< Shader > shader)
Definition: GraphicsPipeline.cpp:67
~GraphicsPipeline()
Destructor.
Definition: GraphicsPipeline.cpp:31
TODO development of this class is in progress.
Definition: Attribute.h:13