11#include <vulkan/vulkan.h>
77 VkDescriptorSetLayout mDescriptorSetLayout;
78 std::pair<VkPipelineLayout, VkPipeline> mPipelinePair;
Interface for backend-specific material GPU resources.
Represents a material instance with parameter values, texture bindings, and rendering configuration.
VkPipeline GetPipeline() const
Gets the Vulkan graphics pipeline used by the material.
void Shutdown() override
Releases all Vulkan GPU resources associated with this material.
void Initialize(Material *material) override
Initializes Vulkan-specific GPU resources for the material.
VkPipelineLayout GetPipelineLayout() const
Gets the Vulkan pipeline layout used by the material.
VulkanMaterialResources(VulkanRenderer *renderer)
Constructs a VulkanMaterialResources instance.
VkDescriptorSetLayout GetDescriptorSetLayout() const
Gets the Vulkan descriptor set layout for the material.
Vulkan-based implementation of the IRenderer interface.