SPARK  0.1.0
A general purpose game engine written in C++.
Loading...
Searching...
No Matches
VulkanRasterizer.h
1#pragma once
2
3#include "spark/render/Rasterizer.h"
4#include "spark/render/vk/Export.h"
5
6namespace spark::render::vk
7{
11 class SPARK_RENDER_VK_EXPORT VulkanRasterizer final : public Rasterizer
12 {
13 public:
22 explicit VulkanRasterizer(PolygonMode polygon_mode, CullMode cull_mode, CullOrder cull_order, float line_width, const DepthStencilState& depth_stencil_state) noexcept;
23 ~VulkanRasterizer() override = default;
24
25 VulkanRasterizer(const VulkanRasterizer& other) = delete;
26 VulkanRasterizer(VulkanRasterizer&& other) noexcept = delete;
27 VulkanRasterizer& operator=(const VulkanRasterizer& other) = delete;
28 VulkanRasterizer& operator=(VulkanRasterizer&& other) noexcept = delete;
29
37 void updateLineWidth(float line_width) noexcept;
38 };
39}
Stores the depth/stencil state of a see IRasterizer.
Definition DepthStencilState.h:75
Implements the IRasterizer interface.
Definition Rasterizer.h:103
Vulkan implementation of IRasterizer.
Definition VulkanRasterizer.h:12