expose labledrawablevulkanencoder functions
This commit is contained in:
@@ -4,12 +4,10 @@
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "Scene/Prefabs/LabelDrawable.hpp"
|
||||
#include "Scene/SimpleDrawable.hpp"
|
||||
#include "LabelDrawableVulkanEncoder.hpp"
|
||||
#include "Scene/TextDrawable.hpp"
|
||||
#include "Scene/DrawEncoder.hpp"
|
||||
#include "VulkanGeometry.hpp"
|
||||
#include "Vulkan/VulkanDrawContext.hpp"
|
||||
#include "Vulkan/Scene/VulkanTexture.hpp"
|
||||
#include "Vulkan/Scene/VulkanUniformBuffer.hpp"
|
||||
#include "Vulkan/Scene/VulkanVertexBuffer.hpp"
|
||||
@@ -18,7 +16,6 @@ using namespace OpenVulkano::Scene;
|
||||
|
||||
namespace OpenVulkano::Vulkan
|
||||
{
|
||||
|
||||
void EncodeBackground(LabelDrawable* labelDrawable, VulkanDrawContext* drawContext)
|
||||
{
|
||||
VulkanUniformBuffer* vkBuffer = labelDrawable->GetLabelBuffer()->GetRenderResource();
|
||||
|
||||
17
openVulkanoCpp/Vulkan/Scene/LabelDrawableVulkanEncoder.hpp
Normal file
17
openVulkanoCpp/Vulkan/Scene/LabelDrawableVulkanEncoder.hpp
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Scene/Prefabs/LabelDrawable.hpp"
|
||||
#include "Vulkan/VulkanDrawContext.hpp"
|
||||
|
||||
namespace OpenVulkano::Vulkan
|
||||
{
|
||||
void EncodeBackground(Scene::LabelDrawable* labelDrawable, VulkanDrawContext* drawContext);
|
||||
void EncodeTextDrawable(Scene::LabelDrawable* labelDrawable, VulkanDrawContext* drawContext);
|
||||
void EncodeLabelDrawable(Scene::Drawable* instance, VulkanDrawContext* drawContext);
|
||||
}
|
||||
Reference in New Issue
Block a user