1    type VertexFormat =
2        val index : u32
3        val binding_descriptions : Slice<VertexInputBindingDescription>
4        val attribute_descriptions : Slice<VertexInputAttributeDescription>
5    
6    object VertexFormat =
7        val regular = VertexFormat
8            index = 0
9            binding_descriptions = [VertexInputBindingDescription
10                                       binding = 0
11                                       stride = 44
12                                       input_rate = VertexInputRate/Vertex]
13   
14           attribute_descriptions = [VertexInputAttributeDescription
15                                         binding = 0
16                                         location = 0
17                                         format = VkFormat/R32G32B32_SFLOAT
18                                         offset = 0
19   
20                                     VertexInputAttributeDescription
21                                         binding = 0
22                                         location = 1
23                                         format = VkFormat/R32G32B32_SFLOAT
24                                         offset = 12
25   
26                                     VertexInputAttributeDescription
27                                         binding = 0
28                                         location = 2
29                                         format = VkFormat/R32G32B32_SFLOAT
30                                         offset = 24
31   
32                                     VertexInputAttributeDescription
33                                         binding = 0
34                                         location = 3
35                                         format = VkFormat/R32G32_SFLOAT
36                                         offset = 36]
37   
38       val skinned = VertexFormat
39           index = 1
40           binding_descriptions = [VertexInputBindingDescription
41                                       binding = 0
42                                       stride = 64
43                                       input_rate = VertexInputRate/Vertex]
44   
45           attribute_descriptions = [VertexInputAttributeDescription
46                                         binding = 0
47                                         location = 0
48                                         format = VkFormat/R32G32B32_SFLOAT
49                                         offset = 0
50   
51                                     VertexInputAttributeDescription
52                                         binding = 0
53                                         location = 1
54                                         format = VkFormat/R32G32B32_SFLOAT
55                                         offset = 12
56   
57                                     VertexInputAttributeDescription
58                                         binding = 0
59                                         location = 2
60                                         format = VkFormat/R32G32B32_SFLOAT
61                                         offset = 24
62   
63                                     VertexInputAttributeDescription
64                                         binding = 0
65                                         location = 3
66                                         format = VkFormat/R32G32_SFLOAT
67                                         offset = 36
68   
69                                     VertexInputAttributeDescription
70                                         binding = 0
71                                         location = 4
72                                         format = VkFormat/R8G8B8A8_UINT
73                                         offset = 44
74   
75                                     VertexInputAttributeDescription
76                                         binding = 0
77                                         location = 5
78                                         format = VkFormat/R32G32B32A32_SFLOAT
79                                         offset = 48]
80