Chicane

Instance

Header
Chicane/Renderer/Vulkan/Frame/Instance.hpp
Namespace
Chicane::Vulkan::Frame::Instance

Funções

AcessoModificadorTipoNomeDescrição
publicvoidsetAsDirty()
publicvoidsetupSync()
publicvoidwait(const vk::Device& inLogicalDevice)
publicvoidreset(const vk::Device& inLogicalDevice)
publicvoiddestroySync()
publicvk::ResultValue<std::uint32_t>getNextIndex(const vk::SwapchainKHR& inSwapchain,const vk::Device& inLogicalDevice)
publicvoidsetupCameraData(CameraComponent* inCamera)
publicvoidupdateCameraData(CameraComponent* inCamera)
publicvoiddestroyCameraData()
publicvoidsetupMeshData(const std::vector<MeshComponent*>& inMeshes)
publicvoidupdateMeshData(const std::vector<MeshComponent*>& inMeshes)
publicvoiddestroyMeshData()
publicvoidsetupDepthBuffering(const vk::Format& inFormat)
publicvoiddestroyDepthBuffering()
publicvoidaddFrameBuffer(const std::string& inId, const vk::Framebuffer& inFramebuffer)
publicvk::FramebuffergetFramebuffer(const std::string& inId)
publicvoidaddDescriptorSet(const std::string& inId, const vk::DescriptorSet& inDescriptorSet)
publicvk::DescriptorSetgetDescriptorSet(const std::string& inId)
publicvoidaddWriteDescriptorSet(const vk::WriteDescriptorSet& inWriteDescriptorSet)
publicvoidupdateDescriptorSets()
publicvoiddestroy()
privatevoidrefreshMeshData(const std::vector<MeshComponent*>& inMeshes)

Propriedades

AcessoModificadorTipoNomeDescrição
publicvk::DevicelogicalDevice
publicvk::PhysicalDevicephysicalDevice
publicstd::uint32_twidth
publicstd::uint32_theight
publicvk::Imageimage
publicvk::ImageViewimageView
publicstd::unordered_map<std::string, vk::Framebuffer>framebuffers
publicDepthdepth
publicvk::CommandBuffercommandBuffer
publicvk::FencerenderFence
publicvk::SemaphorepresentSemaphore
publicvk::SemaphorerenderSemaphore
publicResource<Chicane::Camera::Data>cameraResource
publicResource<Chicane::Mesh::Data>meshResource
publicstd::unordered_map<std::string,vk::DescriptorSet>descriptorSets
publicstd::vector<vk::WriteDescriptorSet>descriptorSetWrites