3#include <Common/Graphics/Texture.hpp>
4#include <Common/Graphics/Formats.hpp>
5#include <Common/Graphics/VertexBuffer.hpp>
6#include <vulkan/vulkan.h>
8namespace Grindstone::GraphicsAPI::Vulkan {
9 VkFilter TranslateFilterToVulkan(TextureFilter);
10 VkSamplerMipmapMode TranslateMipFilterToVulkan(TextureFilter);
11 VkSamplerAddressMode TranslateWrapToVulkan(TextureWrapMode);
12 VkFormat TranslateVertexFormatsToVulkan(VertexFormat format);
13 ColorFormat TranslateColorFormatFromVulkan(VkFormat format);
14 DepthFormat TranslateDepthFormatFromVulkan(VkFormat format);
15 VkFormat TranslateColorFormatToVulkan(ColorFormat, uint8_t &channels);
16 VkFormat TranslateDepthFormatToVulkan(DepthFormat,
bool& hasStencil);
17 VkCullModeFlags TranslateCullModeToVulkan(CullMode cullMode);
18 VkColorComponentFlags TranslateColorMaskToVulkan(ColorMask colorMask);
19 VkPolygonMode TranslatePolygonModeToVulkan(PolygonFillMode mode);
20 VkPrimitiveTopology TranslateGeometryTypeToVulkan(GeometryType geometryType);
22 VkBlendOp TranslateBlendOpToVulkan(BlendOperation op);
23 VkBlendFactor TranslateBlendFactorToVulkan(BlendFactor factor);
24 VkCompareOp TranslateCompareOpToVulkan(CompareOperation op);