renamed to Mesh.h/.cpp from VKRenderable.h/.cpp

This commit is contained in:
hyzboy 2025-05-18 02:15:33 +08:00
parent 4b2f344c5c
commit a641c56381
17 changed files with 22 additions and 22 deletions

View File

@ -5,7 +5,7 @@
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/InlineGeometry.h> #include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/RenderList.h> #include<hgl/graph/RenderList.h>
using namespace hgl; using namespace hgl;

View File

@ -5,7 +5,7 @@
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/InlineGeometry.h> #include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKTexture.h> #include<hgl/graph/VKTexture.h>
#include<hgl/graph/RenderList.h> #include<hgl/graph/RenderList.h>

View File

@ -4,7 +4,7 @@
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/InlineGeometry.h> #include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/RenderList.h> #include<hgl/graph/RenderList.h>
#include<hgl/graph/VKTexture.h> #include<hgl/graph/VKTexture.h>
#include<hgl/graph/VKImageView.h> #include<hgl/graph/VKImageView.h>

View File

@ -5,7 +5,7 @@
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/InlineGeometry.h> #include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKTexture.h> #include<hgl/graph/VKTexture.h>
#include<hgl/graph/RenderList.h> #include<hgl/graph/RenderList.h>

View File

@ -5,7 +5,7 @@
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/InlineGeometry.h> #include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKTexture.h> #include<hgl/graph/VKTexture.h>
#include<hgl/graph/RenderList.h> #include<hgl/graph/RenderList.h>

View File

@ -1,7 +1,7 @@
#pragma once #pragma once
#include<hgl/component/PrimitiveComponent.h> #include<hgl/component/PrimitiveComponent.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
COMPONENT_NAMESPACE_BEGIN COMPONENT_NAMESPACE_BEGIN

View File

@ -4,7 +4,7 @@
#include<hgl/graph/VKVABList.h> #include<hgl/graph/VKVABList.h>
#include<hgl/graph/VKPipeline.h> #include<hgl/graph/VKPipeline.h>
#include<hgl/graph/VKDescriptorSet.h> #include<hgl/graph/VKDescriptorSet.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/color/Color4f.h> #include<hgl/color/Color4f.h>
VK_NAMESPACE_BEGIN VK_NAMESPACE_BEGIN
class VulkanCmdBuffer class VulkanCmdBuffer

View File

@ -11,7 +11,7 @@
#include<hgl/graph/VKTexture.h> #include<hgl/graph/VKTexture.h>
#include<hgl/graph/VKMaterialParameters.h> #include<hgl/graph/VKMaterialParameters.h>
#include<hgl/graph/VKMaterialInstance.h> #include<hgl/graph/VKMaterialInstance.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/font/TextPrimitive.h> #include<hgl/graph/font/TextPrimitive.h>
#include<hgl/type/ObjectManage.h> #include<hgl/type/ObjectManage.h>
#include<hgl/shadergen/MaterialCreateInfo.h> #include<hgl/shadergen/MaterialCreateInfo.h>

View File

