1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
use utils::vk_traits::*;
#[repr(i32)]
#[derive(Debug, PartialEq, Copy, Clone)]
pub enum VkDebugReportObjectType {
Unknown = 0,
Instance = 1,
PhysicalDevice = 2,
Device = 3,
Queue = 4,
Semaphore = 5,
CommandBuffer = 6,
Fence = 7,
DeviceMemory = 8,
Buffer = 9,
Image = 10,
Event = 11,
QueryPool = 12,
BufferView = 13,
ImageView = 14,
ShaderModule = 15,
PipelineCache = 16,
PipelineLayout = 17,
RenderPass = 18,
Pipeline = 19,
DescriptorSetLayout = 20,
Sampler = 21,
DescriptorPool = 22,
DescriptorSet = 23,
Framebuffer = 24,
CommandPool = 25,
SurfaceKhr = 26,
SwapchainKhr = 27,
DebugReportCallbackExt = 28,
DisplayKhr = 29,
DisplayModeKhr = 30,
ObjectTableNvx = 31,
IndirectCommandsLayoutNvx = 32,
ValidationCacheExt = 33,
SamplerYcbcrConversion = 1000156000,
DescriptorUpdateTemplate = 1000085000,
AccelerationStructureNv = 1000165000,
}
#[doc(hidden)]
pub type RawVkDebugReportObjectType = i32;
impl VkWrappedType<RawVkDebugReportObjectType> for VkDebugReportObjectType {
fn vk_to_raw(src: &VkDebugReportObjectType, dst: &mut RawVkDebugReportObjectType) {
*dst = *src as i32
}
}
impl VkRawType<VkDebugReportObjectType> for RawVkDebugReportObjectType {
fn vk_to_wrapped(src: &RawVkDebugReportObjectType) -> VkDebugReportObjectType {
unsafe {
*((src as *const i32) as *const VkDebugReportObjectType)
}
}
}
impl Default for VkDebugReportObjectType {
fn default() -> VkDebugReportObjectType {
VkDebugReportObjectType::Unknown
}
}