-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstruct_macos.go
42 lines (37 loc) · 1.26 KB
/
struct_macos.go
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
//go:build darwin
// Code generated by go-vk from vk-1.3.270.xml at 2023-11-22 10:57:11.186034 -0500 EST m=+3.711483193. DO NOT EDIT.
package vk
import "unsafe"
// MacOSSurfaceCreateInfoMVK: See https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkMacOSSurfaceCreateInfoMVK.html
type MacOSSurfaceCreateInfoMVK struct {
// SType = STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK
PNext unsafe.Pointer
Flags MacOSSurfaceCreateFlagsMVK
PView unsafe.Pointer
}
type _vkMacOSSurfaceCreateInfoMVK struct {
sType StructureType
pNext unsafe.Pointer
flags MacOSSurfaceCreateFlagsMVK
pView unsafe.Pointer
}
func (s *_vkMacOSSurfaceCreateInfoMVK) Goify() *MacOSSurfaceCreateInfoMVK {
rval := &MacOSSurfaceCreateInfoMVK{
PNext: (unsafe.Pointer)(s.pNext),
Flags: (MacOSSurfaceCreateFlagsMVK)(s.flags),
PView: (unsafe.Pointer)(s.pView),
}
return rval
}
func (s *MacOSSurfaceCreateInfoMVK) Vulkanize() *_vkMacOSSurfaceCreateInfoMVK {
if s == nil {
return nil
}
rval := &_vkMacOSSurfaceCreateInfoMVK{
sType: STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK, /*c1*/
pNext: (unsafe.Pointer)(s.PNext), /*cb*/
flags: (MacOSSurfaceCreateFlagsMVK)(s.Flags), /*cb*/
pView: (unsafe.Pointer)(s.PView), /*cb*/
}
return rval
}