303 Commits

Author SHA1 Message Date
f1fcfe5cd4 split two files.they are MVPMatrix.h and SceneTreeToRenderList.h 2021-04-26 20:36:56 +08:00
d0d00b235c add VKMemoryAllocator.h/.cpp in CMakeLists.txt 2021-04-07 21:17:24 +08:00
8f1fc82697 moved GPUArrayBuffer construct function to private scope. 2021-04-06 19:13:53 +08:00
e1aaaa0b31 add VKMemoryAllocator 2021-03-25 20:00:19 +08:00
eeff738f56 add VKArrayBuffer.cpp/.h 2021-02-10 18:53:07 +08:00
46f006f470 SceneNode only support a renderable instance. 2021-02-07 18:38:52 +08:00
4108eaa342 SceneTreeToRenderList 2021-02-05 17:15:16 +08:00
07c761eab9 add SceneGraph/SceneTreeToRenderList.cpp, GPUDataArray.h, SceneRoot.h 2021-01-29 20:50:47 +08:00
15f475fba1 changed the name from WorldMatrix to CameraMatrix 2021-01-25 11:50:17 +08:00
5806a88964 moved GPUArrays to RenderList.cpp 2020-12-18 16:52:45 +08:00
fa62d7f7ab added BindSSBO function at MaterialInstance 2020-12-18 16:14:36 +08:00
79feea274a add "dynamic" param at MaterialInstance::BindUBO 2020-12-18 16:00:43 +08:00
4b8ccbed17 add BindSSBO functions at VKDescriptorSets 2020-12-10 16:25:59 +08:00
3fa5c3c032 add dynamic param at DescriptorSets::Bind....functions. 2020-12-10 14:53:26 +08:00
63c6aee8e6 deleted dynamic param at GPUBuffer... 2020-12-10 14:52:58 +08:00
0c091a929a convert two_triangle example to RenderList edition. 2020-12-09 21:33:29 +08:00
14fac881f3 add a new demo that UBO offset 2020-12-02 20:27:36 +08:00
3e3b232af1 use MemoryAllocationInfo 2020-12-01 10:56:05 +08:00
ce727cbb1a codes layout. 2020-11-30 18:05:23 +08:00
e398a85e65 add BindingMapping instead Map<uint32_t,int> 2020-11-30 17:56:40 +08:00
70715e93e8 removed BindUBODynamic function in VKDescriptorSets 2020-11-30 17:41:11 +08:00
a4cfcb327a 改名防止冲突 2020-11-30 15:40:26 +08:00
24d52b85e5 add Dynamic GPUBuffer support. 2020-11-30 14:00:57 +08:00
b3789bca21 add GPUMemory::Flush functions. 2020-11-30 13:58:48 +08:00
6a678287d0 将VulkanRender代码移到SceneGraph中 2020-11-26 18:04:57 +08:00
4bd4a9b898 removed PushConstants at SceneNode/RenderList 2020-11-26 17:51:59 +08:00
b58af7ac23 support new Camera/CameraControl 2020-11-17 17:20:59 +08:00
722ab900d6 use RenderCmdBuffer instead RenderCommand,
use TextureCmdBuffer instead TextureCommand.
2020-11-09 15:37:00 +08:00
2e05e06b3f split RenderCommand/TextureCommand from GPUCmdBuffer 2020-10-28 12:30:44 +08:00
744c3a1963 little change 2020-10-26 15:45:03 +08:00
e13d442ee1 support texture file with mipmaps data. 2020-10-25 21:29:18 +08:00
0d614b8902 support new AutoDeleteArray 2020-10-24 19:12:32 +08:00
187f95b00f add uv_scale values at TrousCreateInfo 2020-10-22 21:23:35 +08:00
8f78e6ea18 negative normalY at InlineGeometry, because from OpenGL axis. 2020-10-22 12:10:02 +08:00
024b6dac9c add normal matrix by local_to_world matrix at PushConstant struct 2020-10-22 12:06:53 +08:00
2045743249 redesign CreateRenderableAxis 2020-10-21 18:24:00 +08:00
c8955b6f35 remove vulkan namespace 2020-10-21 12:47:06 +08:00
0e56a6b00c a lot of rename 2020-10-21 12:39:22 +08:00
a20afeba9e a lot of rename 2020-10-21 12:09:15 +08:00
917424e784 move VK source files to up-level folder 2020-10-21 11:43:18 +08:00
b0b6e48f86 improve the Circle inline-geometry 2020-10-19 22:23:39 +08:00
cc7f462f85 use VKStruct.h/VKImageCreateInfo.h 2020-09-27 20:58:25 +08:00
884cc09259 moved relationship to RenderableInstance whose the Material and Renderable. 2020-09-21 19:05:25 +08:00
2b9152d602 optimized Material and ShaderModule,Pipeline,Database codes. 2020-09-19 23:49:32 +08:00
e7ed72d6e2 add .material version check. 2020-09-17 21:56:16 +08:00
37ffb5dc8c support .material file 2020-09-17 21:49:23 +08:00
8f68b3935d fix a little problem 2020-09-11 18:52:17 +08:00
3f6742f116 fix bugs in Clang 2020-09-11 17:11:32 +08:00
cba14ff413 VertexAttrib 属性中的Vertex全部改名为Position 2020-09-05 18:56:49 +08:00
be6c32db7e fix same bugs. 2020-09-05 18:40:10 +08:00