@ -23,7 +23,9 @@ SET(SG_PRIMITIVE_SOURCE ${SG_INCLUDE_PATH}/VKPrimitive.h
SOURCE_GROUP("Primitive" FILES ${SG_PRIMITIVE_SOURCE}) SOURCE_GROUP("Primitive" FILES ${SG_PRIMITIVE_SOURCE})
SET(TILE_SOURCE ${SG_INCLUDE_PATH}/TileData.h SET(TILE_SOURCE ${SG_INCLUDE_PATH}/TileData.h
TileData.cpp) TileData.cpp
Vulkan/VKTileData.cpp
Vulkan/VKTileFont.cpp)
SOURCE_GROUP("Tile" FILES ${TILE_SOURCE}) SOURCE_GROUP("Tile" FILES ${TILE_SOURCE})
@ -282,12 +284,10 @@ SET(VK_CMD_BUFFER_SOURCE ${SG_INCLUDE_PATH}/VKCommandBuffer.h
SOURCE_GROUP("Vulkan\\Command Buffer" FILES ${VK_CMD_BUFFER_SOURCE}) SOURCE_GROUP("Vulkan\\Command Buffer" FILES ${VK_CMD_BUFFER_SOURCE})
SET(VK_RENDERABLE_SOURCE ${SG_INCLUDE_PATH}/VKRenderable.h SET(VK_MESH_SOURCE ${SG_INCLUDE_PATH}/Mesh.h
Vulkan/VKRenderable.cpp Vulkan/Mesh.cpp)
Vulkan/VKTileData.cpp
Vulkan/VKTileFont.cpp)
SOURCE_GROUP("Vulkan\\Mesh" FILES ${VK_RENDERABLE_SOURCE}) SOURCE_GROUP("Vulkan\\Mesh" FILES ${VK_MESH_SOURCE})
set(COMPONENT_INCLUDE_PATH ${ROOT_INCLUDE_PATH}/hgl/component) set(COMPONENT_INCLUDE_PATH ${ROOT_INCLUDE_PATH}/hgl/component)
@ -361,7 +361,7 @@ SET(VULKAN_RENDER_SOURCE ${VK_RR_SOURCE}
${VK_RENDER_TARGET_SOURCE} ${VK_RENDER_TARGET_SOURCE}
#${VK_RENDER_CONTEXT_SOURCE} #${VK_RENDER_CONTEXT_SOURCE}
${VK_CMD_BUFFER_SOURCE} ${VK_CMD_BUFFER_SOURCE}
${VK_RENDERABLE_SOURCE} ${VK_MESH_SOURCE}
${VK_RENDER_DEVICE_SOURCE}) ${VK_RENDER_DEVICE_SOURCE})
add_cm_library(ULRE.SceneGraph "ULRE" ${SCENE_GRAPH_FILES} add_cm_library(ULRE.SceneGraph "ULRE" ${SCENE_GRAPH_FILES}

View File

@ -1,4 +1,4 @@
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKMaterialInstance.h> #include<hgl/graph/VKMaterialInstance.h>
#include<hgl/graph/VKMaterialParameters.h> #include<hgl/graph/VKMaterialParameters.h>
#include<hgl/graph/VKMaterial.h> #include<hgl/graph/VKMaterial.h>

View File

@ -1,7 +1,7 @@
#include<hgl/graph/VKCommandBuffer.h> #include<hgl/graph/VKCommandBuffer.h>
#include<hgl/graph/VKRenderPass.h> #include<hgl/graph/VKRenderPass.h>
#include<hgl/graph/VKFramebuffer.h> #include<hgl/graph/VKFramebuffer.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKDeviceAttribute.h> #include<hgl/graph/VKDeviceAttribute.h>
#include<hgl/graph/VKPhysicalDevice.h> #include<hgl/graph/VKPhysicalDevice.h>
#include<hgl/graph/VKIndexBuffer.h> #include<hgl/graph/VKIndexBuffer.h>

View File

@ -1,6 +1,6 @@
#include<hgl/graph/VKRenderResource.h> #include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/VKDevice.h> #include<hgl/graph/VKDevice.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKInlinePipeline.h> #include<hgl/graph/VKInlinePipeline.h>
#include<hgl/graph/VKVertexAttribBuffer.h> #include<hgl/graph/VKVertexAttribBuffer.h>
#include<hgl/graph/VKIndexBuffer.h> #include<hgl/graph/VKIndexBuffer.h>

View File

@ -1,5 +1,5 @@
#include<hgl/graph/MaterialRenderList.h> #include<hgl/graph/MaterialRenderList.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKDevice.h> #include<hgl/graph/VKDevice.h>
#include<hgl/graph/VKCommandBuffer.h> #include<hgl/graph/VKCommandBuffer.h>
#include<hgl/graph/VKVertexInput.h> #include<hgl/graph/VKVertexInput.h>

View File

@ -4,7 +4,7 @@
#include<hgl/graph/VKMaterialInstance.h> #include<hgl/graph/VKMaterialInstance.h>
#include<hgl/graph/SceneNode.h> #include<hgl/graph/SceneNode.h>
#include<hgl/graph/RenderNode.h> #include<hgl/graph/RenderNode.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
#include<hgl/graph/VKRenderAssign.h> #include<hgl/graph/VKRenderAssign.h>
#include<hgl/graph/mtl/UBOCommon.h> #include<hgl/graph/mtl/UBOCommon.h>

View File

@ -4,7 +4,7 @@
#include<hgl/graph/VK.h> #include<hgl/graph/VK.h>
#include<hgl/graph/VKCommandBuffer.h> #include<hgl/graph/VKCommandBuffer.h>
#include<hgl/graph/VKMaterial.h> #include<hgl/graph/VKMaterial.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
namespace hgl namespace hgl
{ {

View File

@ -1,5 +1,5 @@
#include<hgl/graph/SceneNode.h> #include<hgl/graph/SceneNode.h>
#include<hgl/graph/VKRenderable.h> #include<hgl/graph/Mesh.h>
namespace hgl namespace hgl
{ {
namespace graph namespace graph