Mercurial > games > semicongine
comparison src/vulkan.nim @ 462:0bc8643cfe25
add: more steps in setup
author | Sam <sam@basx.dev> |
---|---|
date | Fri, 16 Dec 2022 00:05:41 +0700 |
parents | 59d861a6a5c4 |
children | 213fdf8d31dd |
comparison
equal
deleted
inserted
replaced
461:59d861a6a5c4 | 462:0bc8643cfe25 |
---|---|
45 VkHandle* = int64 | 45 VkHandle* = int64 |
46 VkNonDispatchableHandle* = int64 | 46 VkNonDispatchableHandle* = int64 |
47 ANativeWindow = ptr object | 47 ANativeWindow = ptr object |
48 CAMetalLayer = ptr object | 48 CAMetalLayer = ptr object |
49 AHardwareBuffer = ptr object | 49 AHardwareBuffer = ptr object |
50 VkBool32* = distinct uint32 | |
50 | 51 |
51 # Enums | 52 # Enums |
52 const | 53 const |
53 VK_MAX_PHYSICAL_DEVICE_NAME_SIZE* = 256 | 54 VK_MAX_PHYSICAL_DEVICE_NAME_SIZE* = 256 |
54 VK_UUID_SIZE* = 16 | 55 VK_UUID_SIZE* = 16 |
61 VK_LOD_CLAMP_NONE* = 1000.0f | 62 VK_LOD_CLAMP_NONE* = 1000.0f |
62 VK_REMAINING_MIP_LEVELS* = (not 0'u32) | 63 VK_REMAINING_MIP_LEVELS* = (not 0'u32) |
63 VK_REMAINING_ARRAY_LAYERS* = (not 0'u32) | 64 VK_REMAINING_ARRAY_LAYERS* = (not 0'u32) |
64 VK_WHOLE_SIZE* = (not 0'u64) | 65 VK_WHOLE_SIZE* = (not 0'u64) |
65 VK_ATTACHMENT_UNUSED* = (not 0'u32) | 66 VK_ATTACHMENT_UNUSED* = (not 0'u32) |
66 VK_TRUE* = 1 | 67 VK_TRUE* = VkBool32(1) |
67 VK_FALSE* = 0 | 68 VK_FALSE* = VkBool32(0) |
68 VK_QUEUE_FAMILY_IGNORED* = (not 0'u32) | 69 VK_QUEUE_FAMILY_IGNORED* = (not 0'u32) |
69 VK_QUEUE_FAMILY_EXTERNAL* = (not 0'u32) - 1 | 70 VK_QUEUE_FAMILY_EXTERNAL* = (not 0'u32) - 1 |
70 VK_QUEUE_FAMILY_EXTERNAL_KHR* = VK_QUEUE_FAMILY_EXTERNAL | 71 VK_QUEUE_FAMILY_EXTERNAL_KHR* = VK_QUEUE_FAMILY_EXTERNAL |
71 VK_QUEUE_FAMILY_FOREIGN_EXT* = (not 0'u32) - 2 | 72 VK_QUEUE_FAMILY_FOREIGN_EXT* = (not 0'u32) - 2 |
72 VK_SUBPASS_EXTERNAL* = (not 0'u32) | 73 VK_SUBPASS_EXTERNAL* = (not 0'u32) |
1224 const vkApiVersion1_1* = vkMakeVersion(1, 1, 0) | 1225 const vkApiVersion1_1* = vkMakeVersion(1, 1, 0) |
1225 const vkApiVersion1_2* = vkMakeVersion(1, 2, 0) | 1226 const vkApiVersion1_2* = vkMakeVersion(1, 2, 0) |
1226 | 1227 |
1227 type | 1228 type |
1228 VkSampleMask* = distinct uint32 | 1229 VkSampleMask* = distinct uint32 |
1229 VkBool32* = distinct uint32 | |
1230 VkFlags* = distinct uint32 | 1230 VkFlags* = distinct uint32 |
1231 VkDeviceSize* = distinct uint64 | 1231 VkDeviceSize* = distinct uint64 |
1232 VkDeviceAddress* = distinct uint64 | 1232 VkDeviceAddress* = distinct uint64 |
1233 VkFramebufferCreateFlags* = distinct VkFlags | 1233 VkFramebufferCreateFlags* = distinct VkFlags |
1234 VkQueryPoolCreateFlags* = distinct VkFlags | 1234 VkQueryPoolCreateFlags* = distinct VkFlags |