335 Commits

Author SHA1 Message Date
53c58a885e new MaterialInstance 2021-06-16 20:29:25 +08:00
cbbc0641ef moved GetBinding functions to ShaderModuleMap from Material. 2021-06-16 20:27:10 +08:00
3658171954 refactor and renamed MaterialInstance to MaterialParameters. 2021-06-16 11:43:19 +08:00
bc8848afa6 renamed MaterialInstance to MaterialParameters. 2021-06-16 10:41:04 +08:00
0f42ab3987 added g_desc_sets/ri_desc_sets, CreateMIDescriptorSets/GetGlobalDescriptorSets/GetRIDescriptorSets 2021-06-15 21:20:57 +08:00
9118ba8e9f updated DescriptorSetLayoutCreater::Create function. 2021-06-15 21:19:52 +08:00
1100e98a92 moved DescriptorSetsType to ShaderResource.h 2021-06-15 21:19:28 +08:00
ef3a8be58c added Global DescriptorSetType 2021-06-15 19:03:15 +08:00
32d895136b supported multi DescriptorSets. 2021-06-15 17:58:27 +08:00
e734acad00 deleted DescriptSetList/DescriptorBindingList. 2021-06-15 17:46:38 +08:00
0ad2c96645 refactor ShaderDescriptorList. 2021-06-15 17:43:06 +08:00
40784b7bdf added buffer_hash value at VKRenderableInstance 2021-06-10 18:54:53 +08:00
199cc5f6b1 add DescriptorSets at RenderableInstance class. and renamed RenderableInstance::GetMIDescSets instead of GetDescriptorSets. 2021-05-12 19:03:08 +08:00
015a4d0b8e (WIP) renamed a few values, new SceneTreeToRenderList 2021-05-11 20:45:00 +08:00
7b7e702a16 add mtl_name at Material 2021-05-10 15:20:52 +08:00
b86742109b add mtl_name value in Material class,It's name of material. 2021-05-10 15:19:16 +08:00
1dc5dd09a7 VKMemoryAllocator::Alloc() use new name AllocMemory(). 2021-05-08 17:55:16 +08:00
b0ec12112f add comments 2021-04-30 18:56:20 +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
15f475fba1 changed the name from WorldMatrix to CameraMatrix 2021-01-25 11:50:17 +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
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
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