{"action":"created","issue":{"url":"https://api.github.com/repos/ValveSoftware/openvr/issues/346","repository_url":"https://api.github.com/repos/ValveSoftware/openvr","labels_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/346/comments","events_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/346/events","html_url":"https://github.com/ValveSoftware/openvr/issues/346","id":197792911,"number":346,"title":"How to use Vulkan related functions","user":{"login":"Timxu2016","id":19217893,"avatar_url":"https://avatars.githubusercontent.com/u/19217893?v=3","gravatar_id":"","url":"https://api.github.com/users/Timxu2016","html_url":"https://github.com/Timxu2016","followers_url":"https://api.github.com/users/Timxu2016/followers","following_url":"https://api.github.com/users/Timxu2016/following{/other_user}","gists_url":"https://api.github.com/users/Timxu2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Timxu2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timxu2016/subscriptions","organizations_url":"https://api.github.com/users/Timxu2016/orgs","repos_url":"https://api.github.com/users/Timxu2016/repos","events_url":"https://api.github.com/users/Timxu2016/events{/privacy}","received_events_url":"https://api.github.com/users/Timxu2016/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-28T04:06:30Z","updated_at":"2016-12-29T11:21:06Z","closed_at":null,"body":"virtual uint32_t GetVulkanInstanceExtensionsRequired( VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;\r\nvirtual uint32_t GetVulkanDeviceExtensionsRequired( VkPhysicalDevice_T *pPhysicalDevice, VR_OUT_STRING() char *pchValue, uint32_t unBufferSize ) = 0;\r\n\r\nI tried to print pchValue but always get nothing.can anyone help explain the right way to use these two? Thanks!"},"comment":{"url":"https://api.github.com/repos/ValveSoftware/openvr/issues/comments/269616408","html_url":"https://github.com/ValveSoftware/openvr/issues/346#issuecomment-269616408","issue_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/346","id":269616408,"user":{"login":"Timxu2016","id":19217893,"avatar_url":"https://avatars.githubusercontent.com/u/19217893?v=3","gravatar_id":"","url":"https://api.github.com/users/Timxu2016","html_url":"https://github.com/Timxu2016","followers_url":"https://api.github.com/users/Timxu2016/followers","following_url":"https://api.github.com/users/Timxu2016/following{/other_user}","gists_url":"https://api.github.com/users/Timxu2016/gists{/gist_id}","starred_url":"https://api.github.com/users/Timxu2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timxu2016/subscriptions","organizations_url":"https://api.github.com/users/Timxu2016/orgs","repos_url":"https://api.github.com/users/Timxu2016/repos","events_url":"https://api.github.com/users/Timxu2016/events{/privacy}","received_events_url":"https://api.github.com/users/Timxu2016/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T11:21:06Z","updated_at":"2016-12-29T11:21:06Z","body":"Thank your for your help!! I tried to calll like this:  \r\n       uint32_t buffersize;\r\n       buffersize = vr::VRCompositor()->GetVulkanInstanceExtensionsRequired(nullptr, 0);\r\n       //vr::VRCompositor()->GetVulkanInstanceExtensionsRequired(nullptr, buffersize );\r\n\tchar* pValue = (char*)malloc(buffersize);\r\n\tvr::VRCompositor()->GetVulkanInstanceExtensionsRequired(pValue, buffersize);\r\nBut still it doesn't work. buffersize always return 0. :("}}
{"actor":{"display_login":"Timxu2016"}}