Fixed UI Rendering #326
|
@ -1185,6 +1185,16 @@ namespace SHADE
|
|||
return fontLibrary;
|
||||
}
|
||||
|
||||
Handle <SHSubpass> const& SHGraphicsSystem::GetUsableSubpass(std::string subpassName) const noexcept
|
||||
{
|
||||
if (usableSubpassesMapping.contains(subpassName))
|
||||
{
|
||||
return usableSubpassesMapping.at (subpassName);
|
||||
}
|
||||
else
|
||||
return {};
|
||||
}
|
||||
|
||||
Handle<SHVkPipeline> SHGraphicsSystem::createDebugDrawPipeline(Handle<SHVkRenderpass> renderPass, Handle<SHSubpass> subpass, bool filled, bool triMesh, bool instanced)
|
||||
{
|
||||
auto pipelineLayout = resourceManager.Create<SHVkPipelineLayout>
|
||||
|
|
|
@ -399,7 +399,7 @@ namespace SHADE
|
|||
uint32_t GetCurrentFrameIndex(void) const noexcept { return renderContext.GetCurrentFrame(); }
|
||||
SHFontLibrary const& GetFontLibrary (void) const noexcept;
|
||||
const SHMeshLibrary& GetMeshLibrary() const noexcept { return meshLibrary; };
|
||||
std::unordered_map<std::string, Handle<SHSubpass>> const& GetUsableSubpasses(void) const noexcept {return usableSubpassesMapping;};
|
||||
Handle <SHSubpass> const& GetUsableSubpass(std::string subpassName) const noexcept;
|
||||
|
||||
/*-----------------------------------------------------------------------------*/
|
||||
/* Getters */
|
||||
|
|
Loading…
Reference in New Issue