How to initialize VkApplicationInfo

Started by sfulham, December 25, 2019, 05:06:07

Previous topic - Next topic

sfulham

Hello all,

How am I supposed to initialize a VkApplicationInfo?

BTW I am trying to follow https://vulkan-tutorial.com/

Thanks!


abcdef

Normally you can do something like VkApplicationInfo.calloc(). You can then chain the methods to set the data, they should have the same name as the structs.

There is another method using stacks but I am not so familiar with stacks. My vulkan renderer currently just uses calloc's. Look at strategy 5 here

https://blog.lwjgl.org/memory-management-in-lwjgl-3/