mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
vulkan: properly implement samplers
This commit is contained in:
@@ -44,6 +44,10 @@ public:
|
||||
static VkImageType getImageType(TextureType);
|
||||
static VkImageViewType getImageViewType(TextureType);
|
||||
static VkPolygonMode getPolygonMode(bool wireframe);
|
||||
static VkFilter getFilter(SamplerState::FilterMode);
|
||||
static VkSamplerAddressMode getWrapMode(SamplerState::WrapMode);
|
||||
static VkCompareOp getCompareOp(CompareMode);
|
||||
static VkSamplerMipmapMode getMipMapMode(SamplerState::MipmapFilterMode);
|
||||
|
||||
static void cmdTransitionImageLayout(
|
||||
VkCommandBuffer, VkImage, VkImageLayout oldLayout, VkImageLayout newLayout,
|
||||
|
||||
Reference in New Issue
Block a user