layout codes.
This commit is contained in:
parent
c8955b6f35
commit
cca69c10b9
@ -88,7 +88,7 @@ public:
|
|||||||
|
|
||||||
InitNativeWindowSystem();
|
InitNativeWindowSystem();
|
||||||
|
|
||||||
VK_NAMESPACE::InitVulkanProperties();
|
InitVulkanProperties();
|
||||||
|
|
||||||
win=CreateRenderWindow(OS_TEXT("VulkanTest"));
|
win=CreateRenderWindow(OS_TEXT("VulkanTest"));
|
||||||
if(!win)
|
if(!win)
|
||||||
@ -98,7 +98,7 @@ public:
|
|||||||
return(false);
|
return(false);
|
||||||
|
|
||||||
{
|
{
|
||||||
VK_NAMESPACE::CreateInstanceLayerInfo cili;
|
CreateInstanceLayerInfo cili;
|
||||||
|
|
||||||
hgl_zero(cili);
|
hgl_zero(cili);
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ public:
|
|||||||
virtual ~GPUDevice();
|
virtual ~GPUDevice();
|
||||||
|
|
||||||
operator VkDevice () {return attr->device;}
|
operator VkDevice () {return attr->device;}
|
||||||
GPUDeviceAttribute *GetGPUDeviceAttribute () {return attr;}
|
GPUDeviceAttribute *GetDeviceAttribute () {return attr;}
|
||||||
|
|
||||||
VkSurfaceKHR GetSurface () {return attr->surface;}
|
VkSurfaceKHR GetSurface () {return attr->surface;}
|
||||||
VkDevice GetDevice ()const {return attr->device;}
|
VkDevice GetDevice ()const {return attr->device;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user