Nanley Chery
4ab62cb04b
Fix clear value array in textoverlay
...
According to section 7.4. Render Pass Commands of the Vulkan spec,
VkRenderPassBeginInfo::pClearValues is indexed by attachment number.
Since the second attachment in the renderpass will be cleared, a clear
value array of length two is required, and the second element of that
array must be assigned the desired clear value.
2016-05-23 15:16:59 -07:00
Petros Bantolas
0060ae151f
Fix textoverlay demo to use correct allocation size.
...
textoverlay was previously using a custom allocationSize for the font
texture. Changed that to use vkGetImageMemoryRequirements.
2016-05-17 15:42:29 +01:00
saschawillems
5f80f49153
Renamed text overlay class to avoid collision with base class
2016-05-15 13:33:57 +02:00
saschawillems
9fef8fa042
Use result check macro instead of function
2016-05-08 11:40:25 +02:00
saschawillems
8de82e8d0c
Coordinates for unit cube text overlay display
2016-05-07 15:36:39 +02:00
saschawillems
b39d589c86
Added backgdrop, object and more text to text overlay example
2016-05-07 12:37:12 +02:00
saschawillems
99ad677339
Corrected text char positioning, added text alignment
2016-05-05 20:52:46 +02:00
saschawillems
1d87aac565
Clean up Vulkan resources used by text overlay
2016-05-05 18:54:17 +02:00
saschawillems
6c2e04d1b0
Stage font image to optimal tiling
2016-05-05 14:42:41 +02:00
saschawillems
77d72742ea
Pass references framebuffers and sizes as references to the text overlay, recreate command buffers on resize
2016-05-05 13:03:56 +02:00
saschawillems
bb0924480d
Started work on a text overlay rendering example using a separate render pass for drawing on top of the current framebuffer
2016-05-03 22:38:57 +02:00