mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
vulkan: default renderpass and framebuffers
Since these objects basically get used every frame we shouldn't store them in a hashmap with potentially worse performance. Instead storing them in member variables should be better.
This commit is contained in:
@@ -53,6 +53,7 @@ public:
|
||||
static VkSamplerMipmapMode getMipMapMode(SamplerState::MipmapFilterMode);
|
||||
static VkDescriptorType getDescriptorType(graphics::Shader::UniformType);
|
||||
static VkStencilOp getStencilOp(StencilAction);
|
||||
static VkIndexType getVulkanIndexBufferType(IndexDataType type);
|
||||
|
||||
static void cmdTransitionImageLayout(
|
||||
VkCommandBuffer, VkImage, VkImageLayout oldLayout, VkImageLayout newLayout,
|
||||
|
||||
Reference in New Issue
Block a user