1241 Commits

Author SHA1 Message Date
e2af7fb15a updated example 2022-01-07 21:16:44 +08:00
d902774d46 update BufferImageCopy2D that it can supported cubemap now 2022-01-07 21:15:44 +08:00
5d608624c0 fixed mipmaps autogen at Cubemap 2022-01-07 19:39:39 +08:00
2eef520786 added axis at Cubemap test,tested ok! that texture files had mipmaps...next step should test autogen mipmaps. 2022-01-07 17:14:34 +08:00
1d499ffd5b added Cubemap support,but only test non-mipmaps texture. 2022-01-07 16:55:39 +08:00
f35d8ab9af changed CubeCreateInfo and function 2022-01-07 16:28:00 +08:00
3bdf9bbb77 Create a copy for PipelineData while CreatePipeline 2022-01-07 16:26:40 +08:00
ec7194ee13 used vab source from MaterialInstance instead of Pipeline. 2022-01-07 16:25:13 +08:00
be668ea2ec deleted GetVAB function of VKPipeline 2022-01-07 16:23:27 +08:00
3bd165fbe5 optimized params of GPUDevice::CommitTexture2DMipmaps 2022-01-07 12:14:43 +08:00
b064a4de5f deleted not needed params at GPUDevice::CommitTexture2D that they are width and height. 2022-01-07 12:05:52 +08:00
a28d857b96 added safe check codes. 2022-01-07 11:57:34 +08:00
f70c2d8f51 added clear codes and comment. 2022-01-07 11:57:13 +08:00
e5ec4c594d optimized codes of VkImageView. 2022-01-07 11:56:32 +08:00
967f03992f added cube/cube array support at VKImageView.cpp 2022-01-05 18:20:48 +08:00
556f3a08a2 add VKDeviceTextureCube.cpp 2022-01-05 18:18:43 +08:00
cc77374275 updated src/SceneGraph/CMakeLists.txt because resort texture codes. 2022-01-05 16:10:42 +08:00
f82c8eeb50 moved path 2022-01-05 16:07:32 +08:00
cd44800254 splited VKDeviceTexture2D.cpp to 4 files. 2022-01-05 16:02:07 +08:00
7c575e6e37 optimized codes of Texture Loader 2022-01-05 11:26:24 +08:00
89d27962b2 used newly GLM library name. 2021-12-27 18:21:14 +08:00
2481f17230 updated math.cmake 2021-12-27 16:57:40 +08:00
1f0903ed91 deleted jsoncpp/glm/expat submodules and then use vcpkg on Windows. 2021-12-27 16:57:19 +08:00
ebffc78fae optimized CheckMemoryType function. 2021-12-24 17:07:42 +08:00
4602b9fb1f debug output vulkan 1.1/1.2 features. 2021-12-17 12:00:08 +08:00
4134815106 updated VKinstance codes. 2021-12-17 11:32:25 +08:00
ecbfc38d0c splited and Created VKDeviceSampler.cpp 2021-12-16 21:02:05 +08:00
fb15e1bf5e splited and created VKDeviceMemory.cpp 2021-12-16 20:59:16 +08:00
d4e3149af2 supported PhysicalDevice features2/properties2. 2021-12-16 18:26:02 +08:00
51ac3e73c8 Priority initialization vk 1.2 followed by 1.1 and finally 1.0 2021-12-16 17:43:28 +08:00
c9b50e35c7 append codes that they can output queue family properties of physical device. 2021-12-16 17:27:33 +08:00
4a24a05360 improved codes of CreateSwapchain 2021-12-15 20:52:52 +08:00
ee9be8a4a2 improved Swapchain&SwapchainRenderTarget 2021-12-15 20:46:33 +08:00
14b9369739 renamed to CreateSwapchainRenderTarget from CreateSwapchainRT 2021-12-15 19:59:28 +08:00
87293f778c newly RenderTarget&SwapchainRenderTarget class 2021-12-15 19:57:35 +08:00
96dc95276b newly GPUQueue class and VKDevice::CreateQueue function. 2021-12-15 19:56:44 +08:00
57c10fdcba improved CreateSwapchain function that it should not use surface caps data. 2021-12-15 19:55:50 +08:00
d98acda22e splited DeviceAttribute::Refresh function. 2021-12-15 19:54:07 +08:00
75e25d16c7 renamed to Image2DRegion from ImageRegion 2021-12-15 17:35:23 +08:00
156f6e98a8 add IsSupportMDI() & GetMaxMDICount functions. 2021-12-15 17:35:13 +08:00
4c4d81c116 deleted miplevel param at CommitTexture2D&ChangeTexture2D functions. 2021-12-15 16:01:47 +08:00
fc8e794eb8 optimized codes of VKDeviceTexture.cpp 2021-12-15 15:22:45 +08:00
bd8486da25 codes layout 2021-12-15 14:24:35 +08:00
80bacd2b44 improved TextureLoader and VKTexture2DLoader 2021-12-14 16:32:03 +08:00
3d9c229a20 renamed VKTexture2DLoader.cpp from VKTextureLoader.cpp 2021-12-14 15:38:10 +08:00
b95bc28f72 function renamed from CreateTextureFromFile to CreateTexture2DFromFile 2021-12-14 15:34:21 +08:00
b2b625ef92 improved GenerateMipmaps function. 2021-12-14 11:08:33 +08:00
7c2af6788d compressed texture file header 2021-12-14 10:34:44 +08:00
273c99e0ce added many loader of texture 2021-12-13 21:13:14 +08:00
9d0ae0a071 newly Loader code of Texture 2021-12-13 21:03:41 +08:00