vulkan

package module
v0.0.0-...-c0a353a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 7 Imported by: 108

README

Golang Bindings for Vulkan API version-1.1.88 GoDoc

Package vulkan provides Go bindings for Vulkan — a low-overhead, cross-platform 3D graphics and compute API. Updated October 13, 2018 — Vulkan 1.1.88.

Introduction

Vulkan API is the result of 18 months in an intense collaboration between leading hardware, game engine and platform vendors, built on significant contributions from multiple Khronos members. Vulkan is designed for portability across multiple platforms with desktop and mobile GPU architectures.

Read the brief: https://developer.nvidia.com/engaging-voyage-vulkan

The binding allows one to use Vulkan API directly within Go code, avoiding adding lots of C/C++ in the projects, also can be used to study Vulkan without diving too deep into C/C++ language semantics. For me it's just a matter of taste, writing Go code is simply more pleasant experience.

See all demos in vulkan-go/demos.

Project history timeline

  • 2016-02-16 Vulkan API publicly released.

  • 2016-03-06 vulkan-go initial commit and first binding.

  • 2016-05-14 Finally received my NVIDIA Shield Tablet K1 (DHL lost the first parcel), I decided to use tablet because it was the first device supporting Vulkan out of the box. And that was a really good implementation, much wow very reference.

  • 2016-05-17 Created android-go project in order to run Vulkan on the android platform.

  • 2016-05-23 First android-go + vulkan program runs on Tablet K1 (screenshot).

  • 2016-05-24 Improved VulkanInfo example runs on Tablet K1 (screenshot).

  • 2016-05-28 android-go released into public (Reddit post) with plenty of examples including GLES/EGL.

  • 2016-08-13 Finished an app that should draw triangle (ported from tri.c from LunarG demos). Draws nothing instead.

  • 2016-08-13 First unsuccessful attempt to write a spinning cube example. More than 25 hours spent, 2.5k lines of C code rewritten into 900 lines of Go code. The reference code was found in some very old LunarG demo, it seems I should've used the latest one.. At least got the validation layers working and found some bugs in the triangle app code.

  • 2016-08-16 First Vulkan API program in Go that draws triangle runs on Tablet K1 (photo), validaton layers work perfectly too.

  • 2016-08-16 Public announce of this project (Reddit post). Reaction was "Meh".

  • 2016-11-01 MoltenVK driver merged into GLFW (see GLFW issue #870) and this made possible to use Vulkan API under Apple OS X or macOS.

  • 2016-11-06 VulkanInfo and VulkanDraw both ported to desktop OS X and use GLFW to initialize Vulkan (screen #1 and screen #2)

  • 2016-11-07 VulkanInfo and VulkanDraw run fine on NVIDIA GTX980 initialized through GLFW under Windows 10 (screen #1 and screen #2).

  • 2016-11-08 VulkanInfo runs in headless (a.k.a computing) mode in Amazon AWS cloud on P2 Instance equipped Tesla K80 (screenshot).

  • 2016-11-09 ios-go project started, it's very easy to run Golang apps on iOS that use custom surface, for my case it was Metal surface.

  • 2016-11-11 VulkanInfo runs fine on my iPhone under iOS (screenshot), and so does VulkanDraw (photo also GPU report from XCode)

  • 2016-11-13 Second unsuccessful attempt to write spinning cube. 25 hours spent. The approach was highly inspired by Mali Vulkan SDK for Android 1.0 and I created initial version of vulkan-go/asche — a higher level framework to simplify Vulkan initialization for new apps.

  • 2016-11-29 Generic Linux support added in using GLFW (Issue #2) thanks @jfreymuth.

  • 2017-05-06 Third, successful attempt to write spining cube example. 16 hours spent, 4K LOC of C code rewritten from cube.c of LunarG demos. The whole process has been screencasted, maybe I will release it one day.

  • 2017-05-06 vulkan-go/asche complete.

  • 2018-10-13 Updated to Vulkan 1.1.88 spec.

  • 2022-11-26 Changed loader for Android. Now compatible with Android 8 (Oreo) API level 26 a higher.

How to use

Usage of this project is straightforward due to the stateless nature of Vulkan API. Just import the package like this:

import vk "github.com/vulkan-go/vulkan"

Set the GetProcAddress pointer (used to look up Vulkan functions) using SetGetInstanceProcAddr or SetDefaultGetInstanceProcAddr. After that you can call Init to initialise the library. For example:

// Using SDL2:
vk.SetGetInstanceProcAddr(sdl.VulkanGetVkGetInstanceProcAddr())

// OR using GLFW:
vk.SetGetInstanceProcAddr(glfw.GetVulkanGetInstanceProcAddress())

// OR without using a windowing library (Linux only, recommended for compute-only tasks)
if err := vk.SetDefaultGetInstanceProcAddr(); err != nil {
    panic(err)
}

if err := vk.Init(); err != nil {
    panic(err)
}

And you're set. I must warn you that using the API properly is not an easy task at all, so beware and follow the official documentation: https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html

In order to simplify development, I created a high-level framework that manages Vulkan platform state and initialization. It is called asche because when you throw a gopher into volcano you get a pile of ash. Currently it's used in VulkanCube demo app.

MoltenVK os macOS

MoltenVK provides a MoltenVK.xcframework which contains static libraries for all Apple platforms. Unfortuantely, linking with a xcframework outside of XCode is not possible.

Instead vulkan-go expects the dylibs to be present in the library search path.

Follow the build instructions, but instead of make install manually copy ./Package/Latest/MoltenVK/dylib/macOS/libMoltenVK.dylib to /usr/local/lib

Validation Layers

A good brief of the current state of Vulkan validation layers: Explore the Vulkan Loader and Validation Layers (PDF).

There is a full support of validation layers with custom callbacks in Go.

Khronos Group releasing compiled Validation Layers like .so library directly on their GitHub respository

Or You can build them from https://github.com/LunarG/VulkanTools like this:

$ cd build-android
$ ./update_external_sources_android.sh
$ ./android-generate.sh
$ ndk-build

After that you'd copy the files to android/jni/libs in your project and activate the ValidationLayers.mk in your Android.mk so when building APK they will be copied alongside with your shared library. It just works then:

[INFO] Instance extensions: [VK_KHR_surface VK_KHR_android_surface]
[INFO] Instance layers: [VK_LAYER_LUNARG_screenshot VK_LAYER_GOOGLE_unique_objects VK_LAYER_LUNARG_api_dump VK_LAYER_LUNARG_image VK_LAYER_LUNARG_core_validation VK_LAYER_LUNARG_object_tracker VK_LAYER_GOOGLE_threading VK_LAYER_LUNARG_parameter_validation VK_LAYER_LUNARG_swapchain]

[Layer Swapchain][ERROR 4] The surface in pCreateInfo->surface, that was given to vkCreateSwapchainKHR(), must be a surface that is supported by the device as determined by vkGetPhysicalDeviceSurfaceSupportKHR().  However, vkGetPhysicalDeviceSurfaceSupportKHR() was never called with this surface.

[Layer Swapchain][ERROR 10] vkCreateSwapchainKHR() called with a non-supported pCreateInfo->compositeAlpha (i.e. VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR).  Supported values are:
     VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR

[Layer DS][ERROR 8] Attempt to set lineWidth to 0.000000 but physical device wideLines feature not supported/enabled so lineWidth must be 1.0f!

[Layer DS][ERROR 22] Unable to allocate 2 descriptors of type VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER from pool 0x1c. This pool only has 1 descriptors of this type remaining.

License

MIT

Documentation

Overview

Package vulkan provides Go bindings for vulkan.h

Index

Constants

View Source
const (
	// NoPrototypes as defined in vulkan/<predefine>:24
	NoPrototypes = 1
	// Version10 as defined in vulkan/vulkan_core.h:30
	Version10 = 1
	// ApiVersion10 as defined in vulkan/vulkan_core.h:40
	ApiVersion10 = 4194304
	// HeaderVersion as defined in vulkan/vulkan_core.h:46
	HeaderVersion = 88
	// LodClampNone as defined in vulkan/vulkan_core.h:97
	LodClampNone = 1000.0
	// RemainingMipLevels as defined in vulkan/vulkan_core.h:98
	RemainingMipLevels = (^uint32(0))
	// RemainingArrayLayers as defined in vulkan/vulkan_core.h:99
	RemainingArrayLayers = (^uint32(0))
	// WholeSize as defined in vulkan/vulkan_core.h:100
	WholeSize = (^uint64(0))
	// AttachmentUnused as defined in vulkan/vulkan_core.h:101
	AttachmentUnused = (^uint32(0))
	// True as defined in vulkan/vulkan_core.h:102
	True = 1
	// False as defined in vulkan/vulkan_core.h:103
	False = 0
	// QueueFamilyIgnored as defined in vulkan/vulkan_core.h:104
	QueueFamilyIgnored = (^uint32(0))
	// SubpassExternal as defined in vulkan/vulkan_core.h:105
	SubpassExternal = (^uint32(0))
	// MaxPhysicalDeviceNameSize as defined in vulkan/vulkan_core.h:106
	MaxPhysicalDeviceNameSize = 256
	// UuidSize as defined in vulkan/vulkan_core.h:107
	UuidSize = 16
	// MaxMemoryTypes as defined in vulkan/vulkan_core.h:108
	MaxMemoryTypes = 32
	// MaxMemoryHeaps as defined in vulkan/vulkan_core.h:109
	MaxMemoryHeaps = 16
	// MaxExtensionNameSize as defined in vulkan/vulkan_core.h:110
	MaxExtensionNameSize = 256
	// MaxDescriptionSize as defined in vulkan/vulkan_core.h:111
	MaxDescriptionSize = 256
	// Version11 as defined in vulkan/vulkan_core.h:3787
	Version11 = 1
	// ApiVersion11 as defined in vulkan/vulkan_core.h:3789
	ApiVersion11 = 4198400
	// MaxDeviceGroupSize as defined in vulkan/vulkan_core.h:3795
	MaxDeviceGroupSize = 32
	// LuidSize as defined in vulkan/vulkan_core.h:3796
	LuidSize = 8
	// QueueFamilyExternal as defined in vulkan/vulkan_core.h:3797
	QueueFamilyExternal = (^uint32(0) - 1)
	// KhrSurface as defined in vulkan/vulkan_core.h:4665
	KhrSurface = 1
	// KhrSurfaceSpecVersion as defined in vulkan/vulkan_core.h:4668
	KhrSurfaceSpecVersion = 25
	// KhrSurfaceExtensionName as defined in vulkan/vulkan_core.h:4669
	KhrSurfaceExtensionName = "VK_KHR_surface"
	// KhrSwapchain as defined in vulkan/vulkan_core.h:4787
	KhrSwapchain = 1
	// KhrSwapchainSpecVersion as defined in vulkan/vulkan_core.h:4790
	KhrSwapchainSpecVersion = 70
	// KhrSwapchainExtensionName as defined in vulkan/vulkan_core.h:4791
	KhrSwapchainExtensionName = "VK_KHR_swapchain"
	// KhrDisplay as defined in vulkan/vulkan_core.h:4948
	KhrDisplay = 1
	// KhrDisplaySpecVersion as defined in vulkan/vulkan_core.h:4952
	KhrDisplaySpecVersion = 21
	// KhrDisplayExtensionName as defined in vulkan/vulkan_core.h:4953
	KhrDisplayExtensionName = "VK_KHR_display"
	// KhrDisplaySwapchain as defined in vulkan/vulkan_core.h:5076
	KhrDisplaySwapchain = 1
	// KhrDisplaySwapchainSpecVersion as defined in vulkan/vulkan_core.h:5077
	KhrDisplaySwapchainSpecVersion = 9
	// KhrDisplaySwapchainExtensionName as defined in vulkan/vulkan_core.h:5078
	KhrDisplaySwapchainExtensionName = "VK_KHR_display_swapchain"
	// KhrSamplerMirrorClampToEdge as defined in vulkan/vulkan_core.h:5100
	KhrSamplerMirrorClampToEdge = 1
	// KhrSamplerMirrorClampToEdgeSpecVersion as defined in vulkan/vulkan_core.h:5101
	KhrSamplerMirrorClampToEdgeSpecVersion = 1
	// KhrSamplerMirrorClampToEdgeExtensionName as defined in vulkan/vulkan_core.h:5102
	KhrSamplerMirrorClampToEdgeExtensionName = "VK_KHR_sampler_mirror_clamp_to_edge"
	// KhrMultiview as defined in vulkan/vulkan_core.h:5105
	KhrMultiview = 1
	// KhrMultiviewSpecVersion as defined in vulkan/vulkan_core.h:5106
	KhrMultiviewSpecVersion = 1
	// KhrMultiviewExtensionName as defined in vulkan/vulkan_core.h:5107
	KhrMultiviewExtensionName = "VK_KHR_multiview"
	// KhrGetPhysicalDeviceProperties2 as defined in vulkan/vulkan_core.h:5117
	KhrGetPhysicalDeviceProperties2 = 1
	// KhrGetPhysicalDeviceProperties2SpecVersion as defined in vulkan/vulkan_core.h:5118
	KhrGetPhysicalDeviceProperties2SpecVersion = 1
	// KhrGetPhysicalDeviceProperties2ExtensionName as defined in vulkan/vulkan_core.h:5119
	KhrGetPhysicalDeviceProperties2ExtensionName = "VK_KHR_get_physical_device_properties2"
	// KhrDeviceGroup as defined in vulkan/vulkan_core.h:5183
	KhrDeviceGroup = 1
	// KhrDeviceGroupSpecVersion as defined in vulkan/vulkan_core.h:5184
	KhrDeviceGroupSpecVersion = 3
	// KhrDeviceGroupExtensionName as defined in vulkan/vulkan_core.h:5185
	KhrDeviceGroupExtensionName = "VK_KHR_device_group"
	// KhrShaderDrawParameters as defined in vulkan/vulkan_core.h:5237
	KhrShaderDrawParameters = 1
	// KhrShaderDrawParametersSpecVersion as defined in vulkan/vulkan_core.h:5238
	KhrShaderDrawParametersSpecVersion = 1
	// KhrShaderDrawParametersExtensionName as defined in vulkan/vulkan_core.h:5239
	KhrShaderDrawParametersExtensionName = "VK_KHR_shader_draw_parameters"
	// KhrMaintenance1 as defined in vulkan/vulkan_core.h:5242
	KhrMaintenance1 = 1
	// KhrMaintenance1SpecVersion as defined in vulkan/vulkan_core.h:5243
	KhrMaintenance1SpecVersion = 2
	// KhrMaintenance1ExtensionName as defined in vulkan/vulkan_core.h:5244
	KhrMaintenance1ExtensionName = "VK_KHR_maintenance1"
	// KhrDeviceGroupCreation as defined in vulkan/vulkan_core.h:5258
	KhrDeviceGroupCreation = 1
	// KhrDeviceGroupCreationSpecVersion as defined in vulkan/vulkan_core.h:5259
	KhrDeviceGroupCreationSpecVersion = 1
	// KhrDeviceGroupCreationExtensionName as defined in vulkan/vulkan_core.h:5260
	KhrDeviceGroupCreationExtensionName = "VK_KHR_device_group_creation"
	// KhrExternalMemoryCapabilities as defined in vulkan/vulkan_core.h:5277
	KhrExternalMemoryCapabilities = 1
	// KhrExternalMemoryCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5278
	KhrExternalMemoryCapabilitiesSpecVersion = 1
	// KhrExternalMemoryCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5279
	KhrExternalMemoryCapabilitiesExtensionName = "VK_KHR_external_memory_capabilities"
	// KhrExternalMemory as defined in vulkan/vulkan_core.h:5313
	KhrExternalMemory = 1
	// KhrExternalMemorySpecVersion as defined in vulkan/vulkan_core.h:5314
	KhrExternalMemorySpecVersion = 1
	// KhrExternalMemoryExtensionName as defined in vulkan/vulkan_core.h:5315
	KhrExternalMemoryExtensionName = "VK_KHR_external_memory"
	// KhrExternalMemoryFd as defined in vulkan/vulkan_core.h:5326
	KhrExternalMemoryFd = 1
	// KhrExternalMemoryFdSpecVersion as defined in vulkan/vulkan_core.h:5327
	KhrExternalMemoryFdSpecVersion = 1
	// KhrExternalMemoryFdExtensionName as defined in vulkan/vulkan_core.h:5328
	KhrExternalMemoryFdExtensionName = "VK_KHR_external_memory_fd"
	// KhrExternalSemaphoreCapabilities as defined in vulkan/vulkan_core.h:5367
	KhrExternalSemaphoreCapabilities = 1
	// KhrExternalSemaphoreCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5368
	KhrExternalSemaphoreCapabilitiesSpecVersion = 1
	// KhrExternalSemaphoreCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5369
	KhrExternalSemaphoreCapabilitiesExtensionName = "VK_KHR_external_semaphore_capabilities"
	// KhrExternalSemaphore as defined in vulkan/vulkan_core.h:5394
	KhrExternalSemaphore = 1
	// KhrExternalSemaphoreSpecVersion as defined in vulkan/vulkan_core.h:5395
	KhrExternalSemaphoreSpecVersion = 1
	// KhrExternalSemaphoreExtensionName as defined in vulkan/vulkan_core.h:5396
	KhrExternalSemaphoreExtensionName = "VK_KHR_external_semaphore"
	// KhrExternalSemaphoreFd as defined in vulkan/vulkan_core.h:5407
	KhrExternalSemaphoreFd = 1
	// KhrExternalSemaphoreFdSpecVersion as defined in vulkan/vulkan_core.h:5408
	KhrExternalSemaphoreFdSpecVersion = 1
	// KhrExternalSemaphoreFdExtensionName as defined in vulkan/vulkan_core.h:5409
	KhrExternalSemaphoreFdExtensionName = "VK_KHR_external_semaphore_fd"
	// KhrPushDescriptor as defined in vulkan/vulkan_core.h:5442
	KhrPushDescriptor = 1
	// KhrPushDescriptorSpecVersion as defined in vulkan/vulkan_core.h:5443
	KhrPushDescriptorSpecVersion = 2
	// KhrPushDescriptorExtensionName as defined in vulkan/vulkan_core.h:5444
	KhrPushDescriptorExtensionName = "VK_KHR_push_descriptor"
	// Khr16bitStorage as defined in vulkan/vulkan_core.h:5473
	Khr16bitStorage = 1
	// Khr16bitStorageSpecVersion as defined in vulkan/vulkan_core.h:5474
	Khr16bitStorageSpecVersion = 1
	// Khr16bitStorageExtensionName as defined in vulkan/vulkan_core.h:5475
	Khr16bitStorageExtensionName = "VK_KHR_16bit_storage"
	// KhrIncrementalPresent as defined in vulkan/vulkan_core.h:5481
	KhrIncrementalPresent = 1
	// KhrIncrementalPresentSpecVersion as defined in vulkan/vulkan_core.h:5482
	KhrIncrementalPresentSpecVersion = 1
	// KhrIncrementalPresentExtensionName as defined in vulkan/vulkan_core.h:5483
	KhrIncrementalPresentExtensionName = "VK_KHR_incremental_present"
	// KhrDescriptorUpdateTemplate as defined in vulkan/vulkan_core.h:5505
	KhrDescriptorUpdateTemplate = 1
	// KhrDescriptorUpdateTemplateSpecVersion as defined in vulkan/vulkan_core.h:5509
	KhrDescriptorUpdateTemplateSpecVersion = 1
	// KhrDescriptorUpdateTemplateExtensionName as defined in vulkan/vulkan_core.h:5510
	KhrDescriptorUpdateTemplateExtensionName = "VK_KHR_descriptor_update_template"
	// KhrCreateRenderpass2 as defined in vulkan/vulkan_core.h:5546
	KhrCreateRenderpass2 = 1
	// KhrCreateRenderpass2SpecVersion as defined in vulkan/vulkan_core.h:5547
	KhrCreateRenderpass2SpecVersion = 1
	// KhrCreateRenderpass2ExtensionName as defined in vulkan/vulkan_core.h:5548
	KhrCreateRenderpass2ExtensionName = "VK_KHR_create_renderpass2"
	// KhrSharedPresentableImage as defined in vulkan/vulkan_core.h:5654
	KhrSharedPresentableImage = 1
	// KhrSharedPresentableImageSpecVersion as defined in vulkan/vulkan_core.h:5655
	KhrSharedPresentableImageSpecVersion = 1
	// KhrSharedPresentableImageExtensionName as defined in vulkan/vulkan_core.h:5656
	KhrSharedPresentableImageExtensionName = "VK_KHR_shared_presentable_image"
	// KhrExternalFenceCapabilities as defined in vulkan/vulkan_core.h:5673
	KhrExternalFenceCapabilities = 1
	// KhrExternalFenceCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:5674
	KhrExternalFenceCapabilitiesSpecVersion = 1
	// KhrExternalFenceCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:5675
	KhrExternalFenceCapabilitiesExtensionName = "VK_KHR_external_fence_capabilities"
	// KhrExternalFence as defined in vulkan/vulkan_core.h:5700
	KhrExternalFence = 1
	// KhrExternalFenceSpecVersion as defined in vulkan/vulkan_core.h:5701
	KhrExternalFenceSpecVersion = 1
	// KhrExternalFenceExtensionName as defined in vulkan/vulkan_core.h:5702
	KhrExternalFenceExtensionName = "VK_KHR_external_fence"
	// KhrExternalFenceFd as defined in vulkan/vulkan_core.h:5713
	KhrExternalFenceFd = 1
	// KhrExternalFenceFdSpecVersion as defined in vulkan/vulkan_core.h:5714
	KhrExternalFenceFdSpecVersion = 1
	// KhrExternalFenceFdExtensionName as defined in vulkan/vulkan_core.h:5715
	KhrExternalFenceFdExtensionName = "VK_KHR_external_fence_fd"
	// KhrMaintenance2 as defined in vulkan/vulkan_core.h:5748
	KhrMaintenance2 = 1
	// KhrMaintenance2SpecVersion as defined in vulkan/vulkan_core.h:5749
	KhrMaintenance2SpecVersion = 1
	// KhrMaintenance2ExtensionName as defined in vulkan/vulkan_core.h:5750
	KhrMaintenance2ExtensionName = "VK_KHR_maintenance2"
	// KhrGetSurfaceCapabilities2 as defined in vulkan/vulkan_core.h:5769
	KhrGetSurfaceCapabilities2 = 1
	// KhrGetSurfaceCapabilities2SpecVersion as defined in vulkan/vulkan_core.h:5770
	KhrGetSurfaceCapabilities2SpecVersion = 1
	// KhrGetSurfaceCapabilities2ExtensionName as defined in vulkan/vulkan_core.h:5771
	KhrGetSurfaceCapabilities2ExtensionName = "VK_KHR_get_surface_capabilities2"
	// KhrVariablePointers as defined in vulkan/vulkan_core.h:5808
	KhrVariablePointers = 1
	// KhrVariablePointersSpecVersion as defined in vulkan/vulkan_core.h:5809
	KhrVariablePointersSpecVersion = 1
	// KhrVariablePointersExtensionName as defined in vulkan/vulkan_core.h:5810
	KhrVariablePointersExtensionName = "VK_KHR_variable_pointers"
	// KhrGetDisplayProperties2 as defined in vulkan/vulkan_core.h:5816
	KhrGetDisplayProperties2 = 1
	// KhrGetDisplayProperties2SpecVersion as defined in vulkan/vulkan_core.h:5817
	KhrGetDisplayProperties2SpecVersion = 1
	// KhrGetDisplayProperties2ExtensionName as defined in vulkan/vulkan_core.h:5818
	KhrGetDisplayProperties2ExtensionName = "VK_KHR_get_display_properties2"
	// KhrDedicatedAllocation as defined in vulkan/vulkan_core.h:5880
	KhrDedicatedAllocation = 1
	// KhrDedicatedAllocationSpecVersion as defined in vulkan/vulkan_core.h:5881
	KhrDedicatedAllocationSpecVersion = 3
	// KhrDedicatedAllocationExtensionName as defined in vulkan/vulkan_core.h:5882
	KhrDedicatedAllocationExtensionName = "VK_KHR_dedicated_allocation"
	// KhrStorageBufferStorageClass as defined in vulkan/vulkan_core.h:5890
	KhrStorageBufferStorageClass = 1
	// KhrStorageBufferStorageClassSpecVersion as defined in vulkan/vulkan_core.h:5891
	KhrStorageBufferStorageClassSpecVersion = 1
	// KhrStorageBufferStorageClassExtensionName as defined in vulkan/vulkan_core.h:5892
	KhrStorageBufferStorageClassExtensionName = "VK_KHR_storage_buffer_storage_class"
	// KhrRelaxedBlockLayout as defined in vulkan/vulkan_core.h:5895
	KhrRelaxedBlockLayout = 1
	// KhrRelaxedBlockLayoutSpecVersion as defined in vulkan/vulkan_core.h:5896
	KhrRelaxedBlockLayoutSpecVersion = 1
	// KhrRelaxedBlockLayoutExtensionName as defined in vulkan/vulkan_core.h:5897
	KhrRelaxedBlockLayoutExtensionName = "VK_KHR_relaxed_block_layout"
	// KhrGetMemoryRequirements2 as defined in vulkan/vulkan_core.h:5900
	KhrGetMemoryRequirements2 = 1
	// KhrGetMemoryRequirements2SpecVersion as defined in vulkan/vulkan_core.h:5901
	KhrGetMemoryRequirements2SpecVersion = 1
	// KhrGetMemoryRequirements2ExtensionName as defined in vulkan/vulkan_core.h:5902
	KhrGetMemoryRequirements2ExtensionName = "VK_KHR_get_memory_requirements2"
	// KhrImageFormatList as defined in vulkan/vulkan_core.h:5935
	KhrImageFormatList = 1
	// KhrImageFormatListSpecVersion as defined in vulkan/vulkan_core.h:5936
	KhrImageFormatListSpecVersion = 1
	// KhrImageFormatListExtensionName as defined in vulkan/vulkan_core.h:5937
	KhrImageFormatListExtensionName = "VK_KHR_image_format_list"
	// KhrSamplerYcbcrConversion as defined in vulkan/vulkan_core.h:5948
	KhrSamplerYcbcrConversion = 1
	// KhrSamplerYcbcrConversionSpecVersion as defined in vulkan/vulkan_core.h:5952
	KhrSamplerYcbcrConversionSpecVersion = 1
	// KhrSamplerYcbcrConversionExtensionName as defined in vulkan/vulkan_core.h:5953
	KhrSamplerYcbcrConversionExtensionName = "VK_KHR_sampler_ycbcr_conversion"
	// KhrBindMemory2 as defined in vulkan/vulkan_core.h:5991
	KhrBindMemory2 = 1
	// KhrBindMemory2SpecVersion as defined in vulkan/vulkan_core.h:5992
	KhrBindMemory2SpecVersion = 1
	// KhrBindMemory2ExtensionName as defined in vulkan/vulkan_core.h:5993
	KhrBindMemory2ExtensionName = "VK_KHR_bind_memory2"
	// KhrMaintenance3 as defined in vulkan/vulkan_core.h:6015
	KhrMaintenance3 = 1
	// KhrMaintenance3SpecVersion as defined in vulkan/vulkan_core.h:6016
	KhrMaintenance3SpecVersion = 1
	// KhrMaintenance3ExtensionName as defined in vulkan/vulkan_core.h:6017
	KhrMaintenance3ExtensionName = "VK_KHR_maintenance3"
	// KhrDrawIndirectCount as defined in vulkan/vulkan_core.h:6033
	KhrDrawIndirectCount = 1
	// KhrDrawIndirectCountSpecVersion as defined in vulkan/vulkan_core.h:6034
	KhrDrawIndirectCountSpecVersion = 1
	// KhrDrawIndirectCountExtensionName as defined in vulkan/vulkan_core.h:6035
	KhrDrawIndirectCountExtensionName = "VK_KHR_draw_indirect_count"
	// Khr8bitStorage as defined in vulkan/vulkan_core.h:6060
	Khr8bitStorage = 1
	// Khr8bitStorageSpecVersion as defined in vulkan/vulkan_core.h:6061
	Khr8bitStorageSpecVersion = 1
	// Khr8bitStorageExtensionName as defined in vulkan/vulkan_core.h:6062
	Khr8bitStorageExtensionName = "VK_KHR_8bit_storage"
	// KhrShaderAtomicInt64 as defined in vulkan/vulkan_core.h:6074
	KhrShaderAtomicInt64 = 1
	// KhrShaderAtomicInt64SpecVersion as defined in vulkan/vulkan_core.h:6075
	KhrShaderAtomicInt64SpecVersion = 1
	// KhrShaderAtomicInt64ExtensionName as defined in vulkan/vulkan_core.h:6076
	KhrShaderAtomicInt64ExtensionName = "VK_KHR_shader_atomic_int64"
	// KhrDriverProperties as defined in vulkan/vulkan_core.h:6087
	KhrDriverProperties = 1
	// MaxDriverNameSize as defined in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkVK_MAX_DRIVER_NAME_SIZE_KHR
	MaxDriverNameSize = 256
	// MaxDriverInfoSize as defined in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkVK_MAX_DRIVER_INFO_SIZE_KHR
	MaxDriverInfoSize = 256
	// KhrDriverPropertiesSpecVersion as defined in vulkan/vulkan_core.h:6090
	KhrDriverPropertiesSpecVersion = 1
	// KhrDriverPropertiesExtensionName as defined in vulkan/vulkan_core.h:6091
	KhrDriverPropertiesExtensionName = "VK_KHR_driver_properties"
	// KhrVulkanMemoryModel as defined in vulkan/vulkan_core.h:6128
	KhrVulkanMemoryModel = 1
	// KhrVulkanMemoryModelSpecVersion as defined in vulkan/vulkan_core.h:6129
	KhrVulkanMemoryModelSpecVersion = 2
	// KhrVulkanMemoryModelExtensionName as defined in vulkan/vulkan_core.h:6130
	KhrVulkanMemoryModelExtensionName = "VK_KHR_vulkan_memory_model"
	// ExtDebugReport as defined in vulkan/vulkan_core.h:6141
	ExtDebugReport = 1
	// ExtDebugReportSpecVersion as defined in vulkan/vulkan_core.h:6144
	ExtDebugReportSpecVersion = 9
	// ExtDebugReportExtensionName as defined in vulkan/vulkan_core.h:6145
	ExtDebugReportExtensionName = "VK_EXT_debug_report"
	// NvGlslShader as defined in vulkan/vulkan_core.h:6253
	NvGlslShader = 1
	// NvGlslShaderSpecVersion as defined in vulkan/vulkan_core.h:6254
	NvGlslShaderSpecVersion = 1
	// NvGlslShaderExtensionName as defined in vulkan/vulkan_core.h:6255
	NvGlslShaderExtensionName = "VK_NV_glsl_shader"
	// ExtDepthRangeUnrestricted as defined in vulkan/vulkan_core.h:6258
	ExtDepthRangeUnrestricted = 1
	// ExtDepthRangeUnrestrictedSpecVersion as defined in vulkan/vulkan_core.h:6259
	ExtDepthRangeUnrestrictedSpecVersion = 1
	// ExtDepthRangeUnrestrictedExtensionName as defined in vulkan/vulkan_core.h:6260
	ExtDepthRangeUnrestrictedExtensionName = "VK_EXT_depth_range_unrestricted"
	// ImgFilterCubic as defined in vulkan/vulkan_core.h:6263
	ImgFilterCubic = 1
	// ImgFilterCubicSpecVersion as defined in vulkan/vulkan_core.h:6264
	ImgFilterCubicSpecVersion = 1
	// ImgFilterCubicExtensionName as defined in vulkan/vulkan_core.h:6265
	ImgFilterCubicExtensionName = "VK_IMG_filter_cubic"
	// AmdRasterizationOrder as defined in vulkan/vulkan_core.h:6268
	AmdRasterizationOrder = 1
	// AmdRasterizationOrderSpecVersion as defined in vulkan/vulkan_core.h:6269
	AmdRasterizationOrderSpecVersion = 1
	// AmdRasterizationOrderExtensionName as defined in vulkan/vulkan_core.h:6270
	AmdRasterizationOrderExtensionName = "VK_AMD_rasterization_order"
	// AmdShaderTrinaryMinmax as defined in vulkan/vulkan_core.h:6290
	AmdShaderTrinaryMinmax = 1
	// AmdShaderTrinaryMinmaxSpecVersion as defined in vulkan/vulkan_core.h:6291
	AmdShaderTrinaryMinmaxSpecVersion = 1
	// AmdShaderTrinaryMinmaxExtensionName as defined in vulkan/vulkan_core.h:6292
	AmdShaderTrinaryMinmaxExtensionName = "VK_AMD_shader_trinary_minmax"
	// AmdShaderExplicitVertexParameter as defined in vulkan/vulkan_core.h:6295
	AmdShaderExplicitVertexParameter = 1
	// AmdShaderExplicitVertexParameterSpecVersion as defined in vulkan/vulkan_core.h:6296
	AmdShaderExplicitVertexParameterSpecVersion = 1
	// AmdShaderExplicitVertexParameterExtensionName as defined in vulkan/vulkan_core.h:6297
	AmdShaderExplicitVertexParameterExtensionName = "VK_AMD_shader_explicit_vertex_parameter"
	// ExtDebugMarker as defined in vulkan/vulkan_core.h:6300
	ExtDebugMarker = 1
	// ExtDebugMarkerSpecVersion as defined in vulkan/vulkan_core.h:6301
	ExtDebugMarkerSpecVersion = 4
	// ExtDebugMarkerExtensionName as defined in vulkan/vulkan_core.h:6302
	ExtDebugMarkerExtensionName = "VK_EXT_debug_marker"
	// AmdGcnShader as defined in vulkan/vulkan_core.h:6357
	AmdGcnShader = 1
	// AmdGcnShaderSpecVersion as defined in vulkan/vulkan_core.h:6358
	AmdGcnShaderSpecVersion = 1
	// AmdGcnShaderExtensionName as defined in vulkan/vulkan_core.h:6359
	AmdGcnShaderExtensionName = "VK_AMD_gcn_shader"
	// NvDedicatedAllocation as defined in vulkan/vulkan_core.h:6362
	NvDedicatedAllocation = 1
	// NvDedicatedAllocationSpecVersion as defined in vulkan/vulkan_core.h:6363
	NvDedicatedAllocationSpecVersion = 1
	// NvDedicatedAllocationExtensionName as defined in vulkan/vulkan_core.h:6364
	NvDedicatedAllocationExtensionName = "VK_NV_dedicated_allocation"
	// ExtTransformFeedback as defined in vulkan/vulkan_core.h:6387
	ExtTransformFeedback = 1
	// ExtTransformFeedbackSpecVersion as defined in vulkan/vulkan_core.h:6388
	ExtTransformFeedbackSpecVersion = 1
	// ExtTransformFeedbackExtensionName as defined in vulkan/vulkan_core.h:6389
	ExtTransformFeedbackExtensionName = "VK_EXT_transform_feedback"
	// AmdDrawIndirectCount as defined in vulkan/vulkan_core.h:6476
	AmdDrawIndirectCount = 1
	// AmdDrawIndirectCountSpecVersion as defined in vulkan/vulkan_core.h:6477
	AmdDrawIndirectCountSpecVersion = 1
	// AmdDrawIndirectCountExtensionName as defined in vulkan/vulkan_core.h:6478
	AmdDrawIndirectCountExtensionName = "VK_AMD_draw_indirect_count"
	// AmdNegativeViewportHeight as defined in vulkan/vulkan_core.h:6503
	AmdNegativeViewportHeight = 1
	// AmdNegativeViewportHeightSpecVersion as defined in vulkan/vulkan_core.h:6504
	AmdNegativeViewportHeightSpecVersion = 1
	// AmdNegativeViewportHeightExtensionName as defined in vulkan/vulkan_core.h:6505
	AmdNegativeViewportHeightExtensionName = "VK_AMD_negative_viewport_height"
	// AmdGpuShaderHalfFloat as defined in vulkan/vulkan_core.h:6508
	AmdGpuShaderHalfFloat = 1
	// AmdGpuShaderHalfFloatSpecVersion as defined in vulkan/vulkan_core.h:6509
	AmdGpuShaderHalfFloatSpecVersion = 1
	// AmdGpuShaderHalfFloatExtensionName as defined in vulkan/vulkan_core.h:6510
	AmdGpuShaderHalfFloatExtensionName = "VK_AMD_gpu_shader_half_float"
	// AmdShaderBallot as defined in vulkan/vulkan_core.h:6513
	AmdShaderBallot = 1
	// AmdShaderBallotSpecVersion as defined in vulkan/vulkan_core.h:6514
	AmdShaderBallotSpecVersion = 1
	// AmdShaderBallotExtensionName as defined in vulkan/vulkan_core.h:6515
	AmdShaderBallotExtensionName = "VK_AMD_shader_ballot"
	// AmdTextureGatherBiasLod as defined in vulkan/vulkan_core.h:6518
	AmdTextureGatherBiasLod = 1
	// AmdTextureGatherBiasLodSpecVersion as defined in vulkan/vulkan_core.h:6519
	AmdTextureGatherBiasLodSpecVersion = 1
	// AmdTextureGatherBiasLodExtensionName as defined in vulkan/vulkan_core.h:6520
	AmdTextureGatherBiasLodExtensionName = "VK_AMD_texture_gather_bias_lod"
	// AmdShaderInfo as defined in vulkan/vulkan_core.h:6530
	AmdShaderInfo = 1
	// AmdShaderInfoSpecVersion as defined in vulkan/vulkan_core.h:6531
	AmdShaderInfoSpecVersion = 1
	// AmdShaderInfoExtensionName as defined in vulkan/vulkan_core.h:6532
	AmdShaderInfoExtensionName = "VK_AMD_shader_info"
	// AmdShaderImageLoadStoreLod as defined in vulkan/vulkan_core.h:6576
	AmdShaderImageLoadStoreLod = 1
	// AmdShaderImageLoadStoreLodSpecVersion as defined in vulkan/vulkan_core.h:6577
	AmdShaderImageLoadStoreLodSpecVersion = 1
	// AmdShaderImageLoadStoreLodExtensionName as defined in vulkan/vulkan_core.h:6578
	AmdShaderImageLoadStoreLodExtensionName = "VK_AMD_shader_image_load_store_lod"
	// NvCornerSampledImage as defined in vulkan/vulkan_core.h:6581
	NvCornerSampledImage = 1
	// NvCornerSampledImageSpecVersion as defined in vulkan/vulkan_core.h:6582
	NvCornerSampledImageSpecVersion = 2
	// NvCornerSampledImageExtensionName as defined in vulkan/vulkan_core.h:6583
	NvCornerSampledImageExtensionName = "VK_NV_corner_sampled_image"
	// ImgFormatPvrtc as defined in vulkan/vulkan_core.h:6593
	ImgFormatPvrtc = 1
	// ImgFormatPvrtcSpecVersion as defined in vulkan/vulkan_core.h:6594
	ImgFormatPvrtcSpecVersion = 1
	// ImgFormatPvrtcExtensionName as defined in vulkan/vulkan_core.h:6595
	ImgFormatPvrtcExtensionName = "VK_IMG_format_pvrtc"
	// NvExternalMemoryCapabilities as defined in vulkan/vulkan_core.h:6598
	NvExternalMemoryCapabilities = 1
	// NvExternalMemoryCapabilitiesSpecVersion as defined in vulkan/vulkan_core.h:6599
	NvExternalMemoryCapabilitiesSpecVersion = 1
	// NvExternalMemoryCapabilitiesExtensionName as defined in vulkan/vulkan_core.h:6600
	NvExternalMemoryCapabilitiesExtensionName = "VK_NV_external_memory_capabilities"
	// NvExternalMemory as defined in vulkan/vulkan_core.h:6642
	NvExternalMemory = 1
	// NvExternalMemorySpecVersion as defined in vulkan/vulkan_core.h:6643
	NvExternalMemorySpecVersion = 1
	// NvExternalMemoryExtensionName as defined in vulkan/vulkan_core.h:6644
	NvExternalMemoryExtensionName = "VK_NV_external_memory"
	// ExtValidationFlags as defined in vulkan/vulkan_core.h:6660
	ExtValidationFlags = 1
	// ExtValidationFlagsSpecVersion as defined in vulkan/vulkan_core.h:6661
	ExtValidationFlagsSpecVersion = 1
	// ExtValidationFlagsExtensionName as defined in vulkan/vulkan_core.h:6662
	ExtValidationFlagsExtensionName = "VK_EXT_validation_flags"
	// ExtShaderSubgroupBallot as defined in vulkan/vulkan_core.h:6683
	ExtShaderSubgroupBallot = 1
	// ExtShaderSubgroupBallotSpecVersion as defined in vulkan/vulkan_core.h:6684
	ExtShaderSubgroupBallotSpecVersion = 1
	// ExtShaderSubgroupBallotExtensionName as defined in vulkan/vulkan_core.h:6685
	ExtShaderSubgroupBallotExtensionName = "VK_EXT_shader_subgroup_ballot"
	// ExtShaderSubgroupVote as defined in vulkan/vulkan_core.h:6688
	ExtShaderSubgroupVote = 1
	// ExtShaderSubgroupVoteSpecVersion as defined in vulkan/vulkan_core.h:6689
	ExtShaderSubgroupVoteSpecVersion = 1
	// ExtShaderSubgroupVoteExtensionName as defined in vulkan/vulkan_core.h:6690
	ExtShaderSubgroupVoteExtensionName = "VK_EXT_shader_subgroup_vote"
	// ExtAstcDecodeMode as defined in vulkan/vulkan_core.h:6693
	ExtAstcDecodeMode = 1
	// ExtAstcDecodeModeSpecVersion as defined in vulkan/vulkan_core.h:6694
	ExtAstcDecodeModeSpecVersion = 1
	// ExtAstcDecodeModeExtensionName as defined in vulkan/vulkan_core.h:6695
	ExtAstcDecodeModeExtensionName = "VK_EXT_astc_decode_mode"
	// ExtConditionalRendering as defined in vulkan/vulkan_core.h:6711
	ExtConditionalRendering = 1
	// ExtConditionalRenderingSpecVersion as defined in vulkan/vulkan_core.h:6712
	ExtConditionalRenderingSpecVersion = 1
	// ExtConditionalRenderingExtensionName as defined in vulkan/vulkan_core.h:6713
	ExtConditionalRenderingExtensionName = "VK_EXT_conditional_rendering"
	// NvxDeviceGeneratedCommands as defined in vulkan/vulkan_core.h:6756
	NvxDeviceGeneratedCommands = 1
	// NvxDeviceGeneratedCommandsSpecVersion as defined in vulkan/vulkan_core.h:6760
	NvxDeviceGeneratedCommandsSpecVersion = 3
	// NvxDeviceGeneratedCommandsExtensionName as defined in vulkan/vulkan_core.h:6761
	NvxDeviceGeneratedCommandsExtensionName = "VK_NVX_device_generated_commands"
	// NvClipSpaceWScaling as defined in vulkan/vulkan_core.h:6983
	NvClipSpaceWScaling = 1
	// NvClipSpaceWScalingSpecVersion as defined in vulkan/vulkan_core.h:6984
	NvClipSpaceWScalingSpecVersion = 1
	// NvClipSpaceWScalingExtensionName as defined in vulkan/vulkan_core.h:6985
	NvClipSpaceWScalingExtensionName = "VK_NV_clip_space_w_scaling"
	// ExtDirectModeDisplay as defined in vulkan/vulkan_core.h:7011
	ExtDirectModeDisplay = 1
	// ExtDirectModeDisplaySpecVersion as defined in vulkan/vulkan_core.h:7012
	ExtDirectModeDisplaySpecVersion = 1
	// ExtDirectModeDisplayExtensionName as defined in vulkan/vulkan_core.h:7013
	ExtDirectModeDisplayExtensionName = "VK_EXT_direct_mode_display"
	// ExtDisplaySurfaceCounter as defined in vulkan/vulkan_core.h:7023
	ExtDisplaySurfaceCounter = 1
	// ExtDisplaySurfaceCounterSpecVersion as defined in vulkan/vulkan_core.h:7024
	ExtDisplaySurfaceCounterSpecVersion = 1
	// ExtDisplaySurfaceCounterExtensionName as defined in vulkan/vulkan_core.h:7025
	ExtDisplaySurfaceCounterExtensionName = "VK_EXT_display_surface_counter"
	// ExtDisplayControl as defined in vulkan/vulkan_core.h:7060
	ExtDisplayControl = 1
	// ExtDisplayControlSpecVersion as defined in vulkan/vulkan_core.h:7061
	ExtDisplayControlSpecVersion = 1
	// ExtDisplayControlExtensionName as defined in vulkan/vulkan_core.h:7062
	ExtDisplayControlExtensionName = "VK_EXT_display_control"
	// GoogleDisplayTiming as defined in vulkan/vulkan_core.h:7147
	GoogleDisplayTiming = 1
	// GoogleDisplayTimingSpecVersion as defined in vulkan/vulkan_core.h:7148
	GoogleDisplayTimingSpecVersion = 1
	// GoogleDisplayTimingExtensionName as defined in vulkan/vulkan_core.h:7149
	GoogleDisplayTimingExtensionName = "VK_GOOGLE_display_timing"
	// NvSampleMaskOverrideCoverage as defined in vulkan/vulkan_core.h:7192
	NvSampleMaskOverrideCoverage = 1
	// NvSampleMaskOverrideCoverageSpecVersion as defined in vulkan/vulkan_core.h:7193
	NvSampleMaskOverrideCoverageSpecVersion = 1
	// NvSampleMaskOverrideCoverageExtensionName as defined in vulkan/vulkan_core.h:7194
	NvSampleMaskOverrideCoverageExtensionName = "VK_NV_sample_mask_override_coverage"
	// NvGeometryShaderPassthrough as defined in vulkan/vulkan_core.h:7197
	NvGeometryShaderPassthrough = 1
	// NvGeometryShaderPassthroughSpecVersion as defined in vulkan/vulkan_core.h:7198
	NvGeometryShaderPassthroughSpecVersion = 1
	// NvGeometryShaderPassthroughExtensionName as defined in vulkan/vulkan_core.h:7199
	NvGeometryShaderPassthroughExtensionName = "VK_NV_geometry_shader_passthrough"
	// NvViewportArray2 as defined in vulkan/vulkan_core.h:7202
	NvViewportArray2 = 1
	// NvViewportArray2SpecVersion as defined in vulkan/vulkan_core.h:7203
	NvViewportArray2SpecVersion = 1
	// NvViewportArray2ExtensionName as defined in vulkan/vulkan_core.h:7204
	NvViewportArray2ExtensionName = "VK_NV_viewport_array2"
	// NvxMultiviewPerViewAttributes as defined in vulkan/vulkan_core.h:7207
	NvxMultiviewPerViewAttributes = 1
	// NvxMultiviewPerViewAttributesSpecVersion as defined in vulkan/vulkan_core.h:7208
	NvxMultiviewPerViewAttributesSpecVersion = 1
	// NvxMultiviewPerViewAttributesExtensionName as defined in vulkan/vulkan_core.h:7209
	NvxMultiviewPerViewAttributesExtensionName = "VK_NVX_multiview_per_view_attributes"
	// NvViewportSwizzle as defined in vulkan/vulkan_core.h:7219
	NvViewportSwizzle = 1
	// NvViewportSwizzleSpecVersion as defined in vulkan/vulkan_core.h:7220
	NvViewportSwizzleSpecVersion = 1
	// NvViewportSwizzleExtensionName as defined in vulkan/vulkan_core.h:7221
	NvViewportSwizzleExtensionName = "VK_NV_viewport_swizzle"
	// ExtDiscardRectangles as defined in vulkan/vulkan_core.h:7258
	ExtDiscardRectangles = 1
	// ExtDiscardRectanglesSpecVersion as defined in vulkan/vulkan_core.h:7259
	ExtDiscardRectanglesSpecVersion = 1
	// ExtDiscardRectanglesExtensionName as defined in vulkan/vulkan_core.h:7260
	ExtDiscardRectanglesExtensionName = "VK_EXT_discard_rectangles"
	// ExtConservativeRasterization as defined in vulkan/vulkan_core.h:7300
	ExtConservativeRasterization = 1
	// ExtConservativeRasterizationSpecVersion as defined in vulkan/vulkan_core.h:7301
	ExtConservativeRasterizationSpecVersion = 1
	// ExtConservativeRasterizationExtensionName as defined in vulkan/vulkan_core.h:7302
	ExtConservativeRasterizationExtensionName = "VK_EXT_conservative_rasterization"
	// ExtSwapchainColorspace as defined in vulkan/vulkan_core.h:7341
	ExtSwapchainColorspace = 1
	// ExtSwapchainColorSpaceSpecVersion as defined in vulkan/vulkan_core.h:7342
	ExtSwapchainColorSpaceSpecVersion = 3
	// ExtSwapchainColorSpaceExtensionName as defined in vulkan/vulkan_core.h:7343
	ExtSwapchainColorSpaceExtensionName = "VK_EXT_swapchain_colorspace"
	// ExtHdrMetadata as defined in vulkan/vulkan_core.h:7346
	ExtHdrMetadata = 1
	// ExtHdrMetadataSpecVersion as defined in vulkan/vulkan_core.h:7347
	ExtHdrMetadataSpecVersion = 1
	// ExtHdrMetadataExtensionName as defined in vulkan/vulkan_core.h:7348
	ExtHdrMetadataExtensionName = "VK_EXT_hdr_metadata"
	// ExtExternalMemoryDmaBuf as defined in vulkan/vulkan_core.h:7379
	ExtExternalMemoryDmaBuf = 1
	// ExtExternalMemoryDmaBufSpecVersion as defined in vulkan/vulkan_core.h:7380
	ExtExternalMemoryDmaBufSpecVersion = 1
	// ExtExternalMemoryDmaBufExtensionName as defined in vulkan/vulkan_core.h:7381
	ExtExternalMemoryDmaBufExtensionName = "VK_EXT_external_memory_dma_buf"
	// ExtQueueFamilyForeign as defined in vulkan/vulkan_core.h:7384
	ExtQueueFamilyForeign = 1
	// ExtQueueFamilyForeignSpecVersion as defined in vulkan/vulkan_core.h:7385
	ExtQueueFamilyForeignSpecVersion = 1
	// ExtQueueFamilyForeignExtensionName as defined in vulkan/vulkan_core.h:7386
	ExtQueueFamilyForeignExtensionName = "VK_EXT_queue_family_foreign"
	// QueueFamilyForeign as defined in vulkan/vulkan_core.h:7387
	QueueFamilyForeign = (^uint32(0) - 2)
	// ExtDebugUtils as defined in vulkan/vulkan_core.h:7390
	ExtDebugUtils = 1
	// ExtDebugUtilsSpecVersion as defined in vulkan/vulkan_core.h:7393
	ExtDebugUtilsSpecVersion = 1
	// ExtDebugUtilsExtensionName as defined in vulkan/vulkan_core.h:7394
	ExtDebugUtilsExtensionName = "VK_EXT_debug_utils"
	// ExtSamplerFilterMinmax as defined in vulkan/vulkan_core.h:7534
	ExtSamplerFilterMinmax = 1
	// ExtSamplerFilterMinmaxSpecVersion as defined in vulkan/vulkan_core.h:7535
	ExtSamplerFilterMinmaxSpecVersion = 1
	// ExtSamplerFilterMinmaxExtensionName as defined in vulkan/vulkan_core.h:7536
	ExtSamplerFilterMinmaxExtensionName = "VK_EXT_sampler_filter_minmax"
	// AmdGpuShaderInt16 as defined in vulkan/vulkan_core.h:7564
	AmdGpuShaderInt16 = 1
	// AmdGpuShaderInt16SpecVersion as defined in vulkan/vulkan_core.h:7565
	AmdGpuShaderInt16SpecVersion = 1
	// AmdGpuShaderInt16ExtensionName as defined in vulkan/vulkan_core.h:7566
	AmdGpuShaderInt16ExtensionName = "VK_AMD_gpu_shader_int16"
	// AmdMixedAttachmentSamples as defined in vulkan/vulkan_core.h:7569
	AmdMixedAttachmentSamples = 1
	// AmdMixedAttachmentSamplesSpecVersion as defined in vulkan/vulkan_core.h:7570
	AmdMixedAttachmentSamplesSpecVersion = 1
	// AmdMixedAttachmentSamplesExtensionName as defined in vulkan/vulkan_core.h:7571
	AmdMixedAttachmentSamplesExtensionName = "VK_AMD_mixed_attachment_samples"
	// AmdShaderFragmentMask as defined in vulkan/vulkan_core.h:7574
	AmdShaderFragmentMask = 1
	// AmdShaderFragmentMaskSpecVersion as defined in vulkan/vulkan_core.h:7575
	AmdShaderFragmentMaskSpecVersion = 1
	// AmdShaderFragmentMaskExtensionName as defined in vulkan/vulkan_core.h:7576
	AmdShaderFragmentMaskExtensionName = "VK_AMD_shader_fragment_mask"
	// ExtInlineUniformBlock as defined in vulkan/vulkan_core.h:7579
	ExtInlineUniformBlock = 1
	// ExtInlineUniformBlockSpecVersion as defined in vulkan/vulkan_core.h:7580
	ExtInlineUniformBlockSpecVersion = 1
	// ExtInlineUniformBlockExtensionName as defined in vulkan/vulkan_core.h:7581
	ExtInlineUniformBlockExtensionName = "VK_EXT_inline_uniform_block"
	// ExtShaderStencilExport as defined in vulkan/vulkan_core.h:7615
	ExtShaderStencilExport = 1
	// ExtShaderStencilExportSpecVersion as defined in vulkan/vulkan_core.h:7616
	ExtShaderStencilExportSpecVersion = 1
	// ExtShaderStencilExportExtensionName as defined in vulkan/vulkan_core.h:7617
	ExtShaderStencilExportExtensionName = "VK_EXT_shader_stencil_export"
	// ExtSampleLocations as defined in vulkan/vulkan_core.h:7620
	ExtSampleLocations = 1
	// ExtSampleLocationsSpecVersion as defined in vulkan/vulkan_core.h:7621
	ExtSampleLocationsSpecVersion = 1
	// ExtSampleLocationsExtensionName as defined in vulkan/vulkan_core.h:7622
	ExtSampleLocationsExtensionName = "VK_EXT_sample_locations"
	// ExtBlendOperationAdvanced as defined in vulkan/vulkan_core.h:7695
	ExtBlendOperationAdvanced = 1
	// ExtBlendOperationAdvancedSpecVersion as defined in vulkan/vulkan_core.h:7696
	ExtBlendOperationAdvancedSpecVersion = 2
	// ExtBlendOperationAdvancedExtensionName as defined in vulkan/vulkan_core.h:7697
	ExtBlendOperationAdvancedExtensionName = "VK_EXT_blend_operation_advanced"
	// NvFragmentCoverageToColor as defined in vulkan/vulkan_core.h:7737
	NvFragmentCoverageToColor = 1
	// NvFragmentCoverageToColorSpecVersion as defined in vulkan/vulkan_core.h:7738
	NvFragmentCoverageToColorSpecVersion = 1
	// NvFragmentCoverageToColorExtensionName as defined in vulkan/vulkan_core.h:7739
	NvFragmentCoverageToColorExtensionName = "VK_NV_fragment_coverage_to_color"
	// NvFramebufferMixedSamples as defined in vulkan/vulkan_core.h:7753
	NvFramebufferMixedSamples = 1
	// NvFramebufferMixedSamplesSpecVersion as defined in vulkan/vulkan_core.h:7754
	NvFramebufferMixedSamplesSpecVersion = 1
	// NvFramebufferMixedSamplesExtensionName as defined in vulkan/vulkan_core.h:7755
	NvFramebufferMixedSamplesExtensionName = "VK_NV_framebuffer_mixed_samples"
	// NvFillRectangle as defined in vulkan/vulkan_core.h:7783
	NvFillRectangle = 1
	// NvFillRectangleSpecVersion as defined in vulkan/vulkan_core.h:7784
	NvFillRectangleSpecVersion = 1
	// NvFillRectangleExtensionName as defined in vulkan/vulkan_core.h:7785
	NvFillRectangleExtensionName = "VK_NV_fill_rectangle"
	// ExtPostDepthCoverage as defined in vulkan/vulkan_core.h:7788
	ExtPostDepthCoverage = 1
	// ExtPostDepthCoverageSpecVersion as defined in vulkan/vulkan_core.h:7789
	ExtPostDepthCoverageSpecVersion = 1
	// ExtPostDepthCoverageExtensionName as defined in vulkan/vulkan_core.h:7790
	ExtPostDepthCoverageExtensionName = "VK_EXT_post_depth_coverage"
	// ExtImageDrmFormatModifier as defined in vulkan/vulkan_core.h:7793
	ExtImageDrmFormatModifier = 1
	// ExtExtension159SpecVersion as defined in vulkan/vulkan_core.h:7794
	ExtExtension159SpecVersion = 0
	// ExtExtension159ExtensionName as defined in vulkan/vulkan_core.h:7795
	ExtExtension159ExtensionName = "VK_EXT_extension_159"
	// ExtImageDrmFormatModifierSpecVersion as defined in vulkan/vulkan_core.h:7796
	ExtImageDrmFormatModifierSpecVersion = 1
	// ExtImageDrmFormatModifierExtensionName as defined in vulkan/vulkan_core.h:7797
	ExtImageDrmFormatModifierExtensionName = "VK_EXT_image_drm_format_modifier"
	// ExtValidationCache as defined in vulkan/vulkan_core.h:7852
	ExtValidationCache = 1
	// ExtValidationCacheSpecVersion as defined in vulkan/vulkan_core.h:7855
	ExtValidationCacheSpecVersion = 1
	// ExtValidationCacheExtensionName as defined in vulkan/vulkan_core.h:7856
	ExtValidationCacheExtensionName = "VK_EXT_validation_cache"
	// ExtDescriptorIndexing as defined in vulkan/vulkan_core.h:7914
	ExtDescriptorIndexing = 1
	// ExtDescriptorIndexingSpecVersion as defined in vulkan/vulkan_core.h:7915
	ExtDescriptorIndexingSpecVersion = 2
	// ExtDescriptorIndexingExtensionName as defined in vulkan/vulkan_core.h:7916
	ExtDescriptorIndexingExtensionName = "VK_EXT_descriptor_indexing"
	// ExtShaderViewportIndexLayer as defined in vulkan/vulkan_core.h:8003
	ExtShaderViewportIndexLayer = 1
	// ExtShaderViewportIndexLayerSpecVersion as defined in vulkan/vulkan_core.h:8004
	ExtShaderViewportIndexLayerSpecVersion = 1
	// ExtShaderViewportIndexLayerExtensionName as defined in vulkan/vulkan_core.h:8005
	ExtShaderViewportIndexLayerExtensionName = "VK_EXT_shader_viewport_index_layer"
	// NvShadingRateImage as defined in vulkan/vulkan_core.h:8008
	NvShadingRateImage = 1
	// NvShadingRateImageSpecVersion as defined in vulkan/vulkan_core.h:8009
	NvShadingRateImageSpecVersion = 3
	// NvShadingRateImageExtensionName as defined in vulkan/vulkan_core.h:8010
	NvShadingRateImageExtensionName = "VK_NV_shading_rate_image"
	// NvxRaytracing as defined in vulkan/vulkan_core.h:8116
	NvxRaytracing = 1
	// NvxRaytracingSpecVersion as defined in vulkan/vulkan_core.h:8119
	NvxRaytracingSpecVersion = 1
	// NvxRaytracingExtensionName as defined in vulkan/vulkan_core.h:8120
	NvxRaytracingExtensionName = "VK_NVX_raytracing"
	// NvRepresentativeFragmentTest as defined in vulkan/vulkan_core.h:8381
	NvRepresentativeFragmentTest = 1
	// NvRepresentativeFragmentTestSpecVersion as defined in vulkan/vulkan_core.h:8382
	NvRepresentativeFragmentTestSpecVersion = 1
	// NvRepresentativeFragmentTestExtensionName as defined in vulkan/vulkan_core.h:8383
	NvRepresentativeFragmentTestExtensionName = "VK_NV_representative_fragment_test"
	// ExtGlobalPriority as defined in vulkan/vulkan_core.h:8399
	ExtGlobalPriority = 1
	// ExtGlobalPrioritySpecVersion as defined in vulkan/vulkan_core.h:8400
	ExtGlobalPrioritySpecVersion = 2
	// ExtGlobalPriorityExtensionName as defined in vulkan/vulkan_core.h:8401
	ExtGlobalPriorityExtensionName = "VK_EXT_global_priority"
	// ExtExternalMemoryHost as defined in vulkan/vulkan_core.h:8423
	ExtExternalMemoryHost = 1
	// ExtExternalMemoryHostSpecVersion as defined in vulkan/vulkan_core.h:8424
	ExtExternalMemoryHostSpecVersion = 1
	// ExtExternalMemoryHostExtensionName as defined in vulkan/vulkan_core.h:8425
	ExtExternalMemoryHostExtensionName = "VK_EXT_external_memory_host"
	// AmdBufferMarker as defined in vulkan/vulkan_core.h:8457
	AmdBufferMarker = 1
	// AmdBufferMarkerSpecVersion as defined in vulkan/vulkan_core.h:8458
	AmdBufferMarkerSpecVersion = 1
	// AmdBufferMarkerExtensionName as defined in vulkan/vulkan_core.h:8459
	AmdBufferMarkerExtensionName = "VK_AMD_buffer_marker"
	// ExtCalibratedTimestamps as defined in vulkan/vulkan_core.h:8472
	ExtCalibratedTimestamps = 1
	// ExtCalibratedTimestampsSpecVersion as defined in vulkan/vulkan_core.h:8473
	ExtCalibratedTimestampsSpecVersion = 1
	// ExtCalibratedTimestampsExtensionName as defined in vulkan/vulkan_core.h:8474
	ExtCalibratedTimestampsExtensionName = "VK_EXT_calibrated_timestamps"
	// AmdShaderCoreProperties as defined in vulkan/vulkan_core.h:8512
	AmdShaderCoreProperties = 1
	// AmdShaderCorePropertiesSpecVersion as defined in vulkan/vulkan_core.h:8513
	AmdShaderCorePropertiesSpecVersion = 1
	// AmdShaderCorePropertiesExtensionName as defined in vulkan/vulkan_core.h:8514
	AmdShaderCorePropertiesExtensionName = "VK_AMD_shader_core_properties"
	// ExtVertexAttributeDivisor as defined in vulkan/vulkan_core.h:8537
	ExtVertexAttributeDivisor = 1
	// ExtVertexAttributeDivisorSpecVersion as defined in vulkan/vulkan_core.h:8538
	ExtVertexAttributeDivisorSpecVersion = 3
	// ExtVertexAttributeDivisorExtensionName as defined in vulkan/vulkan_core.h:8539
	ExtVertexAttributeDivisorExtensionName = "VK_EXT_vertex_attribute_divisor"
	// NvShaderSubgroupPartitioned as defined in vulkan/vulkan_core.h:8568
	NvShaderSubgroupPartitioned = 1
	// NvShaderSubgroupPartitionedSpecVersion as defined in vulkan/vulkan_core.h:8569
	NvShaderSubgroupPartitionedSpecVersion = 1
	// NvShaderSubgroupPartitionedExtensionName as defined in vulkan/vulkan_core.h:8570
	NvShaderSubgroupPartitionedExtensionName = "VK_NV_shader_subgroup_partitioned"
	// NvComputeShaderDerivatives as defined in vulkan/vulkan_core.h:8573
	NvComputeShaderDerivatives = 1
	// NvComputeShaderDerivativesSpecVersion as defined in vulkan/vulkan_core.h:8574
	NvComputeShaderDerivativesSpecVersion = 1
	// NvComputeShaderDerivativesExtensionName as defined in vulkan/vulkan_core.h:8575
	NvComputeShaderDerivativesExtensionName = "VK_NV_compute_shader_derivatives"
	// NvMeshShader as defined in vulkan/vulkan_core.h:8586
	NvMeshShader = 1
	// NvMeshShaderSpecVersion as defined in vulkan/vulkan_core.h:8587
	NvMeshShaderSpecVersion = 1
	// NvMeshShaderExtensionName as defined in vulkan/vulkan_core.h:8588
	NvMeshShaderExtensionName = "VK_NV_mesh_shader"
	// NvFragmentShaderBarycentric as defined in vulkan/vulkan_core.h:8648
	NvFragmentShaderBarycentric = 1
	// NvFragmentShaderBarycentricSpecVersion as defined in vulkan/vulkan_core.h:8649
	NvFragmentShaderBarycentricSpecVersion = 1
	// NvFragmentShaderBarycentricExtensionName as defined in vulkan/vulkan_core.h:8650
	NvFragmentShaderBarycentricExtensionName = "VK_NV_fragment_shader_barycentric"
	// NvShaderImageFootprint as defined in vulkan/vulkan_core.h:8660
	NvShaderImageFootprint = 1
	// NvShaderImageFootprintSpecVersion as defined in vulkan/vulkan_core.h:8661
	NvShaderImageFootprintSpecVersion = 1
	// NvShaderImageFootprintExtensionName as defined in vulkan/vulkan_core.h:8662
	NvShaderImageFootprintExtensionName = "VK_NV_shader_image_footprint"
	// NvScissorExclusive as defined in vulkan/vulkan_core.h:8672
	NvScissorExclusive = 1
	// NvScissorExclusiveSpecVersion as defined in vulkan/vulkan_core.h:8673
	NvScissorExclusiveSpecVersion = 1
	// NvScissorExclusiveExtensionName as defined in vulkan/vulkan_core.h:8674
	NvScissorExclusiveExtensionName = "VK_NV_scissor_exclusive"
	// NvDeviceDiagnosticCheckpoints as defined in vulkan/vulkan_core.h:8700
	NvDeviceDiagnosticCheckpoints = 1
	// NvDeviceDiagnosticCheckpointsSpecVersion as defined in vulkan/vulkan_core.h:8701
	NvDeviceDiagnosticCheckpointsSpecVersion = 2
	// NvDeviceDiagnosticCheckpointsExtensionName as defined in vulkan/vulkan_core.h:8702
	NvDeviceDiagnosticCheckpointsExtensionName = "VK_NV_device_diagnostic_checkpoints"
	// ExtPciBusInfo as defined in vulkan/vulkan_core.h:8732
	ExtPciBusInfo = 1
	// ExtPciBusInfoSpecVersion as defined in vulkan/vulkan_core.h:8733
	ExtPciBusInfoSpecVersion = 1
	// ExtPciBusInfoExtensionName as defined in vulkan/vulkan_core.h:8734
	ExtPciBusInfoExtensionName = "VK_EXT_pci_bus_info"
	// GoogleHlslFunctionality1 as defined in vulkan/vulkan_core.h:8747
	GoogleHlslFunctionality1 = 1
	// GoogleHlslFunctionality1SpecVersion as defined in vulkan/vulkan_core.h:8748
	GoogleHlslFunctionality1SpecVersion = 0
	// GoogleHlslFunctionality1ExtensionName as defined in vulkan/vulkan_core.h:8749
	GoogleHlslFunctionality1ExtensionName = "VK_GOOGLE_hlsl_functionality1"
	// GoogleDecorateString as defined in vulkan/vulkan_core.h:8752
	GoogleDecorateString = 1
	// GoogleDecorateStringSpecVersion as defined in vulkan/vulkan_core.h:8753
	GoogleDecorateStringSpecVersion = 0
	// GoogleDecorateStringExtensionName as defined in vulkan/vulkan_core.h:8754
	GoogleDecorateStringExtensionName = "VK_GOOGLE_decorate_string"
)

Variables

View Source
var (
	MaxUint32 uint32 = 1<<32 - 1 // also ^uint32(0)
	MaxUint64 uint64 = 1<<64 - 1 // also ^uint64(0)
)

Max bounds of uint32 and uint64, declared as var so type would get checked.

View Source
var (
	// NullHandle defines a platform-specfic NULL handle.
	NullHandle unsafe.Pointer
	// NullSemaphore defines a platform-specfic NULL Semaphore.
	NullSemaphore Semaphore
	// NullFence defines a platform-specfic NULL Fence.
	NullFence Fence
	// NullDeviceMemory defines a platform-specfic NULL DeviceMemory.
	NullDeviceMemory DeviceMemory
	// NullBuffer defines a platform-specfic NULL Buffer.
	NullBuffer Buffer
	// NullImage defines a platform-specfic NULL Image.
	NullImage Image
	// NullEvent defines a platform-specfic NULL Event.
	NullEvent Event
	// NullQueryPool defines a platform-specfic NULL QueryPool.
	NullQueryPool QueryPool
	// NullBufferView defines a platform-specfic NULL BufferView.
	NullBufferView BufferView
	// NullImageView defines a platform-specfic NULL ImageView.
	NullImageView ImageView
	// NullShaderModule defines a platform-specfic NULL ShaderModule.
	NullShaderModule ShaderModule
	// NullPipelineCache defines a platform-specfic NULL PipelineCache.
	NullPipelineCache PipelineCache
	// NullPipelineLayout defines a platform-specfic NULL PipelineLayout.
	NullPipelineLayout PipelineLayout
	// NullRenderPass defines a platform-specfic NULL RenderPass.
	NullRenderPass RenderPass
	// NullPipeline defines a platform-specfic NULL Pipeline.
	NullPipeline Pipeline
	// NullDescriptorSetLayout defines a platform-specfic NULL DescriptorSetLayout.
	NullDescriptorSetLayout DescriptorSetLayout
	// NullSampler defines a platform-specfic NULL Sampler.
	NullSampler Sampler
	// NullDescriptorPool defines a platform-specfic NULL DescriptorPool.
	NullDescriptorPool DescriptorPool
	// NullDescriptorSet defines a platform-specfic NULL DescriptorSet.
	NullDescriptorSet DescriptorSet
	// NullFramebuffer defines a platform-specfic NULL Framebuffer.
	NullFramebuffer Framebuffer
	// NullCommandPool defines a platform-specfic NULL CommandPool.
	NullCommandPool CommandPool
	// NullSurface defines a platform-specfic NULL Surface.
	NullSurface Surface
	// NullSwapchain defines a platform-specfic NULL Swapchain.
	NullSwapchain Swapchain
	// NullDisplay defines a platform-specfic NULL Display.
	NullDisplay Display
	// NullDisplayMode defines a platform-specfic NULL DisplayMode.
	NullDisplayMode DisplayMode
	// NullDebugReportCallback defines a platform-specfic NULL DebugReportCallback.
	NullDebugReportCallback DebugReportCallback
)

Functions

func CmdBeginQuery

func CmdBeginQuery(commandBuffer CommandBuffer, queryPool QueryPool, query uint32, flags QueryControlFlags)

CmdBeginQuery function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBeginQuery.html

func CmdBeginRenderPass

func CmdBeginRenderPass(commandBuffer CommandBuffer, pRenderPassBegin *RenderPassBeginInfo, contents SubpassContents)

CmdBeginRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBeginRenderPass.html

func CmdBindDescriptorSets

func CmdBindDescriptorSets(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, layout PipelineLayout, firstSet uint32, descriptorSetCount uint32, pDescriptorSets []DescriptorSet, dynamicOffsetCount uint32, pDynamicOffsets []uint32)

CmdBindDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindDescriptorSets.html

func CmdBindIndexBuffer

func CmdBindIndexBuffer(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, indexType IndexType)

CmdBindIndexBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindIndexBuffer.html

func CmdBindPipeline

func CmdBindPipeline(commandBuffer CommandBuffer, pipelineBindPoint PipelineBindPoint, pipeline Pipeline)

CmdBindPipeline function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindPipeline.html

func CmdBindVertexBuffers

func CmdBindVertexBuffers(commandBuffer CommandBuffer, firstBinding uint32, bindingCount uint32, pBuffers []Buffer, pOffsets []DeviceSize)

CmdBindVertexBuffers function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBindVertexBuffers.html

func CmdBlitImage

func CmdBlitImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageBlit, filter Filter)

CmdBlitImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdBlitImage.html

func CmdClearAttachments

func CmdClearAttachments(commandBuffer CommandBuffer, attachmentCount uint32, pAttachments []ClearAttachment, rectCount uint32, pRects []ClearRect)

CmdClearAttachments function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearAttachments.html

func CmdClearColorImage

func CmdClearColorImage(commandBuffer CommandBuffer, image Image, imageLayout ImageLayout, pColor *ClearColorValue, rangeCount uint32, pRanges []ImageSubresourceRange)

CmdClearColorImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearColorImage.html

func CmdClearDepthStencilImage

func CmdClearDepthStencilImage(commandBuffer CommandBuffer, image Image, imageLayout ImageLayout, pDepthStencil *ClearDepthStencilValue, rangeCount uint32, pRanges []ImageSubresourceRange)

CmdClearDepthStencilImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearDepthStencilImage.html

func CmdCopyBuffer

func CmdCopyBuffer(commandBuffer CommandBuffer, srcBuffer Buffer, dstBuffer Buffer, regionCount uint32, pRegions []BufferCopy)

CmdCopyBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyBuffer.html

func CmdCopyBufferToImage

func CmdCopyBufferToImage(commandBuffer CommandBuffer, srcBuffer Buffer, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []BufferImageCopy)

CmdCopyBufferToImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyBufferToImage.html

func CmdCopyImage

func CmdCopyImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageCopy)

CmdCopyImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyImage.html

func CmdCopyImageToBuffer

func CmdCopyImageToBuffer(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstBuffer Buffer, regionCount uint32, pRegions []BufferImageCopy)

CmdCopyImageToBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyImageToBuffer.html

func CmdCopyQueryPoolResults

func CmdCopyQueryPoolResults(commandBuffer CommandBuffer, queryPool QueryPool, firstQuery uint32, queryCount uint32, dstBuffer Buffer, dstOffset DeviceSize, stride DeviceSize, flags QueryResultFlags)

CmdCopyQueryPoolResults function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdCopyQueryPoolResults.html

func CmdDispatch

func CmdDispatch(commandBuffer CommandBuffer, x uint32, y uint32, z uint32)

CmdDispatch function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDispatch.html

func CmdDispatchIndirect

func CmdDispatchIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize)

CmdDispatchIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDispatchIndirect.html

func CmdDraw

func CmdDraw(commandBuffer CommandBuffer, vertexCount uint32, instanceCount uint32, firstVertex uint32, firstInstance uint32)

CmdDraw function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDraw.html

func CmdDrawIndexed

func CmdDrawIndexed(commandBuffer CommandBuffer, indexCount uint32, instanceCount uint32, firstIndex uint32, vertexOffset int32, firstInstance uint32)

CmdDrawIndexed function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndexed.html

func CmdDrawIndexedIndirect

func CmdDrawIndexedIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, drawCount uint32, stride uint32)

CmdDrawIndexedIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndexedIndirect.html

func CmdDrawIndirect

func CmdDrawIndirect(commandBuffer CommandBuffer, buffer Buffer, offset DeviceSize, drawCount uint32, stride uint32)

CmdDrawIndirect function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdDrawIndirect.html

func CmdEndQuery

func CmdEndQuery(commandBuffer CommandBuffer, queryPool QueryPool, query uint32)

CmdEndQuery function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdEndQuery.html

func CmdEndRenderPass

func CmdEndRenderPass(commandBuffer CommandBuffer)

CmdEndRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdEndRenderPass.html

func CmdExecuteCommands

func CmdExecuteCommands(commandBuffer CommandBuffer, commandBufferCount uint32, pCommandBuffers []CommandBuffer)

CmdExecuteCommands function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdExecuteCommands.html

func CmdFillBuffer

func CmdFillBuffer(commandBuffer CommandBuffer, dstBuffer Buffer, dstOffset DeviceSize, size DeviceSize, data uint32)

CmdFillBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdFillBuffer.html

func CmdNextSubpass

func CmdNextSubpass(commandBuffer CommandBuffer, contents SubpassContents)

CmdNextSubpass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdNextSubpass.html

func CmdPipelineBarrier

func CmdPipelineBarrier(commandBuffer CommandBuffer, srcStageMask PipelineStageFlags, dstStageMask PipelineStageFlags, dependencyFlags DependencyFlags, memoryBarrierCount uint32, pMemoryBarriers []MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers []BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers []ImageMemoryBarrier)

CmdPipelineBarrier function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPipelineBarrier.html

func CmdPushConstants

func CmdPushConstants(commandBuffer CommandBuffer, layout PipelineLayout, stageFlags ShaderStageFlags, offset uint32, size uint32, pValues unsafe.Pointer)

CmdPushConstants function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdPushConstants.html

func CmdResetEvent

func CmdResetEvent(commandBuffer CommandBuffer, event Event, stageMask PipelineStageFlags)

CmdResetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResetEvent.html

func CmdResetQueryPool

func CmdResetQueryPool(commandBuffer CommandBuffer, queryPool QueryPool, firstQuery uint32, queryCount uint32)

CmdResetQueryPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResetQueryPool.html

func CmdResolveImage

func CmdResolveImage(commandBuffer CommandBuffer, srcImage Image, srcImageLayout ImageLayout, dstImage Image, dstImageLayout ImageLayout, regionCount uint32, pRegions []ImageResolve)

CmdResolveImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdResolveImage.html

func CmdSetBlendConstants

func CmdSetBlendConstants(commandBuffer CommandBuffer, blendConstants *[4]float32)

CmdSetBlendConstants function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetBlendConstants.html

func CmdSetDepthBias

func CmdSetDepthBias(commandBuffer CommandBuffer, depthBiasConstantFactor float32, depthBiasClamp float32, depthBiasSlopeFactor float32)

CmdSetDepthBias function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetDepthBias.html

func CmdSetDepthBounds

func CmdSetDepthBounds(commandBuffer CommandBuffer, minDepthBounds float32, maxDepthBounds float32)

CmdSetDepthBounds function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetDepthBounds.html

func CmdSetEvent

func CmdSetEvent(commandBuffer CommandBuffer, event Event, stageMask PipelineStageFlags)

CmdSetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetEvent.html

func CmdSetLineWidth

func CmdSetLineWidth(commandBuffer CommandBuffer, lineWidth float32)

CmdSetLineWidth function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetLineWidth.html

func CmdSetScissor

func CmdSetScissor(commandBuffer CommandBuffer, firstScissor uint32, scissorCount uint32, pScissors []Rect2D)

CmdSetScissor function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetScissor.html

func CmdSetStencilCompareMask

func CmdSetStencilCompareMask(commandBuffer CommandBuffer, faceMask StencilFaceFlags, compareMask uint32)

CmdSetStencilCompareMask function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilCompareMask.html

func CmdSetStencilReference

func CmdSetStencilReference(commandBuffer CommandBuffer, faceMask StencilFaceFlags, reference uint32)

CmdSetStencilReference function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilReference.html

func CmdSetStencilWriteMask

func CmdSetStencilWriteMask(commandBuffer CommandBuffer, faceMask StencilFaceFlags, writeMask uint32)

CmdSetStencilWriteMask function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetStencilWriteMask.html

func CmdSetViewport

func CmdSetViewport(commandBuffer CommandBuffer, firstViewport uint32, viewportCount uint32, pViewports []Viewport)

CmdSetViewport function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetViewport.html

func CmdUpdateBuffer

func CmdUpdateBuffer(commandBuffer CommandBuffer, dstBuffer Buffer, dstOffset DeviceSize, dataSize DeviceSize, pData *uint32)

CmdUpdateBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdUpdateBuffer.html

func CmdWaitEvents

func CmdWaitEvents(commandBuffer CommandBuffer, eventCount uint32, pEvents []Event, srcStageMask PipelineStageFlags, dstStageMask PipelineStageFlags, memoryBarrierCount uint32, pMemoryBarriers []MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers []BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers []ImageMemoryBarrier)

CmdWaitEvents function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdWaitEvents.html

func CmdWriteTimestamp

func CmdWriteTimestamp(commandBuffer CommandBuffer, pipelineStage PipelineStageFlagBits, queryPool QueryPool, query uint32)

CmdWriteTimestamp function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdWriteTimestamp.html

func DebugReportMessage

func DebugReportMessage(instance Instance, flags DebugReportFlags, objectType DebugReportObjectType, object uint64, location uint, messageCode int32, pLayerPrefix string, pMessage string)

DebugReportMessage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDebugReportMessageEXT.html

func DestroyBuffer

func DestroyBuffer(device Device, buffer Buffer, pAllocator *AllocationCallbacks)

DestroyBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyBuffer.html

func DestroyBufferView

func DestroyBufferView(device Device, bufferView BufferView, pAllocator *AllocationCallbacks)

DestroyBufferView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyBufferView.html

func DestroyCommandPool

func DestroyCommandPool(device Device, commandPool CommandPool, pAllocator *AllocationCallbacks)

DestroyCommandPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyCommandPool.html

func DestroyDebugReportCallback

func DestroyDebugReportCallback(instance Instance, callback DebugReportCallback, pAllocator *AllocationCallbacks)

DestroyDebugReportCallback function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDebugReportCallbackEXT.html

func DestroyDescriptorPool

func DestroyDescriptorPool(device Device, descriptorPool DescriptorPool, pAllocator *AllocationCallbacks)

DestroyDescriptorPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDescriptorPool.html

func DestroyDescriptorSetLayout

func DestroyDescriptorSetLayout(device Device, descriptorSetLayout DescriptorSetLayout, pAllocator *AllocationCallbacks)

DestroyDescriptorSetLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDescriptorSetLayout.html

func DestroyDevice

func DestroyDevice(device Device, pAllocator *AllocationCallbacks)

DestroyDevice function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyDevice.html

func DestroyEvent

func DestroyEvent(device Device, event Event, pAllocator *AllocationCallbacks)

DestroyEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyEvent.html

func DestroyFence

func DestroyFence(device Device, fence Fence, pAllocator *AllocationCallbacks)

DestroyFence function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyFence.html

func DestroyFramebuffer

func DestroyFramebuffer(device Device, framebuffer Framebuffer, pAllocator *AllocationCallbacks)

DestroyFramebuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyFramebuffer.html

func DestroyImage

func DestroyImage(device Device, image Image, pAllocator *AllocationCallbacks)

DestroyImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyImage.html

func DestroyImageView

func DestroyImageView(device Device, imageView ImageView, pAllocator *AllocationCallbacks)

DestroyImageView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyImageView.html

func DestroyInstance

func DestroyInstance(instance Instance, pAllocator *AllocationCallbacks)

DestroyInstance function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyInstance.html

func DestroyPipeline

func DestroyPipeline(device Device, pipeline Pipeline, pAllocator *AllocationCallbacks)

DestroyPipeline function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipeline.html

func DestroyPipelineCache

func DestroyPipelineCache(device Device, pipelineCache PipelineCache, pAllocator *AllocationCallbacks)

DestroyPipelineCache function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipelineCache.html

func DestroyPipelineLayout

func DestroyPipelineLayout(device Device, pipelineLayout PipelineLayout, pAllocator *AllocationCallbacks)

DestroyPipelineLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyPipelineLayout.html

func DestroyQueryPool

func DestroyQueryPool(device Device, queryPool QueryPool, pAllocator *AllocationCallbacks)

DestroyQueryPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyQueryPool.html

func DestroyRenderPass

func DestroyRenderPass(device Device, renderPass RenderPass, pAllocator *AllocationCallbacks)

DestroyRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyRenderPass.html

func DestroySampler

func DestroySampler(device Device, sampler Sampler, pAllocator *AllocationCallbacks)

DestroySampler function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroySampler.html

func DestroySemaphore

func DestroySemaphore(device Device, semaphore Semaphore, pAllocator *AllocationCallbacks)

DestroySemaphore function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroySemaphore.html

func DestroyShaderModule

func DestroyShaderModule(device Device, shaderModule ShaderModule, pAllocator *AllocationCallbacks)

DestroyShaderModule function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDestroyShaderModule.html

func DestroySurface

func DestroySurface(instance Instance, surface Surface, pAllocator *AllocationCallbacks)

DestroySurface function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDestroySurfaceKHR

func DestroySwapchain

func DestroySwapchain(device Device, swapchain Swapchain, pAllocator *AllocationCallbacks)

DestroySwapchain function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDestroySwapchainKHR

func Error

func Error(result Result) error

func FindMemoryTypeIndex

func FindMemoryTypeIndex(dev PhysicalDevice,
	typeBits uint32, reqMask MemoryPropertyFlagBits) (uint32, bool)

deprecated

func FreeCommandBuffers

func FreeCommandBuffers(device Device, commandPool CommandPool, commandBufferCount uint32, pCommandBuffers []CommandBuffer)

FreeCommandBuffers function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFreeCommandBuffers.html

func FreeMemory

func FreeMemory(device Device, memory DeviceMemory, pAllocator *AllocationCallbacks)

FreeMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFreeMemory.html

func GetBufferMemoryRequirements

func GetBufferMemoryRequirements(device Device, buffer Buffer, pMemoryRequirements *MemoryRequirements)

GetBufferMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetBufferMemoryRequirements.html

func GetDeviceMemoryCommitment

func GetDeviceMemoryCommitment(device Device, memory DeviceMemory, pCommittedMemoryInBytes *DeviceSize)

GetDeviceMemoryCommitment function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetDeviceMemoryCommitment.html

func GetDeviceQueue

func GetDeviceQueue(device Device, queueFamilyIndex uint32, queueIndex uint32, pQueue *Queue)

GetDeviceQueue function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetDeviceQueue.html

func GetImageMemoryRequirements

func GetImageMemoryRequirements(device Device, image Image, pMemoryRequirements *MemoryRequirements)

GetImageMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageMemoryRequirements.html

func GetImageSparseMemoryRequirements

func GetImageSparseMemoryRequirements(device Device, image Image, pSparseMemoryRequirementCount []uint32, pSparseMemoryRequirements []SparseImageMemoryRequirements)

GetImageSparseMemoryRequirements function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageSparseMemoryRequirements.html

func GetImageSubresourceLayout

func GetImageSubresourceLayout(device Device, image Image, pSubresource *ImageSubresource, pLayout *SubresourceLayout)

GetImageSubresourceLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetImageSubresourceLayout.html

func GetPhysicalDeviceFeatures

func GetPhysicalDeviceFeatures(physicalDevice PhysicalDevice, pFeatures *PhysicalDeviceFeatures)

GetPhysicalDeviceFeatures function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceFeatures.html

func GetPhysicalDeviceFormatProperties

func GetPhysicalDeviceFormatProperties(physicalDevice PhysicalDevice, format Format, pFormatProperties *FormatProperties)

GetPhysicalDeviceFormatProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceFormatProperties.html

func GetPhysicalDeviceMemoryProperties

func GetPhysicalDeviceMemoryProperties(physicalDevice PhysicalDevice, pMemoryProperties *PhysicalDeviceMemoryProperties)

GetPhysicalDeviceMemoryProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceMemoryProperties.html

func GetPhysicalDeviceProperties

func GetPhysicalDeviceProperties(physicalDevice PhysicalDevice, pProperties *PhysicalDeviceProperties)

GetPhysicalDeviceProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceProperties.html

func GetPhysicalDeviceQueueFamilyProperties

func GetPhysicalDeviceQueueFamilyProperties(physicalDevice PhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties []QueueFamilyProperties)

GetPhysicalDeviceQueueFamilyProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html

func GetPhysicalDeviceSparseImageFormatProperties

func GetPhysicalDeviceSparseImageFormatProperties(physicalDevice PhysicalDevice, format Format, kind ImageType, samples SampleCountFlagBits, usage ImageUsageFlags, tiling ImageTiling, pPropertyCount []uint32, pProperties []SparseImageFormatProperties)

GetPhysicalDeviceSparseImageFormatProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html

func GetRenderAreaGranularity

func GetRenderAreaGranularity(device Device, renderPass RenderPass, pGranularity *Extent2D)

GetRenderAreaGranularity function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetRenderAreaGranularity.html

func Init

func Init() error

Init checks for Vulkan support on the platform and obtains PFNs for global Vulkan API functions. Either SetGetInstanceProcAddr or SetDefaultGetInstanceProcAddr must have been called prior to calling Init.

func InitInstance

func InitInstance(instance Instance) error

InitInstance obtains instance PFNs for Vulkan API functions, this is necessary on OS X using MoltenVK, but for the other platforms it's an option.

func MakeVersion

func MakeVersion(major, minor, patch int) uint32

func Memcopy

func Memcopy(dst unsafe.Pointer, src []byte) int

Memcopy is like a Go's built-in copy function, it copies data from src slice, but into a destination pointer. Useful to copy data into device memory.

func Memview

func Memview(data []byte) unsafe.Pointer

Memview returns a pointer to user data, so Vulkan runtime in userspace can peek.

func SetDefaultGetInstanceProcAddr

func SetDefaultGetInstanceProcAddr() error

SetDefaultGetInstanceProcAddr looks for the Vulkan library in the system-specific default location and returns an error if it cannot be located. This function functions the same way as SetGetInstanceProcAddr but without relying on a separate windowing library to load Vulkan.

func SetGetInstanceProcAddr

func SetGetInstanceProcAddr(getProcAddr unsafe.Pointer)

SetGetInstanceProcAddr sets the GetInstanceProcAddr function pointer used to load Vulkan symbols. The function can be retrieved from GLFW using GetInstanceProcAddress or from SDL2 using VulkanGetVkGetInstanceProcAddr. This function must be called before Init().

func ToString

func ToString(buf []byte) string

func UnmapMemory

func UnmapMemory(device Device, memory DeviceMemory)

UnmapMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkUnmapMemory.html

func UpdateDescriptorSets

func UpdateDescriptorSets(device Device, descriptorWriteCount uint32, pDescriptorWrites []WriteDescriptorSet, descriptorCopyCount uint32, pDescriptorCopies []CopyDescriptorSet)

UpdateDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkUpdateDescriptorSets.html

Types

type AccelerationStructureCreateInfoNVX

type AccelerationStructureCreateInfoNVX struct {
	SType         StructureType
	PNext         unsafe.Pointer
	Type          AccelerationStructureTypeNVX
	Flags         BuildAccelerationStructureFlagsNVX
	CompactedSize DeviceSize
	InstanceCount uint32
	GeometryCount uint32
	PGeometries   []GeometryNVX
	// contains filtered or unexported fields
}

AccelerationStructureCreateInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureCreateInfoNVX

func NewAccelerationStructureCreateInfoNVXRef

func NewAccelerationStructureCreateInfoNVXRef(ref unsafe.Pointer) *AccelerationStructureCreateInfoNVX

NewAccelerationStructureCreateInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AccelerationStructureCreateInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AccelerationStructureCreateInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AccelerationStructureCreateInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AccelerationStructureCreateInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AccelerationStructureCreateInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AccelerationStructureMemoryRequirementsInfoNVX

type AccelerationStructureMemoryRequirementsInfoNVX struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	AccelerationStructure AccelerationStructureNVX
	// contains filtered or unexported fields
}

AccelerationStructureMemoryRequirementsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureMemoryRequirementsInfoNVX

func NewAccelerationStructureMemoryRequirementsInfoNVXRef

func NewAccelerationStructureMemoryRequirementsInfoNVXRef(ref unsafe.Pointer) *AccelerationStructureMemoryRequirementsInfoNVX

NewAccelerationStructureMemoryRequirementsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AccelerationStructureMemoryRequirementsInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AccelerationStructureMemoryRequirementsInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AccelerationStructureMemoryRequirementsInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AccelerationStructureTypeNVX

type AccelerationStructureTypeNVX int32

AccelerationStructureTypeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureTypeNVX

const (
	AccelerationStructureTypeTopLevelNvx    AccelerationStructureTypeNVX = iota
	AccelerationStructureTypeBottomLevelNvx AccelerationStructureTypeNVX = 1
	AccelerationStructureTypeBeginRangeNvx  AccelerationStructureTypeNVX = 0
	AccelerationStructureTypeEndRangeNvx    AccelerationStructureTypeNVX = 1
	AccelerationStructureTypeRangeSizeNvx   AccelerationStructureTypeNVX = 2
	AccelerationStructureTypeMaxEnumNvx     AccelerationStructureTypeNVX = 2147483647
)

AccelerationStructureTypeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkAccelerationStructureTypeNVX

type AccessFlagBits

type AccessFlagBits int32

AccessFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlagBits.html

const (
	AccessIndirectCommandReadBit            AccessFlagBits = 1
	AccessIndexReadBit                      AccessFlagBits = 2
	AccessVertexAttributeReadBit            AccessFlagBits = 4
	AccessUniformReadBit                    AccessFlagBits = 8
	AccessInputAttachmentReadBit            AccessFlagBits = 16
	AccessShaderReadBit                     AccessFlagBits = 32
	AccessShaderWriteBit                    AccessFlagBits = 64
	AccessColorAttachmentReadBit            AccessFlagBits = 128
	AccessColorAttachmentWriteBit           AccessFlagBits = 256
	AccessDepthStencilAttachmentReadBit     AccessFlagBits = 512
	AccessDepthStencilAttachmentWriteBit    AccessFlagBits = 1024
	AccessTransferReadBit                   AccessFlagBits = 2048
	AccessTransferWriteBit                  AccessFlagBits = 4096
	AccessHostReadBit                       AccessFlagBits = 8192
	AccessHostWriteBit                      AccessFlagBits = 16384
	AccessMemoryReadBit                     AccessFlagBits = 32768
	AccessMemoryWriteBit                    AccessFlagBits = 65536
	AccessTransformFeedbackWriteBit         AccessFlagBits = 33554432
	AccessTransformFeedbackCounterReadBit   AccessFlagBits = 67108864
	AccessTransformFeedbackCounterWriteBit  AccessFlagBits = 134217728
	AccessConditionalRenderingReadBit       AccessFlagBits = 1048576
	AccessCommandProcessReadBitNvx          AccessFlagBits = 131072
	AccessCommandProcessWriteBitNvx         AccessFlagBits = 262144
	AccessColorAttachmentReadNoncoherentBit AccessFlagBits = 524288
	AccessShadingRateImageReadBitNv         AccessFlagBits = 8388608
	AccessAccelerationStructureReadBitNvx   AccessFlagBits = 2097152
	AccessAccelerationStructureWriteBitNvx  AccessFlagBits = 4194304
	AccessFlagBitsMaxEnum                   AccessFlagBits = 2147483647
)

AccessFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAccessFlagBits.html

type AcquireNextImageInfo

type AcquireNextImageInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Swapchain  Swapchain
	Timeout    uint64
	Semaphore  Semaphore
	Fence      Fence
	DeviceMask uint32
	// contains filtered or unexported fields
}

AcquireNextImageInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAcquireNextImageInfoKHR

func NewAcquireNextImageInfoRef

func NewAcquireNextImageInfoRef(ref unsafe.Pointer) *AcquireNextImageInfo

NewAcquireNextImageInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AcquireNextImageInfo) Deref

func (x *AcquireNextImageInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AcquireNextImageInfo) Free

func (x *AcquireNextImageInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AcquireNextImageInfo) PassRef

func (x *AcquireNextImageInfo) PassRef() (*C.VkAcquireNextImageInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AcquireNextImageInfo) PassValue

func (x AcquireNextImageInfo) PassValue() (C.VkAcquireNextImageInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AcquireNextImageInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AllocationCallbacks

type AllocationCallbacks C.VkAllocationCallbacks

AllocationCallbacks as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAllocationCallbacks.html

func NewAllocationCallbacks

func NewAllocationCallbacks() *AllocationCallbacks

NewAllocationCallbacks allocates a new C object of this type and converts the reference into a raw struct reference without wrapping.

func NewAllocationCallbacksRef

func NewAllocationCallbacksRef(ref unsafe.Pointer) *AllocationCallbacks

NewAllocationCallbacksRef converts the C object reference into a raw struct reference without wrapping.

func (*AllocationCallbacks) Free

func (x *AllocationCallbacks) Free()

Free cleanups the referenced memory using C free.

func (*AllocationCallbacks) PassRef

PassRef returns a reference to C object as it is or allocates a new C object of this type.

func (*AllocationCallbacks) Ref

Ref returns a reference to C object as it is.

type ApplicationInfo

type ApplicationInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	PApplicationName   string
	ApplicationVersion uint32
	PEngineName        string
	EngineVersion      uint32
	ApiVersion         uint32
	// contains filtered or unexported fields
}

ApplicationInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkApplicationInfo.html

func NewApplicationInfoRef

func NewApplicationInfoRef(ref unsafe.Pointer) *ApplicationInfo

NewApplicationInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ApplicationInfo) Deref

func (x *ApplicationInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ApplicationInfo) Free

func (x *ApplicationInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ApplicationInfo) PassRef

func (x *ApplicationInfo) PassRef() (*C.VkApplicationInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ApplicationInfo) PassValue

func (x ApplicationInfo) PassValue() (C.VkApplicationInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ApplicationInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescription

type AttachmentDescription struct {
	Flags          AttachmentDescriptionFlags
	Format         Format
	Samples        SampleCountFlagBits
	LoadOp         AttachmentLoadOp
	StoreOp        AttachmentStoreOp
	StencilLoadOp  AttachmentLoadOp
	StencilStoreOp AttachmentStoreOp
	InitialLayout  ImageLayout
	FinalLayout    ImageLayout
	// contains filtered or unexported fields
}

AttachmentDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescription.html

func NewAttachmentDescriptionRef

func NewAttachmentDescriptionRef(ref unsafe.Pointer) *AttachmentDescription

NewAttachmentDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentDescription) Deref

func (x *AttachmentDescription) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentDescription) Free

func (x *AttachmentDescription) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentDescription) PassRef

func (x *AttachmentDescription) PassRef() (*C.VkAttachmentDescription, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentDescription) PassValue

func (x AttachmentDescription) PassValue() (C.VkAttachmentDescription, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentDescription) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescription2

type AttachmentDescription2 struct {
	SType          StructureType
	PNext          unsafe.Pointer
	Flags          AttachmentDescriptionFlags
	Format         Format
	Samples        SampleCountFlagBits
	LoadOp         AttachmentLoadOp
	StoreOp        AttachmentStoreOp
	StencilLoadOp  AttachmentLoadOp
	StencilStoreOp AttachmentStoreOp
	InitialLayout  ImageLayout
	FinalLayout    ImageLayout
	// contains filtered or unexported fields
}

AttachmentDescription2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAttachmentDescription2KHR

func NewAttachmentDescription2Ref

func NewAttachmentDescription2Ref(ref unsafe.Pointer) *AttachmentDescription2

NewAttachmentDescription2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentDescription2) Deref

func (x *AttachmentDescription2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentDescription2) Free

func (x *AttachmentDescription2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentDescription2) PassRef

func (x *AttachmentDescription2) PassRef() (*C.VkAttachmentDescription2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentDescription2) PassValue

func (x AttachmentDescription2) PassValue() (C.VkAttachmentDescription2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentDescription2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentDescriptionFlagBits

type AttachmentDescriptionFlagBits int32

AttachmentDescriptionFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlagBits.html

const (
	AttachmentDescriptionMayAliasBit     AttachmentDescriptionFlagBits = 1
	AttachmentDescriptionFlagBitsMaxEnum AttachmentDescriptionFlagBits = 2147483647
)

AttachmentDescriptionFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlagBits.html

type AttachmentDescriptionFlags

type AttachmentDescriptionFlags uint32

AttachmentDescriptionFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentDescriptionFlags.html

type AttachmentLoadOp

type AttachmentLoadOp int32

AttachmentLoadOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentLoadOp.html

const (
	AttachmentLoadOpLoad       AttachmentLoadOp = iota
	AttachmentLoadOpClear      AttachmentLoadOp = 1
	AttachmentLoadOpDontCare   AttachmentLoadOp = 2
	AttachmentLoadOpBeginRange AttachmentLoadOp = 0
	AttachmentLoadOpEndRange   AttachmentLoadOp = 2
	AttachmentLoadOpRangeSize  AttachmentLoadOp = 3
	AttachmentLoadOpMaxEnum    AttachmentLoadOp = 2147483647
)

AttachmentLoadOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentLoadOp.html

type AttachmentReference

type AttachmentReference struct {
	Attachment uint32
	Layout     ImageLayout
	// contains filtered or unexported fields
}

AttachmentReference as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentReference.html

func NewAttachmentReferenceRef

func NewAttachmentReferenceRef(ref unsafe.Pointer) *AttachmentReference

NewAttachmentReferenceRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentReference) Deref

func (x *AttachmentReference) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentReference) Free

func (x *AttachmentReference) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentReference) PassRef

func (x *AttachmentReference) PassRef() (*C.VkAttachmentReference, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentReference) PassValue

func (x AttachmentReference) PassValue() (C.VkAttachmentReference, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentReference) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentReference2

type AttachmentReference2 struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Attachment uint32
	Layout     ImageLayout
	AspectMask ImageAspectFlags
	// contains filtered or unexported fields
}

AttachmentReference2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAttachmentReference2KHR

func NewAttachmentReference2Ref

func NewAttachmentReference2Ref(ref unsafe.Pointer) *AttachmentReference2

NewAttachmentReference2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentReference2) Deref

func (x *AttachmentReference2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentReference2) Free

func (x *AttachmentReference2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentReference2) PassRef

func (x *AttachmentReference2) PassRef() (*C.VkAttachmentReference2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentReference2) PassValue

func (x AttachmentReference2) PassValue() (C.VkAttachmentReference2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentReference2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentSampleLocations

type AttachmentSampleLocations struct {
	AttachmentIndex     uint32
	SampleLocationsInfo SampleLocationsInfo
	// contains filtered or unexported fields
}

AttachmentSampleLocations as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentSampleLocationsEXT.html

func NewAttachmentSampleLocationsRef

func NewAttachmentSampleLocationsRef(ref unsafe.Pointer) *AttachmentSampleLocations

NewAttachmentSampleLocationsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*AttachmentSampleLocations) Deref

func (x *AttachmentSampleLocations) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*AttachmentSampleLocations) Free

func (x *AttachmentSampleLocations) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*AttachmentSampleLocations) PassRef

func (x *AttachmentSampleLocations) PassRef() (*C.VkAttachmentSampleLocationsEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (AttachmentSampleLocations) PassValue

func (x AttachmentSampleLocations) PassValue() (C.VkAttachmentSampleLocationsEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*AttachmentSampleLocations) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type AttachmentStoreOp

type AttachmentStoreOp int32

AttachmentStoreOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentStoreOp.html

const (
	AttachmentStoreOpStore      AttachmentStoreOp = iota
	AttachmentStoreOpDontCare   AttachmentStoreOp = 1
	AttachmentStoreOpBeginRange AttachmentStoreOp = 0
	AttachmentStoreOpEndRange   AttachmentStoreOp = 1
	AttachmentStoreOpRangeSize  AttachmentStoreOp = 2
	AttachmentStoreOpMaxEnum    AttachmentStoreOp = 2147483647
)

AttachmentStoreOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkAttachmentStoreOp.html

type BaseInStructure

type BaseInStructure struct {
	SType StructureType
	PNext []BaseInStructure
	// contains filtered or unexported fields
}

BaseInStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseInStructure.html

func NewBaseInStructureRef

func NewBaseInStructureRef(ref unsafe.Pointer) *BaseInStructure

NewBaseInStructureRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BaseInStructure) Deref

func (x *BaseInStructure) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BaseInStructure) Free

func (x *BaseInStructure) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BaseInStructure) PassRef

func (x *BaseInStructure) PassRef() (*C.VkBaseInStructure, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BaseInStructure) PassValue

func (x BaseInStructure) PassValue() (C.VkBaseInStructure, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BaseInStructure) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BaseOutStructure

type BaseOutStructure struct {
	SType StructureType
	PNext []BaseOutStructure
	// contains filtered or unexported fields
}

BaseOutStructure as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBaseOutStructure.html

func NewBaseOutStructureRef

func NewBaseOutStructureRef(ref unsafe.Pointer) *BaseOutStructure

NewBaseOutStructureRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BaseOutStructure) Deref

func (x *BaseOutStructure) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BaseOutStructure) Free

func (x *BaseOutStructure) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BaseOutStructure) PassRef

func (x *BaseOutStructure) PassRef() (*C.VkBaseOutStructure, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BaseOutStructure) PassValue

func (x BaseOutStructure) PassValue() (C.VkBaseOutStructure, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BaseOutStructure) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindAccelerationStructureMemoryInfoNVX

type BindAccelerationStructureMemoryInfoNVX struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	AccelerationStructure AccelerationStructureNVX
	Memory                DeviceMemory
	MemoryOffset          DeviceSize
	DeviceIndexCount      uint32
	PDeviceIndices        []uint32
	// contains filtered or unexported fields
}

BindAccelerationStructureMemoryInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBindAccelerationStructureMemoryInfoNVX

func NewBindAccelerationStructureMemoryInfoNVXRef

func NewBindAccelerationStructureMemoryInfoNVXRef(ref unsafe.Pointer) *BindAccelerationStructureMemoryInfoNVX

NewBindAccelerationStructureMemoryInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindAccelerationStructureMemoryInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindAccelerationStructureMemoryInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindAccelerationStructureMemoryInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindAccelerationStructureMemoryInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindAccelerationStructureMemoryInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindBufferMemoryDeviceGroupInfo

type BindBufferMemoryDeviceGroupInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	DeviceIndexCount uint32
	PDeviceIndices   []uint32
	// contains filtered or unexported fields
}

BindBufferMemoryDeviceGroupInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindBufferMemoryDeviceGroupInfo.html

func NewBindBufferMemoryDeviceGroupInfoRef

func NewBindBufferMemoryDeviceGroupInfoRef(ref unsafe.Pointer) *BindBufferMemoryDeviceGroupInfo

NewBindBufferMemoryDeviceGroupInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindBufferMemoryDeviceGroupInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindBufferMemoryDeviceGroupInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindBufferMemoryDeviceGroupInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindBufferMemoryDeviceGroupInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindBufferMemoryDeviceGroupInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindBufferMemoryInfo

type BindBufferMemoryInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	Buffer       Buffer
	Memory       DeviceMemory
	MemoryOffset DeviceSize
	// contains filtered or unexported fields
}

BindBufferMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindBufferMemoryInfo.html

func NewBindBufferMemoryInfoRef

func NewBindBufferMemoryInfoRef(ref unsafe.Pointer) *BindBufferMemoryInfo

NewBindBufferMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindBufferMemoryInfo) Deref

func (x *BindBufferMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindBufferMemoryInfo) Free

func (x *BindBufferMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindBufferMemoryInfo) PassRef

func (x *BindBufferMemoryInfo) PassRef() (*C.VkBindBufferMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindBufferMemoryInfo) PassValue

func (x BindBufferMemoryInfo) PassValue() (C.VkBindBufferMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindBufferMemoryInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemoryDeviceGroupInfo

type BindImageMemoryDeviceGroupInfo struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	DeviceIndexCount             uint32
	PDeviceIndices               []uint32
	SplitInstanceBindRegionCount uint32
	PSplitInstanceBindRegions    []Rect2D
	// contains filtered or unexported fields
}

BindImageMemoryDeviceGroupInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImageMemoryDeviceGroupInfo.html

func NewBindImageMemoryDeviceGroupInfoRef

func NewBindImageMemoryDeviceGroupInfoRef(ref unsafe.Pointer) *BindImageMemoryDeviceGroupInfo

NewBindImageMemoryDeviceGroupInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemoryDeviceGroupInfo) Deref

func (x *BindImageMemoryDeviceGroupInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemoryDeviceGroupInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemoryDeviceGroupInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemoryDeviceGroupInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemoryDeviceGroupInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemoryInfo

type BindImageMemoryInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	Image        Image
	Memory       DeviceMemory
	MemoryOffset DeviceSize
	// contains filtered or unexported fields
}

BindImageMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImageMemoryInfo.html

func NewBindImageMemoryInfoRef

func NewBindImageMemoryInfoRef(ref unsafe.Pointer) *BindImageMemoryInfo

NewBindImageMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemoryInfo) Deref

func (x *BindImageMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemoryInfo) Free

func (x *BindImageMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemoryInfo) PassRef

func (x *BindImageMemoryInfo) PassRef() (*C.VkBindImageMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemoryInfo) PassValue

func (x BindImageMemoryInfo) PassValue() (C.VkBindImageMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemoryInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImageMemorySwapchainInfo

type BindImageMemorySwapchainInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Swapchain  Swapchain
	ImageIndex uint32
	// contains filtered or unexported fields
}

BindImageMemorySwapchainInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkBindImageMemorySwapchainInfoKHR

func NewBindImageMemorySwapchainInfoRef

func NewBindImageMemorySwapchainInfoRef(ref unsafe.Pointer) *BindImageMemorySwapchainInfo

NewBindImageMemorySwapchainInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImageMemorySwapchainInfo) Deref

func (x *BindImageMemorySwapchainInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImageMemorySwapchainInfo) Free

func (x *BindImageMemorySwapchainInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImageMemorySwapchainInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImageMemorySwapchainInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImageMemorySwapchainInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindImagePlaneMemoryInfo

type BindImagePlaneMemoryInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	PlaneAspect ImageAspectFlagBits
	// contains filtered or unexported fields
}

BindImagePlaneMemoryInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindImagePlaneMemoryInfo.html

func NewBindImagePlaneMemoryInfoRef

func NewBindImagePlaneMemoryInfoRef(ref unsafe.Pointer) *BindImagePlaneMemoryInfo

NewBindImagePlaneMemoryInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindImagePlaneMemoryInfo) Deref

func (x *BindImagePlaneMemoryInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindImagePlaneMemoryInfo) Free

func (x *BindImagePlaneMemoryInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindImagePlaneMemoryInfo) PassRef

func (x *BindImagePlaneMemoryInfo) PassRef() (*C.VkBindImagePlaneMemoryInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindImagePlaneMemoryInfo) PassValue

func (x BindImagePlaneMemoryInfo) PassValue() (C.VkBindImagePlaneMemoryInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindImagePlaneMemoryInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BindSparseInfo

type BindSparseInfo struct {
	SType                StructureType
	PNext                unsafe.Pointer
	WaitSemaphoreCount   uint32
	PWaitSemaphores      []Semaphore
	BufferBindCount      uint32
	PBufferBinds         []SparseBufferMemoryBindInfo
	ImageOpaqueBindCount uint32
	PImageOpaqueBinds    []SparseImageOpaqueMemoryBindInfo
	ImageBindCount       uint32
	PImageBinds          []SparseImageMemoryBindInfo
	SignalSemaphoreCount uint32
	PSignalSemaphores    []Semaphore
	// contains filtered or unexported fields
}

BindSparseInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBindSparseInfo.html

func NewBindSparseInfoRef

func NewBindSparseInfoRef(ref unsafe.Pointer) *BindSparseInfo

NewBindSparseInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BindSparseInfo) Deref

func (x *BindSparseInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BindSparseInfo) Free

func (x *BindSparseInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BindSparseInfo) PassRef

func (x *BindSparseInfo) PassRef() (*C.VkBindSparseInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BindSparseInfo) PassValue

func (x BindSparseInfo) PassValue() (C.VkBindSparseInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BindSparseInfo) Ref

func (x *BindSparseInfo) Ref() *C.VkBindSparseInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type BlendFactor

type BlendFactor int32

BlendFactor as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendFactor.html

const (
	BlendFactorZero                  BlendFactor = iota
	BlendFactorOne                   BlendFactor = 1
	BlendFactorSrcColor              BlendFactor = 2
	BlendFactorOneMinusSrcColor      BlendFactor = 3
	BlendFactorDstColor              BlendFactor = 4
	BlendFactorOneMinusDstColor      BlendFactor = 5
	BlendFactorSrcAlpha              BlendFactor = 6
	BlendFactorOneMinusSrcAlpha      BlendFactor = 7
	BlendFactorDstAlpha              BlendFactor = 8
	BlendFactorOneMinusDstAlpha      BlendFactor = 9
	BlendFactorConstantColor         BlendFactor = 10
	BlendFactorOneMinusConstantColor BlendFactor = 11
	BlendFactorConstantAlpha         BlendFactor = 12
	BlendFactorOneMinusConstantAlpha BlendFactor = 13
	BlendFactorSrcAlphaSaturate      BlendFactor = 14
	BlendFactorSrc1Color             BlendFactor = 15
	BlendFactorOneMinusSrc1Color     BlendFactor = 16
	BlendFactorSrc1Alpha             BlendFactor = 17
	BlendFactorOneMinusSrc1Alpha     BlendFactor = 18
	BlendFactorBeginRange            BlendFactor = 0
	BlendFactorEndRange              BlendFactor = 18
	BlendFactorRangeSize             BlendFactor = 19
	BlendFactorMaxEnum               BlendFactor = 2147483647
)

BlendFactor enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendFactor.html

type BlendOp

type BlendOp int32

BlendOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOp.html

const (
	BlendOpAdd              BlendOp = iota
	BlendOpSubtract         BlendOp = 1
	BlendOpReverseSubtract  BlendOp = 2
	BlendOpMin              BlendOp = 3
	BlendOpMax              BlendOp = 4
	BlendOpZero             BlendOp = 1000148000
	BlendOpSrc              BlendOp = 1000148001
	BlendOpDst              BlendOp = 1000148002
	BlendOpSrcOver          BlendOp = 1000148003
	BlendOpDstOver          BlendOp = 1000148004
	BlendOpSrcIn            BlendOp = 1000148005
	BlendOpDstIn            BlendOp = 1000148006
	BlendOpSrcOut           BlendOp = 1000148007
	BlendOpDstOut           BlendOp = 1000148008
	BlendOpSrcAtop          BlendOp = 1000148009
	BlendOpDstAtop          BlendOp = 1000148010
	BlendOpXor              BlendOp = 1000148011
	BlendOpMultiply         BlendOp = 1000148012
	BlendOpScreen           BlendOp = 1000148013
	BlendOpOverlay          BlendOp = 1000148014
	BlendOpDarken           BlendOp = 1000148015
	BlendOpLighten          BlendOp = 1000148016
	BlendOpColordodge       BlendOp = 1000148017
	BlendOpColorburn        BlendOp = 1000148018
	BlendOpHardlight        BlendOp = 1000148019
	BlendOpSoftlight        BlendOp = 1000148020
	BlendOpDifference       BlendOp = 1000148021
	BlendOpExclusion        BlendOp = 1000148022
	BlendOpInvert           BlendOp = 1000148023
	BlendOpInvertRgb        BlendOp = 1000148024
	BlendOpLineardodge      BlendOp = 1000148025
	BlendOpLinearburn       BlendOp = 1000148026
	BlendOpVividlight       BlendOp = 1000148027
	BlendOpLinearlight      BlendOp = 1000148028
	BlendOpPinlight         BlendOp = 1000148029
	BlendOpHardmix          BlendOp = 1000148030
	BlendOpHslHue           BlendOp = 1000148031
	BlendOpHslSaturation    BlendOp = 1000148032
	BlendOpHslColor         BlendOp = 1000148033
	BlendOpHslLuminosity    BlendOp = 1000148034
	BlendOpPlus             BlendOp = 1000148035
	BlendOpPlusClamped      BlendOp = 1000148036
	BlendOpPlusClampedAlpha BlendOp = 1000148037
	BlendOpPlusDarker       BlendOp = 1000148038
	BlendOpMinus            BlendOp = 1000148039
	BlendOpMinusClamped     BlendOp = 1000148040
	BlendOpContrast         BlendOp = 1000148041
	BlendOpInvertOvg        BlendOp = 1000148042
	BlendOpRed              BlendOp = 1000148043
	BlendOpGreen            BlendOp = 1000148044
	BlendOpBlue             BlendOp = 1000148045
	BlendOpBeginRange       BlendOp = 0
	BlendOpEndRange         BlendOp = 4
	BlendOpRangeSize        BlendOp = 5
	BlendOpMaxEnum          BlendOp = 2147483647
)

BlendOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOp.html

type BlendOverlap

type BlendOverlap int32

BlendOverlap as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOverlapEXT.html

const (
	BlendOverlapUncorrelated BlendOverlap = iota
	BlendOverlapDisjoint     BlendOverlap = 1
	BlendOverlapConjoint     BlendOverlap = 2
	BlendOverlapBeginRange   BlendOverlap = 0
	BlendOverlapEndRange     BlendOverlap = 2
	BlendOverlapRangeSize    BlendOverlap = 3
	BlendOverlapMaxEnum      BlendOverlap = 2147483647
)

BlendOverlap enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBlendOverlapEXT.html

type Bool32

type Bool32 uint32

Bool32 type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBool32.html

func (Bool32) B

func (b Bool32) B() bool

type BorderColor

type BorderColor int32

BorderColor as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBorderColor.html

const (
	BorderColorFloatTransparentBlack BorderColor = iota
	BorderColorIntTransparentBlack   BorderColor = 1
	BorderColorFloatOpaqueBlack      BorderColor = 2
	BorderColorIntOpaqueBlack        BorderColor = 3
	BorderColorFloatOpaqueWhite      BorderColor = 4
	BorderColorIntOpaqueWhite        BorderColor = 5
	BorderColorBeginRange            BorderColor = 0
	BorderColorEndRange              BorderColor = 5
	BorderColorRangeSize             BorderColor = 6
	BorderColorMaxEnum               BorderColor = 2147483647
)

BorderColor enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBorderColor.html

type BufferCopy

type BufferCopy struct {
	SrcOffset DeviceSize
	DstOffset DeviceSize
	Size      DeviceSize
	// contains filtered or unexported fields
}

BufferCopy as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCopy.html

func NewBufferCopyRef

func NewBufferCopyRef(ref unsafe.Pointer) *BufferCopy

NewBufferCopyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferCopy) Deref

func (x *BufferCopy) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferCopy) Free

func (x *BufferCopy) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferCopy) PassRef

func (x *BufferCopy) PassRef() (*C.VkBufferCopy, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferCopy) PassValue

func (x BufferCopy) PassValue() (C.VkBufferCopy, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferCopy) Ref

func (x *BufferCopy) Ref() *C.VkBufferCopy

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferCreateFlagBits

type BufferCreateFlagBits int32

BufferCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlagBits.html

const (
	BufferCreateSparseBindingBit   BufferCreateFlagBits = 1
	BufferCreateSparseResidencyBit BufferCreateFlagBits = 2
	BufferCreateSparseAliasedBit   BufferCreateFlagBits = 4
	BufferCreateProtectedBit       BufferCreateFlagBits = 8
	BufferCreateFlagBitsMaxEnum    BufferCreateFlagBits = 2147483647
)

BufferCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateFlagBits.html

type BufferCreateInfo

type BufferCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 BufferCreateFlags
	Size                  DeviceSize
	Usage                 BufferUsageFlags
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	PQueueFamilyIndices   []uint32
	// contains filtered or unexported fields
}

BufferCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferCreateInfo.html

func NewBufferCreateInfoRef

func NewBufferCreateInfoRef(ref unsafe.Pointer) *BufferCreateInfo

NewBufferCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferCreateInfo) Deref

func (x *BufferCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferCreateInfo) Free

func (x *BufferCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferCreateInfo) PassRef

func (x *BufferCreateInfo) PassRef() (*C.VkBufferCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferCreateInfo) PassValue

func (x BufferCreateInfo) PassValue() (C.VkBufferCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferImageCopy

type BufferImageCopy struct {
	BufferOffset      DeviceSize
	BufferRowLength   uint32
	BufferImageHeight uint32
	ImageSubresource  ImageSubresourceLayers
	ImageOffset       Offset3D
	ImageExtent       Extent3D
	// contains filtered or unexported fields
}

BufferImageCopy as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferImageCopy.html

func NewBufferImageCopyRef

func NewBufferImageCopyRef(ref unsafe.Pointer) *BufferImageCopy

NewBufferImageCopyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferImageCopy) Deref

func (x *BufferImageCopy) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferImageCopy) Free

func (x *BufferImageCopy) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferImageCopy) PassRef

func (x *BufferImageCopy) PassRef() (*C.VkBufferImageCopy, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferImageCopy) PassValue

func (x BufferImageCopy) PassValue() (C.VkBufferImageCopy, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferImageCopy) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferMemoryBarrier

type BufferMemoryBarrier struct {
	SType               StructureType
	PNext               unsafe.Pointer
	SrcAccessMask       AccessFlags
	DstAccessMask       AccessFlags
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Buffer              Buffer
	Offset              DeviceSize
	Size                DeviceSize
	// contains filtered or unexported fields
}

BufferMemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferMemoryBarrier.html

func NewBufferMemoryBarrierRef

func NewBufferMemoryBarrierRef(ref unsafe.Pointer) *BufferMemoryBarrier

NewBufferMemoryBarrierRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferMemoryBarrier) Deref

func (x *BufferMemoryBarrier) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferMemoryBarrier) Free

func (x *BufferMemoryBarrier) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferMemoryBarrier) PassRef

func (x *BufferMemoryBarrier) PassRef() (*C.VkBufferMemoryBarrier, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferMemoryBarrier) PassValue

func (x BufferMemoryBarrier) PassValue() (C.VkBufferMemoryBarrier, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferMemoryBarrier) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferMemoryRequirementsInfo2

type BufferMemoryRequirementsInfo2 struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Buffer Buffer
	// contains filtered or unexported fields
}

BufferMemoryRequirementsInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferMemoryRequirementsInfo2.html

func NewBufferMemoryRequirementsInfo2Ref

func NewBufferMemoryRequirementsInfo2Ref(ref unsafe.Pointer) *BufferMemoryRequirementsInfo2

NewBufferMemoryRequirementsInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferMemoryRequirementsInfo2) Deref

func (x *BufferMemoryRequirementsInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferMemoryRequirementsInfo2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferMemoryRequirementsInfo2) PassRef

func (x *BufferMemoryRequirementsInfo2) PassRef() (*C.VkBufferMemoryRequirementsInfo2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferMemoryRequirementsInfo2) PassValue

func (x BufferMemoryRequirementsInfo2) PassValue() (C.VkBufferMemoryRequirementsInfo2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferMemoryRequirementsInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BufferUsageFlagBits

type BufferUsageFlagBits int32

BufferUsageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlagBits.html

const (
	BufferUsageTransferSrcBit                    BufferUsageFlagBits = 1
	BufferUsageTransferDstBit                    BufferUsageFlagBits = 2
	BufferUsageUniformTexelBufferBit             BufferUsageFlagBits = 4
	BufferUsageStorageTexelBufferBit             BufferUsageFlagBits = 8
	BufferUsageUniformBufferBit                  BufferUsageFlagBits = 16
	BufferUsageStorageBufferBit                  BufferUsageFlagBits = 32
	BufferUsageIndexBufferBit                    BufferUsageFlagBits = 64
	BufferUsageVertexBufferBit                   BufferUsageFlagBits = 128
	BufferUsageIndirectBufferBit                 BufferUsageFlagBits = 256
	BufferUsageTransformFeedbackBufferBit        BufferUsageFlagBits = 2048
	BufferUsageTransformFeedbackCounterBufferBit BufferUsageFlagBits = 4096
	BufferUsageConditionalRenderingBit           BufferUsageFlagBits = 512
	BufferUsageRaytracingBitNvx                  BufferUsageFlagBits = 1024
	BufferUsageFlagBitsMaxEnum                   BufferUsageFlagBits = 2147483647
)

BufferUsageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferUsageFlagBits.html

type BufferViewCreateFlags

type BufferViewCreateFlags uint32

BufferViewCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateFlags.html

type BufferViewCreateInfo

type BufferViewCreateInfo struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Flags  BufferViewCreateFlags
	Buffer Buffer
	Format Format
	Offset DeviceSize
	Range  DeviceSize
	// contains filtered or unexported fields
}

BufferViewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkBufferViewCreateInfo.html

func NewBufferViewCreateInfoRef

func NewBufferViewCreateInfoRef(ref unsafe.Pointer) *BufferViewCreateInfo

NewBufferViewCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*BufferViewCreateInfo) Deref

func (x *BufferViewCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*BufferViewCreateInfo) Free

func (x *BufferViewCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*BufferViewCreateInfo) PassRef

func (x *BufferViewCreateInfo) PassRef() (*C.VkBufferViewCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (BufferViewCreateInfo) PassValue

func (x BufferViewCreateInfo) PassValue() (C.VkBufferViewCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*BufferViewCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type BuildAccelerationStructureFlagBitsNVX

type BuildAccelerationStructureFlagBitsNVX int32

BuildAccelerationStructureFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagBitsNVX

const (
	BuildAccelerationStructureAllowUpdateBitNvx     BuildAccelerationStructureFlagBitsNVX = 1
	BuildAccelerationStructureAllowCompactionBitNvx BuildAccelerationStructureFlagBitsNVX = 2
	BuildAccelerationStructurePreferFastTraceBitNvx BuildAccelerationStructureFlagBitsNVX = 4
	BuildAccelerationStructurePreferFastBuildBitNvx BuildAccelerationStructureFlagBitsNVX = 8
	BuildAccelerationStructureLowMemoryBitNvx       BuildAccelerationStructureFlagBitsNVX = 16
	BuildAccelerationStructureFlagBitsMaxEnumNvx    BuildAccelerationStructureFlagBitsNVX = 2147483647
)

BuildAccelerationStructureFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagBitsNVX

type BuildAccelerationStructureFlagsNVX

type BuildAccelerationStructureFlagsNVX uint32

BuildAccelerationStructureFlagsNVX type as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkBuildAccelerationStructureFlagsNVX

type CalibratedTimestampInfo

type CalibratedTimestampInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	TimeDomain TimeDomain
	// contains filtered or unexported fields
}

CalibratedTimestampInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCalibratedTimestampInfoEXT.html

func NewCalibratedTimestampInfoRef

func NewCalibratedTimestampInfoRef(ref unsafe.Pointer) *CalibratedTimestampInfo

NewCalibratedTimestampInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CalibratedTimestampInfo) Deref

func (x *CalibratedTimestampInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CalibratedTimestampInfo) Free

func (x *CalibratedTimestampInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CalibratedTimestampInfo) PassRef

func (x *CalibratedTimestampInfo) PassRef() (*C.VkCalibratedTimestampInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CalibratedTimestampInfo) PassValue

func (x CalibratedTimestampInfo) PassValue() (C.VkCalibratedTimestampInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CalibratedTimestampInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CheckpointDataNV

type CheckpointDataNV struct {
	SType             StructureType
	PNext             unsafe.Pointer
	Stage             PipelineStageFlagBits
	PCheckpointMarker unsafe.Pointer
	// contains filtered or unexported fields
}

CheckpointDataNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCheckpointDataNV.html

func NewCheckpointDataNVRef

func NewCheckpointDataNVRef(ref unsafe.Pointer) *CheckpointDataNV

NewCheckpointDataNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CheckpointDataNV) Deref

func (x *CheckpointDataNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CheckpointDataNV) Free

func (x *CheckpointDataNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CheckpointDataNV) PassRef

func (x *CheckpointDataNV) PassRef() (*C.VkCheckpointDataNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CheckpointDataNV) PassValue

func (x CheckpointDataNV) PassValue() (C.VkCheckpointDataNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CheckpointDataNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ChromaLocation

type ChromaLocation int32

ChromaLocation as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkChromaLocation.html

const (
	ChromaLocationCositedEven ChromaLocation = iota
	ChromaLocationMidpoint    ChromaLocation = 1
	ChromaLocationBeginRange  ChromaLocation = 0
	ChromaLocationEndRange    ChromaLocation = 1
	ChromaLocationRangeSize   ChromaLocation = 2
	ChromaLocationMaxEnum     ChromaLocation = 2147483647
)

ChromaLocation enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkChromaLocation.html

type ClearAttachment

type ClearAttachment struct {
	AspectMask      ImageAspectFlags
	ColorAttachment uint32
	ClearValue      ClearValue
	// contains filtered or unexported fields
}

ClearAttachment as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearAttachment.html

func NewClearAttachmentRef

func NewClearAttachmentRef(ref unsafe.Pointer) *ClearAttachment

NewClearAttachmentRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearAttachment) Deref

func (x *ClearAttachment) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearAttachment) Free

func (x *ClearAttachment) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearAttachment) PassRef

func (x *ClearAttachment) PassRef() (*C.VkClearAttachment, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearAttachment) PassValue

func (x ClearAttachment) PassValue() (C.VkClearAttachment, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearAttachment) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearColorValue

type ClearColorValue [sizeofClearColorValue]byte

type ClearDepthStencilValue

type ClearDepthStencilValue struct {
	Depth   float32
	Stencil uint32
	// contains filtered or unexported fields
}

ClearDepthStencilValue as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearDepthStencilValue.html

func NewClearDepthStencilValueRef

func NewClearDepthStencilValueRef(ref unsafe.Pointer) *ClearDepthStencilValue

NewClearDepthStencilValueRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearDepthStencilValue) Deref

func (x *ClearDepthStencilValue) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearDepthStencilValue) Free

func (x *ClearDepthStencilValue) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearDepthStencilValue) PassRef

func (x *ClearDepthStencilValue) PassRef() (*C.VkClearDepthStencilValue, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearDepthStencilValue) PassValue

func (x ClearDepthStencilValue) PassValue() (C.VkClearDepthStencilValue, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearDepthStencilValue) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearRect

type ClearRect struct {
	Rect           Rect2D
	BaseArrayLayer uint32
	LayerCount     uint32
	// contains filtered or unexported fields
}

ClearRect as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkClearRect.html

func NewClearRectRef

func NewClearRectRef(ref unsafe.Pointer) *ClearRect

NewClearRectRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ClearRect) Deref

func (x *ClearRect) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ClearRect) Free

func (x *ClearRect) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ClearRect) PassRef

func (x *ClearRect) PassRef() (*C.VkClearRect, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ClearRect) PassValue

func (x ClearRect) PassValue() (C.VkClearRect, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ClearRect) Ref

func (x *ClearRect) Ref() *C.VkClearRect

Ref returns the underlying reference to C object or nil if struct is nil.

type ClearValue

type ClearValue [sizeofClearValue]byte

func NewClearDepthStencil

func NewClearDepthStencil(depth float32, stencil uint32) ClearValue

func NewClearValue

func NewClearValue(color []float32) ClearValue

func (*ClearValue) SetColor

func (cv *ClearValue) SetColor(color []float32)

func (*ClearValue) SetDepthStencil

func (cv *ClearValue) SetDepthStencil(depth float32, stencil uint32)

type CmdProcessCommandsInfoNVX

type CmdProcessCommandsInfoNVX struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	ObjectTable                ObjectTableNVX
	IndirectCommandsLayout     IndirectCommandsLayoutNVX
	IndirectCommandsTokenCount uint32
	PIndirectCommandsTokens    []IndirectCommandsTokenNVX
	MaxSequencesCount          uint32
	TargetCommandBuffer        CommandBuffer
	SequencesCountBuffer       Buffer
	SequencesCountOffset       DeviceSize
	SequencesIndexBuffer       Buffer
	SequencesIndexOffset       DeviceSize
	// contains filtered or unexported fields
}

CmdProcessCommandsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCmdProcessCommandsInfoNVX

func NewCmdProcessCommandsInfoNVXRef

func NewCmdProcessCommandsInfoNVXRef(ref unsafe.Pointer) *CmdProcessCommandsInfoNVX

NewCmdProcessCommandsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CmdProcessCommandsInfoNVX) Deref

func (x *CmdProcessCommandsInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CmdProcessCommandsInfoNVX) Free

func (x *CmdProcessCommandsInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CmdProcessCommandsInfoNVX) PassRef

func (x *CmdProcessCommandsInfoNVX) PassRef() (*C.VkCmdProcessCommandsInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CmdProcessCommandsInfoNVX) PassValue

func (x CmdProcessCommandsInfoNVX) PassValue() (C.VkCmdProcessCommandsInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CmdProcessCommandsInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CmdReserveSpaceForCommandsInfoNVX

type CmdReserveSpaceForCommandsInfoNVX struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	ObjectTable            ObjectTableNVX
	IndirectCommandsLayout IndirectCommandsLayoutNVX
	MaxSequencesCount      uint32
	// contains filtered or unexported fields
}

CmdReserveSpaceForCommandsInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCmdReserveSpaceForCommandsInfoNVX

func NewCmdReserveSpaceForCommandsInfoNVXRef

func NewCmdReserveSpaceForCommandsInfoNVXRef(ref unsafe.Pointer) *CmdReserveSpaceForCommandsInfoNVX

NewCmdReserveSpaceForCommandsInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CmdReserveSpaceForCommandsInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CmdReserveSpaceForCommandsInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CmdReserveSpaceForCommandsInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CmdReserveSpaceForCommandsInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CmdReserveSpaceForCommandsInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleLocationNV

type CoarseSampleLocationNV struct {
	PixelX uint32
	PixelY uint32
	Sample uint32
	// contains filtered or unexported fields
}

CoarseSampleLocationNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleLocationNV.html

func NewCoarseSampleLocationNVRef

func NewCoarseSampleLocationNVRef(ref unsafe.Pointer) *CoarseSampleLocationNV

NewCoarseSampleLocationNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CoarseSampleLocationNV) Deref

func (x *CoarseSampleLocationNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CoarseSampleLocationNV) Free

func (x *CoarseSampleLocationNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CoarseSampleLocationNV) PassRef

func (x *CoarseSampleLocationNV) PassRef() (*C.VkCoarseSampleLocationNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CoarseSampleLocationNV) PassValue

func (x CoarseSampleLocationNV) PassValue() (C.VkCoarseSampleLocationNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CoarseSampleLocationNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleOrderCustomNV

type CoarseSampleOrderCustomNV struct {
	ShadingRate         ShadingRatePaletteEntryNV
	SampleCount         uint32
	SampleLocationCount uint32
	PSampleLocations    []CoarseSampleLocationNV
	// contains filtered or unexported fields
}

CoarseSampleOrderCustomNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderCustomNV.html

func NewCoarseSampleOrderCustomNVRef

func NewCoarseSampleOrderCustomNVRef(ref unsafe.Pointer) *CoarseSampleOrderCustomNV

NewCoarseSampleOrderCustomNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CoarseSampleOrderCustomNV) Deref

func (x *CoarseSampleOrderCustomNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CoarseSampleOrderCustomNV) Free

func (x *CoarseSampleOrderCustomNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CoarseSampleOrderCustomNV) PassRef

func (x *CoarseSampleOrderCustomNV) PassRef() (*C.VkCoarseSampleOrderCustomNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CoarseSampleOrderCustomNV) PassValue

func (x CoarseSampleOrderCustomNV) PassValue() (C.VkCoarseSampleOrderCustomNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CoarseSampleOrderCustomNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CoarseSampleOrderTypeNV

type CoarseSampleOrderTypeNV int32

CoarseSampleOrderTypeNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderTypeNV.html

const (
	CoarseSampleOrderTypeDefaultNv     CoarseSampleOrderTypeNV = iota
	CoarseSampleOrderTypeCustomNv      CoarseSampleOrderTypeNV = 1
	CoarseSampleOrderTypePixelMajorNv  CoarseSampleOrderTypeNV = 2
	CoarseSampleOrderTypeSampleMajorNv CoarseSampleOrderTypeNV = 3
	CoarseSampleOrderTypeBeginRangeNv  CoarseSampleOrderTypeNV = 0
	CoarseSampleOrderTypeEndRangeNv    CoarseSampleOrderTypeNV = 3
	CoarseSampleOrderTypeRangeSizeNv   CoarseSampleOrderTypeNV = 4
	CoarseSampleOrderTypeMaxEnumNv     CoarseSampleOrderTypeNV = 2147483647
)

CoarseSampleOrderTypeNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoarseSampleOrderTypeNV.html

type ColorComponentFlagBits

type ColorComponentFlagBits int32

ColorComponentFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlagBits.html

const (
	ColorComponentRBit            ColorComponentFlagBits = 1
	ColorComponentGBit            ColorComponentFlagBits = 2
	ColorComponentBBit            ColorComponentFlagBits = 4
	ColorComponentABit            ColorComponentFlagBits = 8
	ColorComponentFlagBitsMaxEnum ColorComponentFlagBits = 2147483647
)

ColorComponentFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlagBits.html

type ColorComponentFlags

type ColorComponentFlags uint32

ColorComponentFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkColorComponentFlags.html

type ColorSpace

type ColorSpace int32

ColorSpace as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkColorSpaceKHR

const (
	ColorSpaceSrgbNonlinear         ColorSpace = iota
	ColorSpaceDisplayP3Nonlinear    ColorSpace = 1000104001
	ColorSpaceExtendedSrgbLinear    ColorSpace = 1000104002
	ColorSpaceDciP3Linear           ColorSpace = 1000104003
	ColorSpaceDciP3Nonlinear        ColorSpace = 1000104004
	ColorSpaceBt709Linear           ColorSpace = 1000104005
	ColorSpaceBt709Nonlinear        ColorSpace = 1000104006
	ColorSpaceBt2020Linear          ColorSpace = 1000104007
	ColorSpaceHdr10St2084           ColorSpace = 1000104008
	ColorSpaceDolbyvision           ColorSpace = 1000104009
	ColorSpaceHdr10Hlg              ColorSpace = 1000104010
	ColorSpaceAdobergbLinear        ColorSpace = 1000104011
	ColorSpaceAdobergbNonlinear     ColorSpace = 1000104012
	ColorSpacePassThrough           ColorSpace = 1000104013
	ColorSpaceExtendedSrgbNonlinear ColorSpace = 1000104014
	ColorspaceSrgbNonlinear         ColorSpace = 0
	ColorSpaceBeginRange            ColorSpace = 0
	ColorSpaceEndRange              ColorSpace = 0
	ColorSpaceRangeSize             ColorSpace = 1
	ColorSpaceMaxEnum               ColorSpace = 2147483647
)

ColorSpace enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkColorSpaceKHR

type CommandBufferAllocateInfo

type CommandBufferAllocateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	CommandPool        CommandPool
	Level              CommandBufferLevel
	CommandBufferCount uint32
	// contains filtered or unexported fields
}

CommandBufferAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferAllocateInfo.html

func NewCommandBufferAllocateInfoRef

func NewCommandBufferAllocateInfoRef(ref unsafe.Pointer) *CommandBufferAllocateInfo

NewCommandBufferAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferAllocateInfo) Deref

func (x *CommandBufferAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferAllocateInfo) Free

func (x *CommandBufferAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferAllocateInfo) PassRef

func (x *CommandBufferAllocateInfo) PassRef() (*C.VkCommandBufferAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferAllocateInfo) PassValue

func (x CommandBufferAllocateInfo) PassValue() (C.VkCommandBufferAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferBeginInfo

type CommandBufferBeginInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	Flags            CommandBufferUsageFlags
	PInheritanceInfo []CommandBufferInheritanceInfo
	// contains filtered or unexported fields
}

CommandBufferBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferBeginInfo.html

func NewCommandBufferBeginInfoRef

func NewCommandBufferBeginInfoRef(ref unsafe.Pointer) *CommandBufferBeginInfo

NewCommandBufferBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferBeginInfo) Deref

func (x *CommandBufferBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferBeginInfo) Free

func (x *CommandBufferBeginInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferBeginInfo) PassRef

func (x *CommandBufferBeginInfo) PassRef() (*C.VkCommandBufferBeginInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferBeginInfo) PassValue

func (x CommandBufferBeginInfo) PassValue() (C.VkCommandBufferBeginInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferInheritanceConditionalRenderingInfo

type CommandBufferInheritanceConditionalRenderingInfo struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	ConditionalRenderingEnable Bool32
	// contains filtered or unexported fields
}

CommandBufferInheritanceConditionalRenderingInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferInheritanceConditionalRenderingInfoEXT.html

func NewCommandBufferInheritanceConditionalRenderingInfoRef

func NewCommandBufferInheritanceConditionalRenderingInfoRef(ref unsafe.Pointer) *CommandBufferInheritanceConditionalRenderingInfo

NewCommandBufferInheritanceConditionalRenderingInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferInheritanceConditionalRenderingInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferInheritanceConditionalRenderingInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferInheritanceConditionalRenderingInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferInheritanceConditionalRenderingInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferInheritanceConditionalRenderingInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferInheritanceInfo

type CommandBufferInheritanceInfo struct {
	SType                StructureType
	PNext                unsafe.Pointer
	RenderPass           RenderPass
	Subpass              uint32
	Framebuffer          Framebuffer
	OcclusionQueryEnable Bool32
	QueryFlags           QueryControlFlags
	PipelineStatistics   QueryPipelineStatisticFlags
	// contains filtered or unexported fields
}

CommandBufferInheritanceInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferInheritanceInfo.html

func NewCommandBufferInheritanceInfoRef

func NewCommandBufferInheritanceInfoRef(ref unsafe.Pointer) *CommandBufferInheritanceInfo

NewCommandBufferInheritanceInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandBufferInheritanceInfo) Deref

func (x *CommandBufferInheritanceInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandBufferInheritanceInfo) Free

func (x *CommandBufferInheritanceInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandBufferInheritanceInfo) PassRef

func (x *CommandBufferInheritanceInfo) PassRef() (*C.VkCommandBufferInheritanceInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandBufferInheritanceInfo) PassValue

func (x CommandBufferInheritanceInfo) PassValue() (C.VkCommandBufferInheritanceInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandBufferInheritanceInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandBufferLevel

type CommandBufferLevel int32

CommandBufferLevel as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferLevel.html

const (
	CommandBufferLevelPrimary    CommandBufferLevel = iota
	CommandBufferLevelSecondary  CommandBufferLevel = 1
	CommandBufferLevelBeginRange CommandBufferLevel = 0
	CommandBufferLevelEndRange   CommandBufferLevel = 1
	CommandBufferLevelRangeSize  CommandBufferLevel = 2
	CommandBufferLevelMaxEnum    CommandBufferLevel = 2147483647
)

CommandBufferLevel enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferLevel.html

type CommandBufferResetFlagBits

type CommandBufferResetFlagBits int32

CommandBufferResetFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlagBits.html

const (
	CommandBufferResetReleaseResourcesBit CommandBufferResetFlagBits = 1
	CommandBufferResetFlagBitsMaxEnum     CommandBufferResetFlagBits = 2147483647
)

CommandBufferResetFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlagBits.html

type CommandBufferResetFlags

type CommandBufferResetFlags uint32

CommandBufferResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferResetFlags.html

type CommandBufferUsageFlagBits

type CommandBufferUsageFlagBits int32

CommandBufferUsageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlagBits.html

const (
	CommandBufferUsageOneTimeSubmitBit      CommandBufferUsageFlagBits = 1
	CommandBufferUsageRenderPassContinueBit CommandBufferUsageFlagBits = 2
	CommandBufferUsageSimultaneousUseBit    CommandBufferUsageFlagBits = 4
	CommandBufferUsageFlagBitsMaxEnum       CommandBufferUsageFlagBits = 2147483647
)

CommandBufferUsageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlagBits.html

type CommandBufferUsageFlags

type CommandBufferUsageFlags uint32

CommandBufferUsageFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandBufferUsageFlags.html

type CommandPoolCreateFlagBits

type CommandPoolCreateFlagBits int32

CommandPoolCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlagBits.html

const (
	CommandPoolCreateTransientBit          CommandPoolCreateFlagBits = 1
	CommandPoolCreateResetCommandBufferBit CommandPoolCreateFlagBits = 2
	CommandPoolCreateProtectedBit          CommandPoolCreateFlagBits = 4
	CommandPoolCreateFlagBitsMaxEnum       CommandPoolCreateFlagBits = 2147483647
)

CommandPoolCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlagBits.html

type CommandPoolCreateFlags

type CommandPoolCreateFlags uint32

CommandPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateFlags.html

type CommandPoolCreateInfo

type CommandPoolCreateInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	Flags            CommandPoolCreateFlags
	QueueFamilyIndex uint32
	// contains filtered or unexported fields
}

CommandPoolCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolCreateInfo.html

func NewCommandPoolCreateInfoRef

func NewCommandPoolCreateInfoRef(ref unsafe.Pointer) *CommandPoolCreateInfo

NewCommandPoolCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CommandPoolCreateInfo) Deref

func (x *CommandPoolCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CommandPoolCreateInfo) Free

func (x *CommandPoolCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CommandPoolCreateInfo) PassRef

func (x *CommandPoolCreateInfo) PassRef() (*C.VkCommandPoolCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CommandPoolCreateInfo) PassValue

func (x CommandPoolCreateInfo) PassValue() (C.VkCommandPoolCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CommandPoolCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CommandPoolResetFlagBits

type CommandPoolResetFlagBits int32

CommandPoolResetFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlagBits.html

const (
	CommandPoolResetReleaseResourcesBit CommandPoolResetFlagBits = 1
	CommandPoolResetFlagBitsMaxEnum     CommandPoolResetFlagBits = 2147483647
)

CommandPoolResetFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlagBits.html

type CommandPoolResetFlags

type CommandPoolResetFlags uint32

CommandPoolResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolResetFlags.html

type CommandPoolTrimFlags

type CommandPoolTrimFlags uint32

CommandPoolTrimFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCommandPoolTrimFlags.html

type CompareOp

type CompareOp int32

CompareOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCompareOp.html

const (
	CompareOpNever          CompareOp = iota
	CompareOpLess           CompareOp = 1
	CompareOpEqual          CompareOp = 2
	CompareOpLessOrEqual    CompareOp = 3
	CompareOpGreater        CompareOp = 4
	CompareOpNotEqual       CompareOp = 5
	CompareOpGreaterOrEqual CompareOp = 6
	CompareOpAlways         CompareOp = 7
	CompareOpBeginRange     CompareOp = 0
	CompareOpEndRange       CompareOp = 7
	CompareOpRangeSize      CompareOp = 8
	CompareOpMaxEnum        CompareOp = 2147483647
)

CompareOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCompareOp.html

type ComponentMapping

type ComponentMapping struct {
	R ComponentSwizzle
	G ComponentSwizzle
	B ComponentSwizzle
	A ComponentSwizzle
	// contains filtered or unexported fields
}

ComponentMapping as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentMapping.html

func NewComponentMappingRef

func NewComponentMappingRef(ref unsafe.Pointer) *ComponentMapping

NewComponentMappingRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ComponentMapping) Deref

func (x *ComponentMapping) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ComponentMapping) Free

func (x *ComponentMapping) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ComponentMapping) PassRef

func (x *ComponentMapping) PassRef() (*C.VkComponentMapping, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ComponentMapping) PassValue

func (x ComponentMapping) PassValue() (C.VkComponentMapping, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ComponentMapping) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ComponentSwizzle

type ComponentSwizzle int32

ComponentSwizzle as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentSwizzle.html

const (
	ComponentSwizzleIdentity   ComponentSwizzle = iota
	ComponentSwizzleZero       ComponentSwizzle = 1
	ComponentSwizzleOne        ComponentSwizzle = 2
	ComponentSwizzleR          ComponentSwizzle = 3
	ComponentSwizzleG          ComponentSwizzle = 4
	ComponentSwizzleB          ComponentSwizzle = 5
	ComponentSwizzleA          ComponentSwizzle = 6
	ComponentSwizzleBeginRange ComponentSwizzle = 0
	ComponentSwizzleEndRange   ComponentSwizzle = 6
	ComponentSwizzleRangeSize  ComponentSwizzle = 7
	ComponentSwizzleMaxEnum    ComponentSwizzle = 2147483647
)

ComponentSwizzle enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComponentSwizzle.html

type CompositeAlphaFlagBits

type CompositeAlphaFlagBits int32

CompositeAlphaFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCompositeAlphaFlagBitsKHR

const (
	CompositeAlphaOpaqueBit         CompositeAlphaFlagBits = 1
	CompositeAlphaPreMultipliedBit  CompositeAlphaFlagBits = 2
	CompositeAlphaPostMultipliedBit CompositeAlphaFlagBits = 4
	CompositeAlphaInheritBit        CompositeAlphaFlagBits = 8
	CompositeAlphaFlagBitsMaxEnum   CompositeAlphaFlagBits = 2147483647
)

CompositeAlphaFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCompositeAlphaFlagBitsKHR

type ComputePipelineCreateInfo

type ComputePipelineCreateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	Flags              PipelineCreateFlags
	Stage              PipelineShaderStageCreateInfo
	Layout             PipelineLayout
	BasePipelineHandle Pipeline
	BasePipelineIndex  int32
	// contains filtered or unexported fields
}

ComputePipelineCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkComputePipelineCreateInfo.html

func NewComputePipelineCreateInfoRef

func NewComputePipelineCreateInfoRef(ref unsafe.Pointer) *ComputePipelineCreateInfo

NewComputePipelineCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ComputePipelineCreateInfo) Deref

func (x *ComputePipelineCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ComputePipelineCreateInfo) Free

func (x *ComputePipelineCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ComputePipelineCreateInfo) PassRef

func (x *ComputePipelineCreateInfo) PassRef() (*C.VkComputePipelineCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ComputePipelineCreateInfo) PassValue

func (x ComputePipelineCreateInfo) PassValue() (C.VkComputePipelineCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ComputePipelineCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ConditionalRenderingBeginInfo

type ConditionalRenderingBeginInfo struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Buffer Buffer
	Offset DeviceSize
	Flags  ConditionalRenderingFlags
	// contains filtered or unexported fields
}

ConditionalRenderingBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingBeginInfoEXT.html

func NewConditionalRenderingBeginInfoRef

func NewConditionalRenderingBeginInfoRef(ref unsafe.Pointer) *ConditionalRenderingBeginInfo

NewConditionalRenderingBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ConditionalRenderingBeginInfo) Deref

func (x *ConditionalRenderingBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ConditionalRenderingBeginInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ConditionalRenderingBeginInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ConditionalRenderingBeginInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ConditionalRenderingBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ConditionalRenderingFlagBits

type ConditionalRenderingFlagBits int32

ConditionalRenderingFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagBitsEXT.html

const (
	ConditionalRenderingInvertedBit     ConditionalRenderingFlagBits = 1
	ConditionalRenderingFlagBitsMaxEnum ConditionalRenderingFlagBits = 2147483647
)

ConditionalRenderingFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagBitsEXT.html

type ConditionalRenderingFlags

type ConditionalRenderingFlags uint32

ConditionalRenderingFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConditionalRenderingFlagsEXT.html

type ConformanceVersion

type ConformanceVersion struct {
	Major    byte
	Minor    byte
	Subminor byte
	Patch    byte
	// contains filtered or unexported fields
}

ConformanceVersion as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkConformanceVersionKHR

func NewConformanceVersionRef

func NewConformanceVersionRef(ref unsafe.Pointer) *ConformanceVersion

NewConformanceVersionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ConformanceVersion) Deref

func (x *ConformanceVersion) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ConformanceVersion) Free

func (x *ConformanceVersion) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ConformanceVersion) PassRef

func (x *ConformanceVersion) PassRef() (*C.VkConformanceVersionKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ConformanceVersion) PassValue

func (x ConformanceVersion) PassValue() (C.VkConformanceVersionKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ConformanceVersion) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ConservativeRasterizationMode

type ConservativeRasterizationMode int32

ConservativeRasterizationMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConservativeRasterizationModeEXT.html

const (
	ConservativeRasterizationModeDisabled      ConservativeRasterizationMode = iota
	ConservativeRasterizationModeOverestimate  ConservativeRasterizationMode = 1
	ConservativeRasterizationModeUnderestimate ConservativeRasterizationMode = 2
	ConservativeRasterizationModeBeginRange    ConservativeRasterizationMode = 0
	ConservativeRasterizationModeEndRange      ConservativeRasterizationMode = 2
	ConservativeRasterizationModeRangeSize     ConservativeRasterizationMode = 3
	ConservativeRasterizationModeMaxEnum       ConservativeRasterizationMode = 2147483647
)

ConservativeRasterizationMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkConservativeRasterizationModeEXT.html

type CopyAccelerationStructureModeNVX

type CopyAccelerationStructureModeNVX int32

CopyAccelerationStructureModeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCopyAccelerationStructureModeNVX

const (
	CopyAccelerationStructureModeCloneNvx      CopyAccelerationStructureModeNVX = iota
	CopyAccelerationStructureModeCompactNvx    CopyAccelerationStructureModeNVX = 1
	CopyAccelerationStructureModeBeginRangeNvx CopyAccelerationStructureModeNVX = 0
	CopyAccelerationStructureModeEndRangeNvx   CopyAccelerationStructureModeNVX = 1
	CopyAccelerationStructureModeRangeSizeNvx  CopyAccelerationStructureModeNVX = 2
	CopyAccelerationStructureModeMaxEnumNvx    CopyAccelerationStructureModeNVX = 2147483647
)

CopyAccelerationStructureModeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkCopyAccelerationStructureModeNVX

type CopyDescriptorSet

type CopyDescriptorSet struct {
	SType           StructureType
	PNext           unsafe.Pointer
	SrcSet          DescriptorSet
	SrcBinding      uint32
	SrcArrayElement uint32
	DstSet          DescriptorSet
	DstBinding      uint32
	DstArrayElement uint32
	DescriptorCount uint32
	// contains filtered or unexported fields
}

CopyDescriptorSet as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCopyDescriptorSet.html

func NewCopyDescriptorSetRef

func NewCopyDescriptorSetRef(ref unsafe.Pointer) *CopyDescriptorSet

NewCopyDescriptorSetRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*CopyDescriptorSet) Deref

func (x *CopyDescriptorSet) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*CopyDescriptorSet) Free

func (x *CopyDescriptorSet) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*CopyDescriptorSet) PassRef

func (x *CopyDescriptorSet) PassRef() (*C.VkCopyDescriptorSet, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (CopyDescriptorSet) PassValue

func (x CopyDescriptorSet) PassValue() (C.VkCopyDescriptorSet, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*CopyDescriptorSet) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type CoverageModulationModeNV

type CoverageModulationModeNV int32

CoverageModulationModeNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoverageModulationModeNV.html

const (
	CoverageModulationModeNoneNv       CoverageModulationModeNV = iota
	CoverageModulationModeRgbNv        CoverageModulationModeNV = 1
	CoverageModulationModeAlphaNv      CoverageModulationModeNV = 2
	CoverageModulationModeRgbaNv       CoverageModulationModeNV = 3
	CoverageModulationModeBeginRangeNv CoverageModulationModeNV = 0
	CoverageModulationModeEndRangeNv   CoverageModulationModeNV = 3
	CoverageModulationModeRangeSizeNv  CoverageModulationModeNV = 4
	CoverageModulationModeMaxEnumNv    CoverageModulationModeNV = 2147483647
)

CoverageModulationModeNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCoverageModulationModeNV.html

type CullModeFlagBits

type CullModeFlagBits int32

CullModeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlagBits.html

const (
	CullModeNone            CullModeFlagBits = iota
	CullModeFrontBit        CullModeFlagBits = 1
	CullModeBackBit         CullModeFlagBits = 2
	CullModeFrontAndBack    CullModeFlagBits = 3
	CullModeFlagBitsMaxEnum CullModeFlagBits = 2147483647
)

CullModeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkCullModeFlagBits.html

type DebugMarkerMarkerInfo

type DebugMarkerMarkerInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	PMarkerName string
	Color       [4]float32
	// contains filtered or unexported fields
}

DebugMarkerMarkerInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugMarkerMarkerInfoEXT.html

func NewDebugMarkerMarkerInfoRef

func NewDebugMarkerMarkerInfoRef(ref unsafe.Pointer) *DebugMarkerMarkerInfo

NewDebugMarkerMarkerInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugMarkerMarkerInfo) Deref

func (x *DebugMarkerMarkerInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugMarkerMarkerInfo) Free

func (x *DebugMarkerMarkerInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugMarkerMarkerInfo) PassRef

func (x *DebugMarkerMarkerInfo) PassRef() (*C.VkDebugMarkerMarkerInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugMarkerMarkerInfo) PassValue

func (x DebugMarkerMarkerInfo) PassValue() (C.VkDebugMarkerMarkerInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugMarkerMarkerInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugMarkerObjectNameInfo

type DebugMarkerObjectNameInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	ObjectType  DebugReportObjectType
	Object      uint64
	PObjectName string
	// contains filtered or unexported fields
}

DebugMarkerObjectNameInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugMarkerObjectNameInfoEXT.html

func NewDebugMarkerObjectNameInfoRef

func NewDebugMarkerObjectNameInfoRef(ref unsafe.Pointer) *DebugMarkerObjectNameInfo

NewDebugMarkerObjectNameInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugMarkerObjectNameInfo) Deref

func (x *DebugMarkerObjectNameInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugMarkerObjectNameInfo) Free

func (x *DebugMarkerObjectNameInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugMarkerObjectNameInfo) PassRef

func (x *DebugMarkerObjectNameInfo) PassRef() (*C.VkDebugMarkerObjectNameInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugMarkerObjectNameInfo) PassValue

func (x DebugMarkerObjectNameInfo) PassValue() (C.VkDebugMarkerObjectNameInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugMarkerObjectNameInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugMarkerObjectTagInfo

type DebugMarkerObjectTagInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	ObjectType DebugReportObjectType
	Object     uint64
	TagName    uint64
	TagSize    uint
	PTag       unsafe.Pointer
	// contains filtered or unexported fields
}

DebugMarkerObjectTagInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugMarkerObjectTagInfoEXT.html

func NewDebugMarkerObjectTagInfoRef

func NewDebugMarkerObjectTagInfoRef(ref unsafe.Pointer) *DebugMarkerObjectTagInfo

NewDebugMarkerObjectTagInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugMarkerObjectTagInfo) Deref

func (x *DebugMarkerObjectTagInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugMarkerObjectTagInfo) Free

func (x *DebugMarkerObjectTagInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugMarkerObjectTagInfo) PassRef

func (x *DebugMarkerObjectTagInfo) PassRef() (*C.VkDebugMarkerObjectTagInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugMarkerObjectTagInfo) PassValue

func (x DebugMarkerObjectTagInfo) PassValue() (C.VkDebugMarkerObjectTagInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugMarkerObjectTagInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugReportCallbackCreateInfo

type DebugReportCallbackCreateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	Flags       DebugReportFlags
	PfnCallback DebugReportCallbackFunc
	PUserData   unsafe.Pointer
	// contains filtered or unexported fields
}

DebugReportCallbackCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugReportCallbackCreateInfoEXT.html

func NewDebugReportCallbackCreateInfoRef

func NewDebugReportCallbackCreateInfoRef(ref unsafe.Pointer) *DebugReportCallbackCreateInfo

NewDebugReportCallbackCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugReportCallbackCreateInfo) Deref

func (x *DebugReportCallbackCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugReportCallbackCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugReportCallbackCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugReportCallbackCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugReportCallbackCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugReportCallbackFunc

type DebugReportCallbackFunc func(flags DebugReportFlags, objectType DebugReportObjectType, object uint64, location uint, messageCode int32, pLayerPrefix string, pMessage string, pUserData unsafe.Pointer) Bool32

DebugReportCallbackFunc type as declared in vulkan/vulkan_core.h:6207

func NewDebugReportCallbackFuncRef

func NewDebugReportCallbackFuncRef(ref unsafe.Pointer) *DebugReportCallbackFunc

func (DebugReportCallbackFunc) PassRef

func (x DebugReportCallbackFunc) PassRef() (ref *C.PFN_vkDebugReportCallbackEXT, allocs *cgoAllocMap)

func (DebugReportCallbackFunc) PassValue

func (x DebugReportCallbackFunc) PassValue() (ref C.PFN_vkDebugReportCallbackEXT, allocs *cgoAllocMap)

type DebugReportFlagBits

type DebugReportFlagBits int32

DebugReportFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugReportFlagBitsEXT.html

const (
	DebugReportInformationBit        DebugReportFlagBits = 1
	DebugReportWarningBit            DebugReportFlagBits = 2
	DebugReportPerformanceWarningBit DebugReportFlagBits = 4
	DebugReportErrorBit              DebugReportFlagBits = 8
	DebugReportDebugBit              DebugReportFlagBits = 16
	DebugReportFlagBitsMaxEnum       DebugReportFlagBits = 2147483647
)

DebugReportFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugReportFlagBitsEXT.html

type DebugReportObjectType

type DebugReportObjectType int32

DebugReportObjectType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugReportObjectTypeEXT.html

const (
	DebugReportObjectTypeUnknown                     DebugReportObjectType = iota
	DebugReportObjectTypeInstance                    DebugReportObjectType = 1
	DebugReportObjectTypePhysicalDevice              DebugReportObjectType = 2
	DebugReportObjectTypeDevice                      DebugReportObjectType = 3
	DebugReportObjectTypeQueue                       DebugReportObjectType = 4
	DebugReportObjectTypeSemaphore                   DebugReportObjectType = 5
	DebugReportObjectTypeCommandBuffer               DebugReportObjectType = 6
	DebugReportObjectTypeFence                       DebugReportObjectType = 7
	DebugReportObjectTypeDeviceMemory                DebugReportObjectType = 8
	DebugReportObjectTypeBuffer                      DebugReportObjectType = 9
	DebugReportObjectTypeImage                       DebugReportObjectType = 10
	DebugReportObjectTypeEvent                       DebugReportObjectType = 11
	DebugReportObjectTypeQueryPool                   DebugReportObjectType = 12
	DebugReportObjectTypeBufferView                  DebugReportObjectType = 13
	DebugReportObjectTypeImageView                   DebugReportObjectType = 14
	DebugReportObjectTypeShaderModule                DebugReportObjectType = 15
	DebugReportObjectTypePipelineCache               DebugReportObjectType = 16
	DebugReportObjectTypePipelineLayout              DebugReportObjectType = 17
	DebugReportObjectTypeRenderPass                  DebugReportObjectType = 18
	DebugReportObjectTypePipeline                    DebugReportObjectType = 19
	DebugReportObjectTypeDescriptorSetLayout         DebugReportObjectType = 20
	DebugReportObjectTypeSampler                     DebugReportObjectType = 21
	DebugReportObjectTypeDescriptorPool              DebugReportObjectType = 22
	DebugReportObjectTypeDescriptorSet               DebugReportObjectType = 23
	DebugReportObjectTypeFramebuffer                 DebugReportObjectType = 24
	DebugReportObjectTypeCommandPool                 DebugReportObjectType = 25
	DebugReportObjectTypeSurfaceKhr                  DebugReportObjectType = 26
	DebugReportObjectTypeSwapchainKhr                DebugReportObjectType = 27
	DebugReportObjectTypeDebugReportCallbackExt      DebugReportObjectType = 28
	DebugReportObjectTypeDisplayKhr                  DebugReportObjectType = 29
	DebugReportObjectTypeDisplayModeKhr              DebugReportObjectType = 30
	DebugReportObjectTypeObjectTableNvx              DebugReportObjectType = 31
	DebugReportObjectTypeIndirectCommandsLayoutNvx   DebugReportObjectType = 32
	DebugReportObjectTypeValidationCacheExt          DebugReportObjectType = 33
	DebugReportObjectTypeSamplerYcbcrConversion      DebugReportObjectType = 1000156000
	DebugReportObjectTypeDescriptorUpdateTemplate    DebugReportObjectType = 1000085000
	DebugReportObjectTypeAccelerationStructureNvx    DebugReportObjectType = 1000165000
	DebugReportObjectTypeDebugReport                 DebugReportObjectType = 28
	DebugReportObjectTypeValidationCache             DebugReportObjectType = 33
	DebugReportObjectTypeDescriptorUpdateTemplateKhr DebugReportObjectType = 1000085000
	DebugReportObjectTypeSamplerYcbcrConversionKhr   DebugReportObjectType = 1000156000
	DebugReportObjectTypeBeginRange                  DebugReportObjectType = 0
	DebugReportObjectTypeEndRange                    DebugReportObjectType = 33
	DebugReportObjectTypeRangeSize                   DebugReportObjectType = 34
	DebugReportObjectTypeMaxEnum                     DebugReportObjectType = 2147483647
)

DebugReportObjectType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugReportObjectTypeEXT.html

type DebugUtilsLabel

type DebugUtilsLabel struct {
	SType      StructureType
	PNext      unsafe.Pointer
	PLabelName string
	Color      [4]float32
	// contains filtered or unexported fields
}

DebugUtilsLabel as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsLabelEXT.html

func NewDebugUtilsLabelRef

func NewDebugUtilsLabelRef(ref unsafe.Pointer) *DebugUtilsLabel

NewDebugUtilsLabelRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugUtilsLabel) Deref

func (x *DebugUtilsLabel) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugUtilsLabel) Free

func (x *DebugUtilsLabel) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugUtilsLabel) PassRef

func (x *DebugUtilsLabel) PassRef() (*C.VkDebugUtilsLabelEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugUtilsLabel) PassValue

func (x DebugUtilsLabel) PassValue() (C.VkDebugUtilsLabelEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugUtilsLabel) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugUtilsMessageSeverityFlagBits

type DebugUtilsMessageSeverityFlagBits int32

DebugUtilsMessageSeverityFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageSeverityFlagBitsEXT.html

const (
	DebugUtilsMessageSeverityVerboseBit      DebugUtilsMessageSeverityFlagBits = 1
	DebugUtilsMessageSeverityInfoBit         DebugUtilsMessageSeverityFlagBits = 16
	DebugUtilsMessageSeverityWarningBit      DebugUtilsMessageSeverityFlagBits = 256
	DebugUtilsMessageSeverityErrorBit        DebugUtilsMessageSeverityFlagBits = 4096
	DebugUtilsMessageSeverityFlagBitsMaxEnum DebugUtilsMessageSeverityFlagBits = 2147483647
)

DebugUtilsMessageSeverityFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageSeverityFlagBitsEXT.html

type DebugUtilsMessageSeverityFlags

type DebugUtilsMessageSeverityFlags uint32

DebugUtilsMessageSeverityFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageSeverityFlagsEXT.html

type DebugUtilsMessageTypeFlagBits

type DebugUtilsMessageTypeFlagBits int32

DebugUtilsMessageTypeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageTypeFlagBitsEXT.html

const (
	DebugUtilsMessageTypeGeneralBit      DebugUtilsMessageTypeFlagBits = 1
	DebugUtilsMessageTypeValidationBit   DebugUtilsMessageTypeFlagBits = 2
	DebugUtilsMessageTypePerformanceBit  DebugUtilsMessageTypeFlagBits = 4
	DebugUtilsMessageTypeFlagBitsMaxEnum DebugUtilsMessageTypeFlagBits = 2147483647
)

DebugUtilsMessageTypeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageTypeFlagBitsEXT.html

type DebugUtilsMessageTypeFlags

type DebugUtilsMessageTypeFlags uint32

DebugUtilsMessageTypeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsMessageTypeFlagsEXT.html

type DebugUtilsObjectNameInfo

type DebugUtilsObjectNameInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	ObjectType   ObjectType
	ObjectHandle uint64
	PObjectName  string
	// contains filtered or unexported fields
}

DebugUtilsObjectNameInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsObjectNameInfoEXT.html

func NewDebugUtilsObjectNameInfoRef

func NewDebugUtilsObjectNameInfoRef(ref unsafe.Pointer) *DebugUtilsObjectNameInfo

NewDebugUtilsObjectNameInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugUtilsObjectNameInfo) Deref

func (x *DebugUtilsObjectNameInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugUtilsObjectNameInfo) Free

func (x *DebugUtilsObjectNameInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugUtilsObjectNameInfo) PassRef

func (x *DebugUtilsObjectNameInfo) PassRef() (*C.VkDebugUtilsObjectNameInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugUtilsObjectNameInfo) PassValue

func (x DebugUtilsObjectNameInfo) PassValue() (C.VkDebugUtilsObjectNameInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugUtilsObjectNameInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DebugUtilsObjectTagInfo

type DebugUtilsObjectTagInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	ObjectType   ObjectType
	ObjectHandle uint64
	TagName      uint64
	TagSize      uint
	PTag         unsafe.Pointer
	// contains filtered or unexported fields
}

DebugUtilsObjectTagInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDebugUtilsObjectTagInfoEXT.html

func NewDebugUtilsObjectTagInfoRef

func NewDebugUtilsObjectTagInfoRef(ref unsafe.Pointer) *DebugUtilsObjectTagInfo

NewDebugUtilsObjectTagInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DebugUtilsObjectTagInfo) Deref

func (x *DebugUtilsObjectTagInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DebugUtilsObjectTagInfo) Free

func (x *DebugUtilsObjectTagInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DebugUtilsObjectTagInfo) PassRef

func (x *DebugUtilsObjectTagInfo) PassRef() (*C.VkDebugUtilsObjectTagInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DebugUtilsObjectTagInfo) PassValue

func (x DebugUtilsObjectTagInfo) PassValue() (C.VkDebugUtilsObjectTagInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DebugUtilsObjectTagInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DedicatedAllocationBufferCreateInfoNV

type DedicatedAllocationBufferCreateInfoNV struct {
	SType               StructureType
	PNext               unsafe.Pointer
	DedicatedAllocation Bool32
	// contains filtered or unexported fields
}

DedicatedAllocationBufferCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDedicatedAllocationBufferCreateInfoNV.html

func NewDedicatedAllocationBufferCreateInfoNVRef

func NewDedicatedAllocationBufferCreateInfoNVRef(ref unsafe.Pointer) *DedicatedAllocationBufferCreateInfoNV

NewDedicatedAllocationBufferCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DedicatedAllocationBufferCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DedicatedAllocationBufferCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DedicatedAllocationBufferCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DedicatedAllocationBufferCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DedicatedAllocationBufferCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DedicatedAllocationImageCreateInfoNV

type DedicatedAllocationImageCreateInfoNV struct {
	SType               StructureType
	PNext               unsafe.Pointer
	DedicatedAllocation Bool32
	// contains filtered or unexported fields
}

DedicatedAllocationImageCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDedicatedAllocationImageCreateInfoNV.html

func NewDedicatedAllocationImageCreateInfoNVRef

func NewDedicatedAllocationImageCreateInfoNVRef(ref unsafe.Pointer) *DedicatedAllocationImageCreateInfoNV

NewDedicatedAllocationImageCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DedicatedAllocationImageCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DedicatedAllocationImageCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DedicatedAllocationImageCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DedicatedAllocationImageCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DedicatedAllocationImageCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DedicatedAllocationMemoryAllocateInfoNV

type DedicatedAllocationMemoryAllocateInfoNV struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Image  Image
	Buffer Buffer
	// contains filtered or unexported fields
}

DedicatedAllocationMemoryAllocateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDedicatedAllocationMemoryAllocateInfoNV.html

func NewDedicatedAllocationMemoryAllocateInfoNVRef

func NewDedicatedAllocationMemoryAllocateInfoNVRef(ref unsafe.Pointer) *DedicatedAllocationMemoryAllocateInfoNV

NewDedicatedAllocationMemoryAllocateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DedicatedAllocationMemoryAllocateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DedicatedAllocationMemoryAllocateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DedicatedAllocationMemoryAllocateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DedicatedAllocationMemoryAllocateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DedicatedAllocationMemoryAllocateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DependencyFlagBits

type DependencyFlagBits int32

DependencyFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDependencyFlagBits.html

const (
	DependencyByRegionBit     DependencyFlagBits = 1
	DependencyDeviceGroupBit  DependencyFlagBits = 4
	DependencyViewLocalBit    DependencyFlagBits = 2
	DependencyFlagBitsMaxEnum DependencyFlagBits = 2147483647
)

DependencyFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDependencyFlagBits.html

type DescriptorAccelerationStructureInfoNVX

type DescriptorAccelerationStructureInfoNVX struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	AccelerationStructureCount uint32
	PAccelerationStructures    []AccelerationStructureNVX
	// contains filtered or unexported fields
}

DescriptorAccelerationStructureInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkDescriptorAccelerationStructureInfoNVX

func NewDescriptorAccelerationStructureInfoNVXRef

func NewDescriptorAccelerationStructureInfoNVXRef(ref unsafe.Pointer) *DescriptorAccelerationStructureInfoNVX

NewDescriptorAccelerationStructureInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorAccelerationStructureInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorAccelerationStructureInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorAccelerationStructureInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorAccelerationStructureInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorAccelerationStructureInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorBindingFlagBits

type DescriptorBindingFlagBits int32

DescriptorBindingFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorBindingFlagBitsEXT.html

const (
	DescriptorBindingUpdateAfterBindBit          DescriptorBindingFlagBits = 1
	DescriptorBindingUpdateUnusedWhilePendingBit DescriptorBindingFlagBits = 2
	DescriptorBindingPartiallyBoundBit           DescriptorBindingFlagBits = 4
	DescriptorBindingVariableDescriptorCountBit  DescriptorBindingFlagBits = 8
	DescriptorBindingFlagBitsMaxEnum             DescriptorBindingFlagBits = 2147483647
)

DescriptorBindingFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorBindingFlagBitsEXT.html

type DescriptorBindingFlags

type DescriptorBindingFlags uint32

DescriptorBindingFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorBindingFlagsEXT.html

type DescriptorBufferInfo

type DescriptorBufferInfo struct {
	Buffer Buffer
	Offset DeviceSize
	Range  DeviceSize
	// contains filtered or unexported fields
}

DescriptorBufferInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorBufferInfo.html

func NewDescriptorBufferInfoRef

func NewDescriptorBufferInfoRef(ref unsafe.Pointer) *DescriptorBufferInfo

NewDescriptorBufferInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorBufferInfo) Deref

func (x *DescriptorBufferInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorBufferInfo) Free

func (x *DescriptorBufferInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorBufferInfo) PassRef

func (x *DescriptorBufferInfo) PassRef() (*C.VkDescriptorBufferInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorBufferInfo) PassValue

func (x DescriptorBufferInfo) PassValue() (C.VkDescriptorBufferInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorBufferInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorImageInfo

type DescriptorImageInfo struct {
	Sampler     Sampler
	ImageView   ImageView
	ImageLayout ImageLayout
	// contains filtered or unexported fields
}

DescriptorImageInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorImageInfo.html

func NewDescriptorImageInfoRef

func NewDescriptorImageInfoRef(ref unsafe.Pointer) *DescriptorImageInfo

NewDescriptorImageInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorImageInfo) Deref

func (x *DescriptorImageInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorImageInfo) Free

func (x *DescriptorImageInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorImageInfo) PassRef

func (x *DescriptorImageInfo) PassRef() (*C.VkDescriptorImageInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorImageInfo) PassValue

func (x DescriptorImageInfo) PassValue() (C.VkDescriptorImageInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorImageInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorPoolCreateFlagBits

type DescriptorPoolCreateFlagBits int32

DescriptorPoolCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolCreateFlagBits.html

const (
	DescriptorPoolCreateFreeDescriptorSetBit DescriptorPoolCreateFlagBits = 1
	DescriptorPoolCreateUpdateAfterBindBit   DescriptorPoolCreateFlagBits = 2
	DescriptorPoolCreateFlagBitsMaxEnum      DescriptorPoolCreateFlagBits = 2147483647
)

DescriptorPoolCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolCreateFlagBits.html

type DescriptorPoolCreateFlags

type DescriptorPoolCreateFlags uint32

DescriptorPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolCreateFlags.html

type DescriptorPoolCreateInfo

type DescriptorPoolCreateInfo struct {
	SType         StructureType
	PNext         unsafe.Pointer
	Flags         DescriptorPoolCreateFlags
	MaxSets       uint32
	PoolSizeCount uint32
	PPoolSizes    []DescriptorPoolSize
	// contains filtered or unexported fields
}

DescriptorPoolCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolCreateInfo.html

func NewDescriptorPoolCreateInfoRef

func NewDescriptorPoolCreateInfoRef(ref unsafe.Pointer) *DescriptorPoolCreateInfo

NewDescriptorPoolCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorPoolCreateInfo) Deref

func (x *DescriptorPoolCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorPoolCreateInfo) Free

func (x *DescriptorPoolCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorPoolCreateInfo) PassRef

func (x *DescriptorPoolCreateInfo) PassRef() (*C.VkDescriptorPoolCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorPoolCreateInfo) PassValue

func (x DescriptorPoolCreateInfo) PassValue() (C.VkDescriptorPoolCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorPoolCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorPoolInlineUniformBlockCreateInfo

type DescriptorPoolInlineUniformBlockCreateInfo struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	MaxInlineUniformBlockBindings uint32
	// contains filtered or unexported fields
}

DescriptorPoolInlineUniformBlockCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolInlineUniformBlockCreateInfoEXT.html

func NewDescriptorPoolInlineUniformBlockCreateInfoRef

func NewDescriptorPoolInlineUniformBlockCreateInfoRef(ref unsafe.Pointer) *DescriptorPoolInlineUniformBlockCreateInfo

NewDescriptorPoolInlineUniformBlockCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorPoolInlineUniformBlockCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorPoolInlineUniformBlockCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorPoolInlineUniformBlockCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorPoolInlineUniformBlockCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorPoolInlineUniformBlockCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorPoolResetFlags

type DescriptorPoolResetFlags uint32

DescriptorPoolResetFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolResetFlags.html

type DescriptorPoolSize

type DescriptorPoolSize struct {
	Type            DescriptorType
	DescriptorCount uint32
	// contains filtered or unexported fields
}

DescriptorPoolSize as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorPoolSize.html

func NewDescriptorPoolSizeRef

func NewDescriptorPoolSizeRef(ref unsafe.Pointer) *DescriptorPoolSize

NewDescriptorPoolSizeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorPoolSize) Deref

func (x *DescriptorPoolSize) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorPoolSize) Free

func (x *DescriptorPoolSize) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorPoolSize) PassRef

func (x *DescriptorPoolSize) PassRef() (*C.VkDescriptorPoolSize, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorPoolSize) PassValue

func (x DescriptorPoolSize) PassValue() (C.VkDescriptorPoolSize, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorPoolSize) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetAllocateInfo

type DescriptorSetAllocateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	DescriptorPool     DescriptorPool
	DescriptorSetCount uint32
	PSetLayouts        []DescriptorSetLayout
	// contains filtered or unexported fields
}

DescriptorSetAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetAllocateInfo.html

func NewDescriptorSetAllocateInfoRef

func NewDescriptorSetAllocateInfoRef(ref unsafe.Pointer) *DescriptorSetAllocateInfo

NewDescriptorSetAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetAllocateInfo) Deref

func (x *DescriptorSetAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetAllocateInfo) Free

func (x *DescriptorSetAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetAllocateInfo) PassRef

func (x *DescriptorSetAllocateInfo) PassRef() (*C.VkDescriptorSetAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetAllocateInfo) PassValue

func (x DescriptorSetAllocateInfo) PassValue() (C.VkDescriptorSetAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetLayoutBinding

type DescriptorSetLayoutBinding struct {
	Binding            uint32
	DescriptorType     DescriptorType
	DescriptorCount    uint32
	StageFlags         ShaderStageFlags
	PImmutableSamplers []Sampler
	// contains filtered or unexported fields
}

DescriptorSetLayoutBinding as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutBinding.html

func NewDescriptorSetLayoutBindingRef

func NewDescriptorSetLayoutBindingRef(ref unsafe.Pointer) *DescriptorSetLayoutBinding

NewDescriptorSetLayoutBindingRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetLayoutBinding) Deref

func (x *DescriptorSetLayoutBinding) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetLayoutBinding) Free

func (x *DescriptorSetLayoutBinding) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetLayoutBinding) PassRef

func (x *DescriptorSetLayoutBinding) PassRef() (*C.VkDescriptorSetLayoutBinding, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetLayoutBinding) PassValue

func (x DescriptorSetLayoutBinding) PassValue() (C.VkDescriptorSetLayoutBinding, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetLayoutBinding) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetLayoutBindingFlagsCreateInfo

type DescriptorSetLayoutBindingFlagsCreateInfo struct {
	SType         StructureType
	PNext         unsafe.Pointer
	BindingCount  uint32
	PBindingFlags []DescriptorBindingFlags
	// contains filtered or unexported fields
}

DescriptorSetLayoutBindingFlagsCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutBindingFlagsCreateInfoEXT.html

func NewDescriptorSetLayoutBindingFlagsCreateInfoRef

func NewDescriptorSetLayoutBindingFlagsCreateInfoRef(ref unsafe.Pointer) *DescriptorSetLayoutBindingFlagsCreateInfo

NewDescriptorSetLayoutBindingFlagsCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetLayoutBindingFlagsCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetLayoutBindingFlagsCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetLayoutBindingFlagsCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetLayoutBindingFlagsCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetLayoutBindingFlagsCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetLayoutCreateFlagBits

type DescriptorSetLayoutCreateFlagBits int32

DescriptorSetLayoutCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutCreateFlagBits.html

const (
	DescriptorSetLayoutCreatePushDescriptorBit      DescriptorSetLayoutCreateFlagBits = 1
	DescriptorSetLayoutCreateUpdateAfterBindPoolBit DescriptorSetLayoutCreateFlagBits = 2
	DescriptorSetLayoutCreateFlagBitsMaxEnum        DescriptorSetLayoutCreateFlagBits = 2147483647
)

DescriptorSetLayoutCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutCreateFlagBits.html

type DescriptorSetLayoutCreateFlags

type DescriptorSetLayoutCreateFlags uint32

DescriptorSetLayoutCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutCreateFlags.html

type DescriptorSetLayoutCreateInfo

type DescriptorSetLayoutCreateInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	Flags        DescriptorSetLayoutCreateFlags
	BindingCount uint32
	PBindings    []DescriptorSetLayoutBinding
	// contains filtered or unexported fields
}

DescriptorSetLayoutCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutCreateInfo.html

func NewDescriptorSetLayoutCreateInfoRef

func NewDescriptorSetLayoutCreateInfoRef(ref unsafe.Pointer) *DescriptorSetLayoutCreateInfo

NewDescriptorSetLayoutCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetLayoutCreateInfo) Deref

func (x *DescriptorSetLayoutCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetLayoutCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetLayoutCreateInfo) PassRef

func (x *DescriptorSetLayoutCreateInfo) PassRef() (*C.VkDescriptorSetLayoutCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetLayoutCreateInfo) PassValue

func (x DescriptorSetLayoutCreateInfo) PassValue() (C.VkDescriptorSetLayoutCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetLayoutCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetLayoutSupport

type DescriptorSetLayoutSupport struct {
	SType     StructureType
	PNext     unsafe.Pointer
	Supported Bool32
	// contains filtered or unexported fields
}

DescriptorSetLayoutSupport as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetLayoutSupport.html

func NewDescriptorSetLayoutSupportRef

func NewDescriptorSetLayoutSupportRef(ref unsafe.Pointer) *DescriptorSetLayoutSupport

NewDescriptorSetLayoutSupportRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetLayoutSupport) Deref

func (x *DescriptorSetLayoutSupport) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetLayoutSupport) Free

func (x *DescriptorSetLayoutSupport) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetLayoutSupport) PassRef

func (x *DescriptorSetLayoutSupport) PassRef() (*C.VkDescriptorSetLayoutSupport, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetLayoutSupport) PassValue

func (x DescriptorSetLayoutSupport) PassValue() (C.VkDescriptorSetLayoutSupport, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetLayoutSupport) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetVariableDescriptorCountAllocateInfo

type DescriptorSetVariableDescriptorCountAllocateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	DescriptorSetCount uint32
	PDescriptorCounts  []uint32
	// contains filtered or unexported fields
}

DescriptorSetVariableDescriptorCountAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetVariableDescriptorCountAllocateInfoEXT.html

func NewDescriptorSetVariableDescriptorCountAllocateInfoRef

func NewDescriptorSetVariableDescriptorCountAllocateInfoRef(ref unsafe.Pointer) *DescriptorSetVariableDescriptorCountAllocateInfo

NewDescriptorSetVariableDescriptorCountAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetVariableDescriptorCountAllocateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetVariableDescriptorCountAllocateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetVariableDescriptorCountAllocateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetVariableDescriptorCountAllocateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetVariableDescriptorCountAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorSetVariableDescriptorCountLayoutSupport

type DescriptorSetVariableDescriptorCountLayoutSupport struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	MaxVariableDescriptorCount uint32
	// contains filtered or unexported fields
}

DescriptorSetVariableDescriptorCountLayoutSupport as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorSetVariableDescriptorCountLayoutSupportEXT.html

func NewDescriptorSetVariableDescriptorCountLayoutSupportRef

func NewDescriptorSetVariableDescriptorCountLayoutSupportRef(ref unsafe.Pointer) *DescriptorSetVariableDescriptorCountLayoutSupport

NewDescriptorSetVariableDescriptorCountLayoutSupportRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorSetVariableDescriptorCountLayoutSupport) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorSetVariableDescriptorCountLayoutSupport) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorSetVariableDescriptorCountLayoutSupport) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorSetVariableDescriptorCountLayoutSupport) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorSetVariableDescriptorCountLayoutSupport) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorType

type DescriptorType int32

DescriptorType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorType.html

const (
	DescriptorTypeSampler                  DescriptorType = iota
	DescriptorTypeCombinedImageSampler     DescriptorType = 1
	DescriptorTypeSampledImage             DescriptorType = 2
	DescriptorTypeStorageImage             DescriptorType = 3
	DescriptorTypeUniformTexelBuffer       DescriptorType = 4
	DescriptorTypeStorageTexelBuffer       DescriptorType = 5
	DescriptorTypeUniformBuffer            DescriptorType = 6
	DescriptorTypeStorageBuffer            DescriptorType = 7
	DescriptorTypeUniformBufferDynamic     DescriptorType = 8
	DescriptorTypeStorageBufferDynamic     DescriptorType = 9
	DescriptorTypeInputAttachment          DescriptorType = 10
	DescriptorTypeInlineUniformBlock       DescriptorType = 1000138000
	DescriptorTypeAccelerationStructureNvx DescriptorType = 1000165000
	DescriptorTypeBeginRange               DescriptorType = 0
	DescriptorTypeEndRange                 DescriptorType = 10
	DescriptorTypeRangeSize                DescriptorType = 11
	DescriptorTypeMaxEnum                  DescriptorType = 2147483647
)

DescriptorType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorType.html

type DescriptorUpdateTemplateCreateFlags

type DescriptorUpdateTemplateCreateFlags uint32

DescriptorUpdateTemplateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorUpdateTemplateCreateFlags.html

type DescriptorUpdateTemplateCreateInfo

type DescriptorUpdateTemplateCreateInfo struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	Flags                      DescriptorUpdateTemplateCreateFlags
	DescriptorUpdateEntryCount uint32
	PDescriptorUpdateEntries   []DescriptorUpdateTemplateEntry
	TemplateType               DescriptorUpdateTemplateType
	DescriptorSetLayout        DescriptorSetLayout
	PipelineBindPoint          PipelineBindPoint
	PipelineLayout             PipelineLayout
	Set                        uint32
	// contains filtered or unexported fields
}

DescriptorUpdateTemplateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorUpdateTemplateCreateInfo.html

func NewDescriptorUpdateTemplateCreateInfoRef

func NewDescriptorUpdateTemplateCreateInfoRef(ref unsafe.Pointer) *DescriptorUpdateTemplateCreateInfo

NewDescriptorUpdateTemplateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorUpdateTemplateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorUpdateTemplateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorUpdateTemplateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorUpdateTemplateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorUpdateTemplateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorUpdateTemplateEntry

type DescriptorUpdateTemplateEntry struct {
	DstBinding      uint32
	DstArrayElement uint32
	DescriptorCount uint32
	DescriptorType  DescriptorType
	Offset          uint
	Stride          uint
	// contains filtered or unexported fields
}

DescriptorUpdateTemplateEntry as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorUpdateTemplateEntry.html

func NewDescriptorUpdateTemplateEntryRef

func NewDescriptorUpdateTemplateEntryRef(ref unsafe.Pointer) *DescriptorUpdateTemplateEntry

NewDescriptorUpdateTemplateEntryRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DescriptorUpdateTemplateEntry) Deref

func (x *DescriptorUpdateTemplateEntry) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DescriptorUpdateTemplateEntry) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DescriptorUpdateTemplateEntry) PassRef

func (x *DescriptorUpdateTemplateEntry) PassRef() (*C.VkDescriptorUpdateTemplateEntry, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DescriptorUpdateTemplateEntry) PassValue

func (x DescriptorUpdateTemplateEntry) PassValue() (C.VkDescriptorUpdateTemplateEntry, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DescriptorUpdateTemplateEntry) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DescriptorUpdateTemplateType

type DescriptorUpdateTemplateType int32

DescriptorUpdateTemplateType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorUpdateTemplateType.html

const (
	DescriptorUpdateTemplateTypeDescriptorSet   DescriptorUpdateTemplateType = iota
	DescriptorUpdateTemplateTypePushDescriptors DescriptorUpdateTemplateType = 1
	DescriptorUpdateTemplateTypeBeginRange      DescriptorUpdateTemplateType = 0
	DescriptorUpdateTemplateTypeEndRange        DescriptorUpdateTemplateType = 0
	DescriptorUpdateTemplateTypeRangeSize       DescriptorUpdateTemplateType = 1
	DescriptorUpdateTemplateTypeMaxEnum         DescriptorUpdateTemplateType = 2147483647
)

DescriptorUpdateTemplateType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDescriptorUpdateTemplateType.html

type DeviceCreateInfo

type DeviceCreateInfo struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   DeviceCreateFlags
	QueueCreateInfoCount    uint32
	PQueueCreateInfos       []DeviceQueueCreateInfo
	EnabledLayerCount       uint32
	PpEnabledLayerNames     []string
	EnabledExtensionCount   uint32
	PpEnabledExtensionNames []string
	PEnabledFeatures        []PhysicalDeviceFeatures
	// contains filtered or unexported fields
}

DeviceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceCreateInfo.html

func NewDeviceCreateInfoRef

func NewDeviceCreateInfoRef(ref unsafe.Pointer) *DeviceCreateInfo

NewDeviceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceCreateInfo) Deref

func (x *DeviceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceCreateInfo) Free

func (x *DeviceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceCreateInfo) PassRef

func (x *DeviceCreateInfo) PassRef() (*C.VkDeviceCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceCreateInfo) PassValue

func (x DeviceCreateInfo) PassValue() (C.VkDeviceCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceEventInfo

type DeviceEventInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	DeviceEvent DeviceEventType
	// contains filtered or unexported fields
}

DeviceEventInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceEventInfoEXT.html

func NewDeviceEventInfoRef

func NewDeviceEventInfoRef(ref unsafe.Pointer) *DeviceEventInfo

NewDeviceEventInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceEventInfo) Deref

func (x *DeviceEventInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceEventInfo) Free

func (x *DeviceEventInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceEventInfo) PassRef

func (x *DeviceEventInfo) PassRef() (*C.VkDeviceEventInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceEventInfo) PassValue

func (x DeviceEventInfo) PassValue() (C.VkDeviceEventInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceEventInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceEventType

type DeviceEventType int32

DeviceEventType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceEventTypeEXT.html

const (
	DeviceEventTypeDisplayHotplug DeviceEventType = iota
	DeviceEventTypeBeginRange     DeviceEventType = 0
	DeviceEventTypeEndRange       DeviceEventType = 0
	DeviceEventTypeRangeSize      DeviceEventType = 1
	DeviceEventTypeMaxEnum        DeviceEventType = 2147483647
)

DeviceEventType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceEventTypeEXT.html

type DeviceGeneratedCommandsFeaturesNVX

type DeviceGeneratedCommandsFeaturesNVX struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	ComputeBindingPointSupport Bool32
	// contains filtered or unexported fields
}

DeviceGeneratedCommandsFeaturesNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkDeviceGeneratedCommandsFeaturesNVX

func NewDeviceGeneratedCommandsFeaturesNVXRef

func NewDeviceGeneratedCommandsFeaturesNVXRef(ref unsafe.Pointer) *DeviceGeneratedCommandsFeaturesNVX

NewDeviceGeneratedCommandsFeaturesNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGeneratedCommandsFeaturesNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGeneratedCommandsFeaturesNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGeneratedCommandsFeaturesNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGeneratedCommandsFeaturesNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGeneratedCommandsFeaturesNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGeneratedCommandsLimitsNVX

type DeviceGeneratedCommandsLimitsNVX struct {
	SType                                 StructureType
	PNext                                 unsafe.Pointer
	MaxIndirectCommandsLayoutTokenCount   uint32
	MaxObjectEntryCounts                  uint32
	MinSequenceCountBufferOffsetAlignment uint32
	MinSequenceIndexBufferOffsetAlignment uint32
	MinCommandsTokenBufferOffsetAlignment uint32
	// contains filtered or unexported fields
}

DeviceGeneratedCommandsLimitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkDeviceGeneratedCommandsLimitsNVX

func NewDeviceGeneratedCommandsLimitsNVXRef

func NewDeviceGeneratedCommandsLimitsNVXRef(ref unsafe.Pointer) *DeviceGeneratedCommandsLimitsNVX

NewDeviceGeneratedCommandsLimitsNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGeneratedCommandsLimitsNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGeneratedCommandsLimitsNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGeneratedCommandsLimitsNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGeneratedCommandsLimitsNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGeneratedCommandsLimitsNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupBindSparseInfo

type DeviceGroupBindSparseInfo struct {
	SType               StructureType
	PNext               unsafe.Pointer
	ResourceDeviceIndex uint32
	MemoryDeviceIndex   uint32
	// contains filtered or unexported fields
}

DeviceGroupBindSparseInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceGroupBindSparseInfo.html

func NewDeviceGroupBindSparseInfoRef

func NewDeviceGroupBindSparseInfoRef(ref unsafe.Pointer) *DeviceGroupBindSparseInfo

NewDeviceGroupBindSparseInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupBindSparseInfo) Deref

func (x *DeviceGroupBindSparseInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupBindSparseInfo) Free

func (x *DeviceGroupBindSparseInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupBindSparseInfo) PassRef

func (x *DeviceGroupBindSparseInfo) PassRef() (*C.VkDeviceGroupBindSparseInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupBindSparseInfo) PassValue

func (x DeviceGroupBindSparseInfo) PassValue() (C.VkDeviceGroupBindSparseInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupBindSparseInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupCommandBufferBeginInfo

type DeviceGroupCommandBufferBeginInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	DeviceMask uint32
	// contains filtered or unexported fields
}

DeviceGroupCommandBufferBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceGroupCommandBufferBeginInfo.html

func NewDeviceGroupCommandBufferBeginInfoRef

func NewDeviceGroupCommandBufferBeginInfoRef(ref unsafe.Pointer) *DeviceGroupCommandBufferBeginInfo

NewDeviceGroupCommandBufferBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupCommandBufferBeginInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupCommandBufferBeginInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupCommandBufferBeginInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupCommandBufferBeginInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupCommandBufferBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupDeviceCreateInfo

type DeviceGroupDeviceCreateInfo struct {
	SType               StructureType
	PNext               unsafe.Pointer
	PhysicalDeviceCount uint32
	PPhysicalDevices    []PhysicalDevice
	// contains filtered or unexported fields
}

DeviceGroupDeviceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceGroupDeviceCreateInfo.html

func NewDeviceGroupDeviceCreateInfoRef

func NewDeviceGroupDeviceCreateInfoRef(ref unsafe.Pointer) *DeviceGroupDeviceCreateInfo

NewDeviceGroupDeviceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupDeviceCreateInfo) Deref

func (x *DeviceGroupDeviceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupDeviceCreateInfo) Free

func (x *DeviceGroupDeviceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupDeviceCreateInfo) PassRef

func (x *DeviceGroupDeviceCreateInfo) PassRef() (*C.VkDeviceGroupDeviceCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupDeviceCreateInfo) PassValue

func (x DeviceGroupDeviceCreateInfo) PassValue() (C.VkDeviceGroupDeviceCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupDeviceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupPresentCapabilities

type DeviceGroupPresentCapabilities struct {
	SType       StructureType
	PNext       unsafe.Pointer
	PresentMask [32]uint32
	Modes       DeviceGroupPresentModeFlags
	// contains filtered or unexported fields
}

DeviceGroupPresentCapabilities as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDeviceGroupPresentCapabilitiesKHR

func NewDeviceGroupPresentCapabilitiesRef

func NewDeviceGroupPresentCapabilitiesRef(ref unsafe.Pointer) *DeviceGroupPresentCapabilities

NewDeviceGroupPresentCapabilitiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupPresentCapabilities) Deref

func (x *DeviceGroupPresentCapabilities) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupPresentCapabilities) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupPresentCapabilities) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupPresentCapabilities) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupPresentCapabilities) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupPresentInfo

type DeviceGroupPresentInfo struct {
	SType          StructureType
	PNext          unsafe.Pointer
	SwapchainCount uint32
	PDeviceMasks   []uint32
	Mode           DeviceGroupPresentModeFlagBits
	// contains filtered or unexported fields
}

DeviceGroupPresentInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDeviceGroupPresentInfoKHR

func NewDeviceGroupPresentInfoRef

func NewDeviceGroupPresentInfoRef(ref unsafe.Pointer) *DeviceGroupPresentInfo

NewDeviceGroupPresentInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupPresentInfo) Deref

func (x *DeviceGroupPresentInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupPresentInfo) Free

func (x *DeviceGroupPresentInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupPresentInfo) PassRef

func (x *DeviceGroupPresentInfo) PassRef() (*C.VkDeviceGroupPresentInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupPresentInfo) PassValue

func (x DeviceGroupPresentInfo) PassValue() (C.VkDeviceGroupPresentInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupPresentInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupPresentModeFlagBits

type DeviceGroupPresentModeFlagBits int32

DeviceGroupPresentModeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDeviceGroupPresentModeFlagBitsKHR

const (
	DeviceGroupPresentModeLocalBit            DeviceGroupPresentModeFlagBits = 1
	DeviceGroupPresentModeRemoteBit           DeviceGroupPresentModeFlagBits = 2
	DeviceGroupPresentModeSumBit              DeviceGroupPresentModeFlagBits = 4
	DeviceGroupPresentModeLocalMultiDeviceBit DeviceGroupPresentModeFlagBits = 8
	DeviceGroupPresentModeFlagBitsMaxEnum     DeviceGroupPresentModeFlagBits = 2147483647
)

DeviceGroupPresentModeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDeviceGroupPresentModeFlagBitsKHR

type DeviceGroupRenderPassBeginInfo

type DeviceGroupRenderPassBeginInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	DeviceMask            uint32
	DeviceRenderAreaCount uint32
	PDeviceRenderAreas    []Rect2D
	// contains filtered or unexported fields
}

DeviceGroupRenderPassBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceGroupRenderPassBeginInfo.html

func NewDeviceGroupRenderPassBeginInfoRef

func NewDeviceGroupRenderPassBeginInfoRef(ref unsafe.Pointer) *DeviceGroupRenderPassBeginInfo

NewDeviceGroupRenderPassBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupRenderPassBeginInfo) Deref

func (x *DeviceGroupRenderPassBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupRenderPassBeginInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupRenderPassBeginInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupRenderPassBeginInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupRenderPassBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupSubmitInfo

type DeviceGroupSubmitInfo struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	WaitSemaphoreCount            uint32
	PWaitSemaphoreDeviceIndices   []uint32
	CommandBufferCount            uint32
	PCommandBufferDeviceMasks     []uint32
	SignalSemaphoreCount          uint32
	PSignalSemaphoreDeviceIndices []uint32
	// contains filtered or unexported fields
}

DeviceGroupSubmitInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceGroupSubmitInfo.html

func NewDeviceGroupSubmitInfoRef

func NewDeviceGroupSubmitInfoRef(ref unsafe.Pointer) *DeviceGroupSubmitInfo

NewDeviceGroupSubmitInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupSubmitInfo) Deref

func (x *DeviceGroupSubmitInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupSubmitInfo) Free

func (x *DeviceGroupSubmitInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupSubmitInfo) PassRef

func (x *DeviceGroupSubmitInfo) PassRef() (*C.VkDeviceGroupSubmitInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupSubmitInfo) PassValue

func (x DeviceGroupSubmitInfo) PassValue() (C.VkDeviceGroupSubmitInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupSubmitInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceGroupSwapchainCreateInfo

type DeviceGroupSwapchainCreateInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	Modes DeviceGroupPresentModeFlags
	// contains filtered or unexported fields
}

DeviceGroupSwapchainCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDeviceGroupSwapchainCreateInfoKHR

func NewDeviceGroupSwapchainCreateInfoRef

func NewDeviceGroupSwapchainCreateInfoRef(ref unsafe.Pointer) *DeviceGroupSwapchainCreateInfo

NewDeviceGroupSwapchainCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceGroupSwapchainCreateInfo) Deref

func (x *DeviceGroupSwapchainCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceGroupSwapchainCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceGroupSwapchainCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceGroupSwapchainCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceGroupSwapchainCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceQueueCreateFlagBits

type DeviceQueueCreateFlagBits int32

DeviceQueueCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateFlagBits.html

const (
	DeviceQueueCreateProtectedBit    DeviceQueueCreateFlagBits = 1
	DeviceQueueCreateFlagBitsMaxEnum DeviceQueueCreateFlagBits = 2147483647
)

DeviceQueueCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateFlagBits.html

type DeviceQueueCreateFlags

type DeviceQueueCreateFlags uint32

DeviceQueueCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateFlags.html

type DeviceQueueCreateInfo

type DeviceQueueCreateInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	Flags            DeviceQueueCreateFlags
	QueueFamilyIndex uint32
	QueueCount       uint32
	PQueuePriorities []float32
	// contains filtered or unexported fields
}

DeviceQueueCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueCreateInfo.html

func NewDeviceQueueCreateInfoRef

func NewDeviceQueueCreateInfoRef(ref unsafe.Pointer) *DeviceQueueCreateInfo

NewDeviceQueueCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceQueueCreateInfo) Deref

func (x *DeviceQueueCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceQueueCreateInfo) Free

func (x *DeviceQueueCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceQueueCreateInfo) PassRef

func (x *DeviceQueueCreateInfo) PassRef() (*C.VkDeviceQueueCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceQueueCreateInfo) PassValue

func (x DeviceQueueCreateInfo) PassValue() (C.VkDeviceQueueCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceQueueCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceQueueGlobalPriorityCreateInfo

type DeviceQueueGlobalPriorityCreateInfo struct {
	SType          StructureType
	PNext          unsafe.Pointer
	GlobalPriority QueueGlobalPriority
	// contains filtered or unexported fields
}

DeviceQueueGlobalPriorityCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueGlobalPriorityCreateInfoEXT.html

func NewDeviceQueueGlobalPriorityCreateInfoRef

func NewDeviceQueueGlobalPriorityCreateInfoRef(ref unsafe.Pointer) *DeviceQueueGlobalPriorityCreateInfo

NewDeviceQueueGlobalPriorityCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceQueueGlobalPriorityCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceQueueGlobalPriorityCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceQueueGlobalPriorityCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceQueueGlobalPriorityCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceQueueGlobalPriorityCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DeviceQueueInfo2

type DeviceQueueInfo2 struct {
	SType            StructureType
	PNext            unsafe.Pointer
	Flags            DeviceQueueCreateFlags
	QueueFamilyIndex uint32
	QueueIndex       uint32
	// contains filtered or unexported fields
}

DeviceQueueInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDeviceQueueInfo2.html

func NewDeviceQueueInfo2Ref

func NewDeviceQueueInfo2Ref(ref unsafe.Pointer) *DeviceQueueInfo2

NewDeviceQueueInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DeviceQueueInfo2) Deref

func (x *DeviceQueueInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DeviceQueueInfo2) Free

func (x *DeviceQueueInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DeviceQueueInfo2) PassRef

func (x *DeviceQueueInfo2) PassRef() (*C.VkDeviceQueueInfo2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DeviceQueueInfo2) PassValue

func (x DeviceQueueInfo2) PassValue() (C.VkDeviceQueueInfo2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DeviceQueueInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DiscardRectangleMode

type DiscardRectangleMode int32

DiscardRectangleMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDiscardRectangleModeEXT.html

const (
	DiscardRectangleModeInclusive  DiscardRectangleMode = iota
	DiscardRectangleModeExclusive  DiscardRectangleMode = 1
	DiscardRectangleModeBeginRange DiscardRectangleMode = 0
	DiscardRectangleModeEndRange   DiscardRectangleMode = 1
	DiscardRectangleModeRangeSize  DiscardRectangleMode = 2
	DiscardRectangleModeMaxEnum    DiscardRectangleMode = 2147483647
)

DiscardRectangleMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDiscardRectangleModeEXT.html

type DispatchIndirectCommand

type DispatchIndirectCommand struct {
	X uint32
	Y uint32
	Z uint32
	// contains filtered or unexported fields
}

DispatchIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDispatchIndirectCommand.html

func NewDispatchIndirectCommandRef

func NewDispatchIndirectCommandRef(ref unsafe.Pointer) *DispatchIndirectCommand

NewDispatchIndirectCommandRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DispatchIndirectCommand) Deref

func (x *DispatchIndirectCommand) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DispatchIndirectCommand) Free

func (x *DispatchIndirectCommand) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DispatchIndirectCommand) PassRef

func (x *DispatchIndirectCommand) PassRef() (*C.VkDispatchIndirectCommand, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DispatchIndirectCommand) PassValue

func (x DispatchIndirectCommand) PassValue() (C.VkDispatchIndirectCommand, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DispatchIndirectCommand) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayEventInfo

type DisplayEventInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	DisplayEvent DisplayEventType
	// contains filtered or unexported fields
}

DisplayEventInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayEventInfoEXT.html

func NewDisplayEventInfoRef

func NewDisplayEventInfoRef(ref unsafe.Pointer) *DisplayEventInfo

NewDisplayEventInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayEventInfo) Deref

func (x *DisplayEventInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayEventInfo) Free

func (x *DisplayEventInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayEventInfo) PassRef

func (x *DisplayEventInfo) PassRef() (*C.VkDisplayEventInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayEventInfo) PassValue

func (x DisplayEventInfo) PassValue() (C.VkDisplayEventInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayEventInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayEventType

type DisplayEventType int32

DisplayEventType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayEventTypeEXT.html

const (
	DisplayEventTypeFirstPixelOut DisplayEventType = iota
	DisplayEventTypeBeginRange    DisplayEventType = 0
	DisplayEventTypeEndRange      DisplayEventType = 0
	DisplayEventTypeRangeSize     DisplayEventType = 1
	DisplayEventTypeMaxEnum       DisplayEventType = 2147483647
)

DisplayEventType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayEventTypeEXT.html

type DisplayModeCreateInfo

type DisplayModeCreateInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Flags      DisplayModeCreateFlags
	Parameters DisplayModeParameters
	// contains filtered or unexported fields
}

DisplayModeCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayModeCreateInfoKHR

func NewDisplayModeCreateInfoRef

func NewDisplayModeCreateInfoRef(ref unsafe.Pointer) *DisplayModeCreateInfo

NewDisplayModeCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayModeCreateInfo) Deref

func (x *DisplayModeCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayModeCreateInfo) Free

func (x *DisplayModeCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayModeCreateInfo) PassRef

func (x *DisplayModeCreateInfo) PassRef() (*C.VkDisplayModeCreateInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayModeCreateInfo) PassValue

func (x DisplayModeCreateInfo) PassValue() (C.VkDisplayModeCreateInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayModeCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayModeParameters

type DisplayModeParameters struct {
	VisibleRegion Extent2D
	RefreshRate   uint32
	// contains filtered or unexported fields
}

DisplayModeParameters as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayModeParametersKHR

func NewDisplayModeParametersRef

func NewDisplayModeParametersRef(ref unsafe.Pointer) *DisplayModeParameters

NewDisplayModeParametersRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayModeParameters) Deref

func (x *DisplayModeParameters) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayModeParameters) Free

func (x *DisplayModeParameters) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayModeParameters) PassRef

func (x *DisplayModeParameters) PassRef() (*C.VkDisplayModeParametersKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayModeParameters) PassValue

func (x DisplayModeParameters) PassValue() (C.VkDisplayModeParametersKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayModeParameters) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayModeProperties

type DisplayModeProperties struct {
	DisplayMode DisplayMode
	Parameters  DisplayModeParameters
	// contains filtered or unexported fields
}

DisplayModeProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayModePropertiesKHR

func NewDisplayModePropertiesRef

func NewDisplayModePropertiesRef(ref unsafe.Pointer) *DisplayModeProperties

NewDisplayModePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayModeProperties) Deref

func (x *DisplayModeProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayModeProperties) Free

func (x *DisplayModeProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayModeProperties) PassRef

func (x *DisplayModeProperties) PassRef() (*C.VkDisplayModePropertiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayModeProperties) PassValue

func (x DisplayModeProperties) PassValue() (C.VkDisplayModePropertiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayModeProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayModeProperties2

type DisplayModeProperties2 struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	DisplayModeProperties DisplayModeProperties
	// contains filtered or unexported fields
}

DisplayModeProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayModeProperties2KHR

func NewDisplayModeProperties2Ref

func NewDisplayModeProperties2Ref(ref unsafe.Pointer) *DisplayModeProperties2

NewDisplayModeProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayModeProperties2) Deref

func (x *DisplayModeProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayModeProperties2) Free

func (x *DisplayModeProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayModeProperties2) PassRef

func (x *DisplayModeProperties2) PassRef() (*C.VkDisplayModeProperties2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayModeProperties2) PassValue

func (x DisplayModeProperties2) PassValue() (C.VkDisplayModeProperties2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayModeProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPlaneAlphaFlagBits

type DisplayPlaneAlphaFlagBits int32

DisplayPlaneAlphaFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneAlphaFlagBitsKHR

const (
	DisplayPlaneAlphaOpaqueBit                DisplayPlaneAlphaFlagBits = 1
	DisplayPlaneAlphaGlobalBit                DisplayPlaneAlphaFlagBits = 2
	DisplayPlaneAlphaPerPixelBit              DisplayPlaneAlphaFlagBits = 4
	DisplayPlaneAlphaPerPixelPremultipliedBit DisplayPlaneAlphaFlagBits = 8
	DisplayPlaneAlphaFlagBitsMaxEnum          DisplayPlaneAlphaFlagBits = 2147483647
)

DisplayPlaneAlphaFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneAlphaFlagBitsKHR

type DisplayPlaneCapabilities

type DisplayPlaneCapabilities struct {
	SupportedAlpha DisplayPlaneAlphaFlags
	MinSrcPosition Offset2D
	MaxSrcPosition Offset2D
	MinSrcExtent   Extent2D
	MaxSrcExtent   Extent2D
	MinDstPosition Offset2D
	MaxDstPosition Offset2D
	MinDstExtent   Extent2D
	MaxDstExtent   Extent2D
	// contains filtered or unexported fields
}

DisplayPlaneCapabilities as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneCapabilitiesKHR

func NewDisplayPlaneCapabilitiesRef

func NewDisplayPlaneCapabilitiesRef(ref unsafe.Pointer) *DisplayPlaneCapabilities

NewDisplayPlaneCapabilitiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPlaneCapabilities) Deref

func (x *DisplayPlaneCapabilities) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPlaneCapabilities) Free

func (x *DisplayPlaneCapabilities) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPlaneCapabilities) PassRef

func (x *DisplayPlaneCapabilities) PassRef() (*C.VkDisplayPlaneCapabilitiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPlaneCapabilities) PassValue

func (x DisplayPlaneCapabilities) PassValue() (C.VkDisplayPlaneCapabilitiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPlaneCapabilities) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPlaneCapabilities2

type DisplayPlaneCapabilities2 struct {
	SType        StructureType
	PNext        unsafe.Pointer
	Capabilities DisplayPlaneCapabilities
	// contains filtered or unexported fields
}

DisplayPlaneCapabilities2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneCapabilities2KHR

func NewDisplayPlaneCapabilities2Ref

func NewDisplayPlaneCapabilities2Ref(ref unsafe.Pointer) *DisplayPlaneCapabilities2

NewDisplayPlaneCapabilities2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPlaneCapabilities2) Deref

func (x *DisplayPlaneCapabilities2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPlaneCapabilities2) Free

func (x *DisplayPlaneCapabilities2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPlaneCapabilities2) PassRef

func (x *DisplayPlaneCapabilities2) PassRef() (*C.VkDisplayPlaneCapabilities2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPlaneCapabilities2) PassValue

func (x DisplayPlaneCapabilities2) PassValue() (C.VkDisplayPlaneCapabilities2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPlaneCapabilities2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPlaneInfo2

type DisplayPlaneInfo2 struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Mode       DisplayMode
	PlaneIndex uint32
	// contains filtered or unexported fields
}

DisplayPlaneInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneInfo2KHR

func NewDisplayPlaneInfo2Ref

func NewDisplayPlaneInfo2Ref(ref unsafe.Pointer) *DisplayPlaneInfo2

NewDisplayPlaneInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPlaneInfo2) Deref

func (x *DisplayPlaneInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPlaneInfo2) Free

func (x *DisplayPlaneInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPlaneInfo2) PassRef

func (x *DisplayPlaneInfo2) PassRef() (*C.VkDisplayPlaneInfo2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPlaneInfo2) PassValue

func (x DisplayPlaneInfo2) PassValue() (C.VkDisplayPlaneInfo2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPlaneInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPlaneProperties

type DisplayPlaneProperties struct {
	CurrentDisplay    Display
	CurrentStackIndex uint32
	// contains filtered or unexported fields
}

DisplayPlaneProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlanePropertiesKHR

func NewDisplayPlanePropertiesRef

func NewDisplayPlanePropertiesRef(ref unsafe.Pointer) *DisplayPlaneProperties

NewDisplayPlanePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPlaneProperties) Deref

func (x *DisplayPlaneProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPlaneProperties) Free

func (x *DisplayPlaneProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPlaneProperties) PassRef

func (x *DisplayPlaneProperties) PassRef() (*C.VkDisplayPlanePropertiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPlaneProperties) PassValue

func (x DisplayPlaneProperties) PassValue() (C.VkDisplayPlanePropertiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPlaneProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPlaneProperties2

type DisplayPlaneProperties2 struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	DisplayPlaneProperties DisplayPlaneProperties
	// contains filtered or unexported fields
}

DisplayPlaneProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPlaneProperties2KHR

func NewDisplayPlaneProperties2Ref

func NewDisplayPlaneProperties2Ref(ref unsafe.Pointer) *DisplayPlaneProperties2

NewDisplayPlaneProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPlaneProperties2) Deref

func (x *DisplayPlaneProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPlaneProperties2) Free

func (x *DisplayPlaneProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPlaneProperties2) PassRef

func (x *DisplayPlaneProperties2) PassRef() (*C.VkDisplayPlaneProperties2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPlaneProperties2) PassValue

func (x DisplayPlaneProperties2) PassValue() (C.VkDisplayPlaneProperties2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPlaneProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPowerInfo

type DisplayPowerInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	PowerState DisplayPowerState
	// contains filtered or unexported fields
}

DisplayPowerInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayPowerInfoEXT.html

func NewDisplayPowerInfoRef

func NewDisplayPowerInfoRef(ref unsafe.Pointer) *DisplayPowerInfo

NewDisplayPowerInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPowerInfo) Deref

func (x *DisplayPowerInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPowerInfo) Free

func (x *DisplayPowerInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPowerInfo) PassRef

func (x *DisplayPowerInfo) PassRef() (*C.VkDisplayPowerInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPowerInfo) PassValue

func (x DisplayPowerInfo) PassValue() (C.VkDisplayPowerInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPowerInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayPowerState

type DisplayPowerState int32

DisplayPowerState as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayPowerStateEXT.html

const (
	DisplayPowerStateOff        DisplayPowerState = iota
	DisplayPowerStateSuspend    DisplayPowerState = 1
	DisplayPowerStateOn         DisplayPowerState = 2
	DisplayPowerStateBeginRange DisplayPowerState = 0
	DisplayPowerStateEndRange   DisplayPowerState = 2
	DisplayPowerStateRangeSize  DisplayPowerState = 3
	DisplayPowerStateMaxEnum    DisplayPowerState = 2147483647
)

DisplayPowerState enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDisplayPowerStateEXT.html

type DisplayPresentInfo

type DisplayPresentInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	SrcRect    Rect2D
	DstRect    Rect2D
	Persistent Bool32
	// contains filtered or unexported fields
}

DisplayPresentInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPresentInfoKHR

func NewDisplayPresentInfoRef

func NewDisplayPresentInfoRef(ref unsafe.Pointer) *DisplayPresentInfo

NewDisplayPresentInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayPresentInfo) Deref

func (x *DisplayPresentInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayPresentInfo) Free

func (x *DisplayPresentInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayPresentInfo) PassRef

func (x *DisplayPresentInfo) PassRef() (*C.VkDisplayPresentInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayPresentInfo) PassValue

func (x DisplayPresentInfo) PassValue() (C.VkDisplayPresentInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayPresentInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayProperties

type DisplayProperties struct {
	Display              Display
	DisplayName          string
	PhysicalDimensions   Extent2D
	PhysicalResolution   Extent2D
	SupportedTransforms  SurfaceTransformFlags
	PlaneReorderPossible Bool32
	PersistentContent    Bool32
	// contains filtered or unexported fields
}

DisplayProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayPropertiesKHR

func NewDisplayPropertiesRef

func NewDisplayPropertiesRef(ref unsafe.Pointer) *DisplayProperties

NewDisplayPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayProperties) Deref

func (x *DisplayProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayProperties) Free

func (x *DisplayProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayProperties) PassRef

func (x *DisplayProperties) PassRef() (*C.VkDisplayPropertiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayProperties) PassValue

func (x DisplayProperties) PassValue() (C.VkDisplayPropertiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplayProperties2

type DisplayProperties2 struct {
	SType             StructureType
	PNext             unsafe.Pointer
	DisplayProperties DisplayProperties
	// contains filtered or unexported fields
}

DisplayProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplayProperties2KHR

func NewDisplayProperties2Ref

func NewDisplayProperties2Ref(ref unsafe.Pointer) *DisplayProperties2

NewDisplayProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplayProperties2) Deref

func (x *DisplayProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplayProperties2) Free

func (x *DisplayProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplayProperties2) PassRef

func (x *DisplayProperties2) PassRef() (*C.VkDisplayProperties2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplayProperties2) PassValue

func (x DisplayProperties2) PassValue() (C.VkDisplayProperties2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplayProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DisplaySurfaceCreateInfo

type DisplaySurfaceCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           DisplaySurfaceCreateFlags
	DisplayMode     DisplayMode
	PlaneIndex      uint32
	PlaneStackIndex uint32
	Transform       SurfaceTransformFlagBits
	GlobalAlpha     float32
	AlphaMode       DisplayPlaneAlphaFlagBits
	ImageExtent     Extent2D
	// contains filtered or unexported fields
}

DisplaySurfaceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDisplaySurfaceCreateInfoKHR

func NewDisplaySurfaceCreateInfoRef

func NewDisplaySurfaceCreateInfoRef(ref unsafe.Pointer) *DisplaySurfaceCreateInfo

NewDisplaySurfaceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DisplaySurfaceCreateInfo) Deref

func (x *DisplaySurfaceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DisplaySurfaceCreateInfo) Free

func (x *DisplaySurfaceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DisplaySurfaceCreateInfo) PassRef

func (x *DisplaySurfaceCreateInfo) PassRef() (*C.VkDisplaySurfaceCreateInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DisplaySurfaceCreateInfo) PassValue

func (x DisplaySurfaceCreateInfo) PassValue() (C.VkDisplaySurfaceCreateInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DisplaySurfaceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DrawIndexedIndirectCommand

type DrawIndexedIndirectCommand struct {
	IndexCount    uint32
	InstanceCount uint32
	FirstIndex    uint32
	VertexOffset  int32
	FirstInstance uint32
	// contains filtered or unexported fields
}

DrawIndexedIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrawIndexedIndirectCommand.html

func NewDrawIndexedIndirectCommandRef

func NewDrawIndexedIndirectCommandRef(ref unsafe.Pointer) *DrawIndexedIndirectCommand

NewDrawIndexedIndirectCommandRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DrawIndexedIndirectCommand) Deref

func (x *DrawIndexedIndirectCommand) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DrawIndexedIndirectCommand) Free

func (x *DrawIndexedIndirectCommand) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DrawIndexedIndirectCommand) PassRef

func (x *DrawIndexedIndirectCommand) PassRef() (*C.VkDrawIndexedIndirectCommand, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DrawIndexedIndirectCommand) PassValue

func (x DrawIndexedIndirectCommand) PassValue() (C.VkDrawIndexedIndirectCommand, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DrawIndexedIndirectCommand) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DrawIndirectCommand

type DrawIndirectCommand struct {
	VertexCount   uint32
	InstanceCount uint32
	FirstVertex   uint32
	FirstInstance uint32
	// contains filtered or unexported fields
}

DrawIndirectCommand as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrawIndirectCommand.html

func NewDrawIndirectCommandRef

func NewDrawIndirectCommandRef(ref unsafe.Pointer) *DrawIndirectCommand

NewDrawIndirectCommandRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DrawIndirectCommand) Deref

func (x *DrawIndirectCommand) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DrawIndirectCommand) Free

func (x *DrawIndirectCommand) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DrawIndirectCommand) PassRef

func (x *DrawIndirectCommand) PassRef() (*C.VkDrawIndirectCommand, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DrawIndirectCommand) PassValue

func (x DrawIndirectCommand) PassValue() (C.VkDrawIndirectCommand, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DrawIndirectCommand) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DrawMeshTasksIndirectCommandNV

type DrawMeshTasksIndirectCommandNV struct {
	TaskCount uint32
	FirstTask uint32
	// contains filtered or unexported fields
}

DrawMeshTasksIndirectCommandNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrawMeshTasksIndirectCommandNV.html

func NewDrawMeshTasksIndirectCommandNVRef

func NewDrawMeshTasksIndirectCommandNVRef(ref unsafe.Pointer) *DrawMeshTasksIndirectCommandNV

NewDrawMeshTasksIndirectCommandNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DrawMeshTasksIndirectCommandNV) Deref

func (x *DrawMeshTasksIndirectCommandNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DrawMeshTasksIndirectCommandNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DrawMeshTasksIndirectCommandNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DrawMeshTasksIndirectCommandNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DrawMeshTasksIndirectCommandNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DriverId

type DriverId int32

DriverId as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDriverIdKHR

const (
	DriverIdAmdProprietary          DriverId = 1
	DriverIdAmdOpenSource           DriverId = 2
	DriverIdMesaRadv                DriverId = 3
	DriverIdNvidiaProprietary       DriverId = 4
	DriverIdIntelProprietaryWindows DriverId = 5
	DriverIdIntelOpenSourceMesa     DriverId = 6
	DriverIdImaginationProprietary  DriverId = 7
	DriverIdQualcommProprietary     DriverId = 8
	DriverIdArmProprietary          DriverId = 9
	DriverIdBeginRange              DriverId = 1
	DriverIdEndRange                DriverId = 9
	DriverIdRangeSize               DriverId = 9
	DriverIdMaxEnum                 DriverId = 2147483647
)

DriverId enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkDriverIdKHR

type DrmFormatModifierProperties

type DrmFormatModifierProperties struct {
	DrmFormatModifier               uint64
	DrmFormatModifierPlaneCount     uint32
	DrmFormatModifierTilingFeatures FormatFeatureFlags
	// contains filtered or unexported fields
}

DrmFormatModifierProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrmFormatModifierPropertiesEXT.html

func NewDrmFormatModifierPropertiesRef

func NewDrmFormatModifierPropertiesRef(ref unsafe.Pointer) *DrmFormatModifierProperties

NewDrmFormatModifierPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DrmFormatModifierProperties) Deref

func (x *DrmFormatModifierProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DrmFormatModifierProperties) Free

func (x *DrmFormatModifierProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DrmFormatModifierProperties) PassRef

func (x *DrmFormatModifierProperties) PassRef() (*C.VkDrmFormatModifierPropertiesEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DrmFormatModifierProperties) PassValue

func (x DrmFormatModifierProperties) PassValue() (C.VkDrmFormatModifierPropertiesEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DrmFormatModifierProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DrmFormatModifierPropertiesList

type DrmFormatModifierPropertiesList struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	DrmFormatModifierCount       uint32
	PDrmFormatModifierProperties []DrmFormatModifierProperties
	// contains filtered or unexported fields
}

DrmFormatModifierPropertiesList as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDrmFormatModifierPropertiesListEXT.html

func NewDrmFormatModifierPropertiesListRef

func NewDrmFormatModifierPropertiesListRef(ref unsafe.Pointer) *DrmFormatModifierPropertiesList

NewDrmFormatModifierPropertiesListRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*DrmFormatModifierPropertiesList) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*DrmFormatModifierPropertiesList) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*DrmFormatModifierPropertiesList) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (DrmFormatModifierPropertiesList) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*DrmFormatModifierPropertiesList) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type DynamicState

type DynamicState int32

DynamicState as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDynamicState.html

const (
	DynamicStateViewport                     DynamicState = iota
	DynamicStateScissor                      DynamicState = 1
	DynamicStateLineWidth                    DynamicState = 2
	DynamicStateDepthBias                    DynamicState = 3
	DynamicStateBlendConstants               DynamicState = 4
	DynamicStateDepthBounds                  DynamicState = 5
	DynamicStateStencilCompareMask           DynamicState = 6
	DynamicStateStencilWriteMask             DynamicState = 7
	DynamicStateStencilReference             DynamicState = 8
	DynamicStateViewportWScalingNv           DynamicState = 1000087000
	DynamicStateDiscardRectangle             DynamicState = 1000099000
	DynamicStateSampleLocations              DynamicState = 1000143000
	DynamicStateViewportShadingRatePaletteNv DynamicState = 1000164004
	DynamicStateViewportCoarseSampleOrderNv  DynamicState = 1000164006
	DynamicStateExclusiveScissorNv           DynamicState = 1000205001
	DynamicStateBeginRange                   DynamicState = 0
	DynamicStateEndRange                     DynamicState = 8
	DynamicStateRangeSize                    DynamicState = 9
	DynamicStateMaxEnum                      DynamicState = 2147483647
)

DynamicState enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkDynamicState.html

type EventCreateInfo

type EventCreateInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	Flags EventCreateFlags
	// contains filtered or unexported fields
}

EventCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkEventCreateInfo.html

func NewEventCreateInfoRef

func NewEventCreateInfoRef(ref unsafe.Pointer) *EventCreateInfo

NewEventCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*EventCreateInfo) Deref

func (x *EventCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*EventCreateInfo) Free

func (x *EventCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*EventCreateInfo) PassRef

func (x *EventCreateInfo) PassRef() (*C.VkEventCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (EventCreateInfo) PassValue

func (x EventCreateInfo) PassValue() (C.VkEventCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*EventCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExportFenceCreateInfo

type ExportFenceCreateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalFenceHandleTypeFlags
	// contains filtered or unexported fields
}

ExportFenceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExportFenceCreateInfo.html

func NewExportFenceCreateInfoRef

func NewExportFenceCreateInfoRef(ref unsafe.Pointer) *ExportFenceCreateInfo

NewExportFenceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExportFenceCreateInfo) Deref

func (x *ExportFenceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExportFenceCreateInfo) Free

func (x *ExportFenceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExportFenceCreateInfo) PassRef

func (x *ExportFenceCreateInfo) PassRef() (*C.VkExportFenceCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExportFenceCreateInfo) PassValue

func (x ExportFenceCreateInfo) PassValue() (C.VkExportFenceCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExportFenceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExportMemoryAllocateInfo

type ExportMemoryAllocateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
	// contains filtered or unexported fields
}

ExportMemoryAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExportMemoryAllocateInfo.html

func NewExportMemoryAllocateInfoRef

func NewExportMemoryAllocateInfoRef(ref unsafe.Pointer) *ExportMemoryAllocateInfo

NewExportMemoryAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExportMemoryAllocateInfo) Deref

func (x *ExportMemoryAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExportMemoryAllocateInfo) Free

func (x *ExportMemoryAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExportMemoryAllocateInfo) PassRef

func (x *ExportMemoryAllocateInfo) PassRef() (*C.VkExportMemoryAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExportMemoryAllocateInfo) PassValue

func (x ExportMemoryAllocateInfo) PassValue() (C.VkExportMemoryAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExportMemoryAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExportMemoryAllocateInfoNV

type ExportMemoryAllocateInfoNV struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlagsNV
	// contains filtered or unexported fields
}

ExportMemoryAllocateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExportMemoryAllocateInfoNV.html

func NewExportMemoryAllocateInfoNVRef

func NewExportMemoryAllocateInfoNVRef(ref unsafe.Pointer) *ExportMemoryAllocateInfoNV

NewExportMemoryAllocateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExportMemoryAllocateInfoNV) Deref

func (x *ExportMemoryAllocateInfoNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExportMemoryAllocateInfoNV) Free

func (x *ExportMemoryAllocateInfoNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExportMemoryAllocateInfoNV) PassRef

func (x *ExportMemoryAllocateInfoNV) PassRef() (*C.VkExportMemoryAllocateInfoNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExportMemoryAllocateInfoNV) PassValue

func (x ExportMemoryAllocateInfoNV) PassValue() (C.VkExportMemoryAllocateInfoNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExportMemoryAllocateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExportSemaphoreCreateInfo

type ExportSemaphoreCreateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalSemaphoreHandleTypeFlags
	// contains filtered or unexported fields
}

ExportSemaphoreCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExportSemaphoreCreateInfo.html

func NewExportSemaphoreCreateInfoRef

func NewExportSemaphoreCreateInfoRef(ref unsafe.Pointer) *ExportSemaphoreCreateInfo

NewExportSemaphoreCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExportSemaphoreCreateInfo) Deref

func (x *ExportSemaphoreCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExportSemaphoreCreateInfo) Free

func (x *ExportSemaphoreCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExportSemaphoreCreateInfo) PassRef

func (x *ExportSemaphoreCreateInfo) PassRef() (*C.VkExportSemaphoreCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExportSemaphoreCreateInfo) PassValue

func (x ExportSemaphoreCreateInfo) PassValue() (C.VkExportSemaphoreCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExportSemaphoreCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExtensionProperties

type ExtensionProperties struct {
	ExtensionName [256]byte
	SpecVersion   uint32
	// contains filtered or unexported fields
}

ExtensionProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtensionProperties.html

func NewExtensionPropertiesRef

func NewExtensionPropertiesRef(ref unsafe.Pointer) *ExtensionProperties

NewExtensionPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExtensionProperties) Deref

func (x *ExtensionProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExtensionProperties) Free

func (x *ExtensionProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExtensionProperties) PassRef

func (x *ExtensionProperties) PassRef() (*C.VkExtensionProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExtensionProperties) PassValue

func (x ExtensionProperties) PassValue() (C.VkExtensionProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExtensionProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type Extent2D

type Extent2D struct {
	Width  uint32
	Height uint32
	// contains filtered or unexported fields
}

Extent2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtent2D.html

func NewExtent2DRef

func NewExtent2DRef(ref unsafe.Pointer) *Extent2D

NewExtent2DRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Extent2D) Deref

func (x *Extent2D) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Extent2D) Free

func (x *Extent2D) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Extent2D) PassRef

func (x *Extent2D) PassRef() (*C.VkExtent2D, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Extent2D) PassValue

func (x Extent2D) PassValue() (C.VkExtent2D, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Extent2D) Ref

func (x *Extent2D) Ref() *C.VkExtent2D

Ref returns the underlying reference to C object or nil if struct is nil.

type Extent3D

type Extent3D struct {
	Width  uint32
	Height uint32
	Depth  uint32
	// contains filtered or unexported fields
}

Extent3D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExtent3D.html

func NewExtent3DRef

func NewExtent3DRef(ref unsafe.Pointer) *Extent3D

NewExtent3DRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Extent3D) Deref

func (x *Extent3D) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Extent3D) Free

func (x *Extent3D) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Extent3D) PassRef

func (x *Extent3D) PassRef() (*C.VkExtent3D, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Extent3D) PassValue

func (x Extent3D) PassValue() (C.VkExtent3D, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Extent3D) Ref

func (x *Extent3D) Ref() *C.VkExtent3D

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalBufferProperties

type ExternalBufferProperties struct {
	SType                    StructureType
	PNext                    unsafe.Pointer
	ExternalMemoryProperties ExternalMemoryProperties
	// contains filtered or unexported fields
}

ExternalBufferProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalBufferProperties.html

func NewExternalBufferPropertiesRef

func NewExternalBufferPropertiesRef(ref unsafe.Pointer) *ExternalBufferProperties

NewExternalBufferPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalBufferProperties) Deref

func (x *ExternalBufferProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalBufferProperties) Free

func (x *ExternalBufferProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalBufferProperties) PassRef

func (x *ExternalBufferProperties) PassRef() (*C.VkExternalBufferProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalBufferProperties) PassValue

func (x ExternalBufferProperties) PassValue() (C.VkExternalBufferProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalBufferProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalFenceFeatureFlagBits

type ExternalFenceFeatureFlagBits int32

ExternalFenceFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceFeatureFlagBits.html

const (
	ExternalFenceFeatureExportableBit   ExternalFenceFeatureFlagBits = 1
	ExternalFenceFeatureImportableBit   ExternalFenceFeatureFlagBits = 2
	ExternalFenceFeatureFlagBitsMaxEnum ExternalFenceFeatureFlagBits = 2147483647
)

ExternalFenceFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceFeatureFlagBits.html

type ExternalFenceFeatureFlags

type ExternalFenceFeatureFlags uint32

ExternalFenceFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceFeatureFlags.html

type ExternalFenceHandleTypeFlagBits

type ExternalFenceHandleTypeFlagBits int32

ExternalFenceHandleTypeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceHandleTypeFlagBits.html

const (
	ExternalFenceHandleTypeOpaqueFdBit       ExternalFenceHandleTypeFlagBits = 1
	ExternalFenceHandleTypeOpaqueWin32Bit    ExternalFenceHandleTypeFlagBits = 2
	ExternalFenceHandleTypeOpaqueWin32KmtBit ExternalFenceHandleTypeFlagBits = 4
	ExternalFenceHandleTypeSyncFdBit         ExternalFenceHandleTypeFlagBits = 8
	ExternalFenceHandleTypeFlagBitsMaxEnum   ExternalFenceHandleTypeFlagBits = 2147483647
)

ExternalFenceHandleTypeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceHandleTypeFlagBits.html

type ExternalFenceHandleTypeFlags

type ExternalFenceHandleTypeFlags uint32

ExternalFenceHandleTypeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceHandleTypeFlags.html

type ExternalFenceProperties

type ExternalFenceProperties struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	ExportFromImportedHandleTypes ExternalFenceHandleTypeFlags
	CompatibleHandleTypes         ExternalFenceHandleTypeFlags
	ExternalFenceFeatures         ExternalFenceFeatureFlags
	// contains filtered or unexported fields
}

ExternalFenceProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalFenceProperties.html

func NewExternalFencePropertiesRef

func NewExternalFencePropertiesRef(ref unsafe.Pointer) *ExternalFenceProperties

NewExternalFencePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalFenceProperties) Deref

func (x *ExternalFenceProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalFenceProperties) Free

func (x *ExternalFenceProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalFenceProperties) PassRef

func (x *ExternalFenceProperties) PassRef() (*C.VkExternalFenceProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalFenceProperties) PassValue

func (x ExternalFenceProperties) PassValue() (C.VkExternalFenceProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalFenceProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalImageFormatProperties

type ExternalImageFormatProperties struct {
	SType                    StructureType
	PNext                    unsafe.Pointer
	ExternalMemoryProperties ExternalMemoryProperties
	// contains filtered or unexported fields
}

ExternalImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalImageFormatProperties.html

func NewExternalImageFormatPropertiesRef

func NewExternalImageFormatPropertiesRef(ref unsafe.Pointer) *ExternalImageFormatProperties

NewExternalImageFormatPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalImageFormatProperties) Deref

func (x *ExternalImageFormatProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalImageFormatProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalImageFormatProperties) PassRef

func (x *ExternalImageFormatProperties) PassRef() (*C.VkExternalImageFormatProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalImageFormatProperties) PassValue

func (x ExternalImageFormatProperties) PassValue() (C.VkExternalImageFormatProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalImageFormatProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalImageFormatPropertiesNV

type ExternalImageFormatPropertiesNV struct {
	ImageFormatProperties         ImageFormatProperties
	ExternalMemoryFeatures        ExternalMemoryFeatureFlagsNV
	ExportFromImportedHandleTypes ExternalMemoryHandleTypeFlagsNV
	CompatibleHandleTypes         ExternalMemoryHandleTypeFlagsNV
	// contains filtered or unexported fields
}

ExternalImageFormatPropertiesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalImageFormatPropertiesNV.html

func NewExternalImageFormatPropertiesNVRef

func NewExternalImageFormatPropertiesNVRef(ref unsafe.Pointer) *ExternalImageFormatPropertiesNV

NewExternalImageFormatPropertiesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalImageFormatPropertiesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalImageFormatPropertiesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalImageFormatPropertiesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalImageFormatPropertiesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalImageFormatPropertiesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalMemoryBufferCreateInfo

type ExternalMemoryBufferCreateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
	// contains filtered or unexported fields
}

ExternalMemoryBufferCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryBufferCreateInfo.html

func NewExternalMemoryBufferCreateInfoRef

func NewExternalMemoryBufferCreateInfoRef(ref unsafe.Pointer) *ExternalMemoryBufferCreateInfo

NewExternalMemoryBufferCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalMemoryBufferCreateInfo) Deref

func (x *ExternalMemoryBufferCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalMemoryBufferCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalMemoryBufferCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalMemoryBufferCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalMemoryBufferCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalMemoryFeatureFlagBits

type ExternalMemoryFeatureFlagBits int32

ExternalMemoryFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlagBits.html

const (
	ExternalMemoryFeatureDedicatedOnlyBit ExternalMemoryFeatureFlagBits = 1
	ExternalMemoryFeatureExportableBit    ExternalMemoryFeatureFlagBits = 2
	ExternalMemoryFeatureImportableBit    ExternalMemoryFeatureFlagBits = 4
	ExternalMemoryFeatureFlagBitsMaxEnum  ExternalMemoryFeatureFlagBits = 2147483647
)

ExternalMemoryFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlagBits.html

type ExternalMemoryFeatureFlagBitsNV

type ExternalMemoryFeatureFlagBitsNV int32

ExternalMemoryFeatureFlagBitsNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlagBitsNV.html

const (
	ExternalMemoryFeatureDedicatedOnlyBitNv ExternalMemoryFeatureFlagBitsNV = 1
	ExternalMemoryFeatureExportableBitNv    ExternalMemoryFeatureFlagBitsNV = 2
	ExternalMemoryFeatureImportableBitNv    ExternalMemoryFeatureFlagBitsNV = 4
	ExternalMemoryFeatureFlagBitsMaxEnumNv  ExternalMemoryFeatureFlagBitsNV = 2147483647
)

ExternalMemoryFeatureFlagBitsNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlagBitsNV.html

type ExternalMemoryFeatureFlags

type ExternalMemoryFeatureFlags uint32

ExternalMemoryFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlags.html

type ExternalMemoryFeatureFlagsNV

type ExternalMemoryFeatureFlagsNV uint32

ExternalMemoryFeatureFlagsNV type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryFeatureFlagsNV.html

type ExternalMemoryHandleTypeFlagBits

type ExternalMemoryHandleTypeFlagBits int32

ExternalMemoryHandleTypeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlagBits.html

const (
	ExternalMemoryHandleTypeOpaqueFdBit                     ExternalMemoryHandleTypeFlagBits = 1
	ExternalMemoryHandleTypeOpaqueWin32Bit                  ExternalMemoryHandleTypeFlagBits = 2
	ExternalMemoryHandleTypeOpaqueWin32KmtBit               ExternalMemoryHandleTypeFlagBits = 4
	ExternalMemoryHandleTypeD3d11TextureBit                 ExternalMemoryHandleTypeFlagBits = 8
	ExternalMemoryHandleTypeD3d11TextureKmtBit              ExternalMemoryHandleTypeFlagBits = 16
	ExternalMemoryHandleTypeD3d12HeapBit                    ExternalMemoryHandleTypeFlagBits = 32
	ExternalMemoryHandleTypeD3d12ResourceBit                ExternalMemoryHandleTypeFlagBits = 64
	ExternalMemoryHandleTypeDmaBufBit                       ExternalMemoryHandleTypeFlagBits = 512
	ExternalMemoryHandleTypeAndroidHardwareBufferBitAndroid ExternalMemoryHandleTypeFlagBits = 1024
	ExternalMemoryHandleTypeHostAllocationBit               ExternalMemoryHandleTypeFlagBits = 128
	ExternalMemoryHandleTypeHostMappedForeignMemoryBit      ExternalMemoryHandleTypeFlagBits = 256
	ExternalMemoryHandleTypeFlagBitsMaxEnum                 ExternalMemoryHandleTypeFlagBits = 2147483647
)

ExternalMemoryHandleTypeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlagBits.html

type ExternalMemoryHandleTypeFlagBitsNV

type ExternalMemoryHandleTypeFlagBitsNV int32

ExternalMemoryHandleTypeFlagBitsNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlagBitsNV.html

const (
	ExternalMemoryHandleTypeOpaqueWin32BitNv    ExternalMemoryHandleTypeFlagBitsNV = 1
	ExternalMemoryHandleTypeOpaqueWin32KmtBitNv ExternalMemoryHandleTypeFlagBitsNV = 2
	ExternalMemoryHandleTypeD3d11ImageBitNv     ExternalMemoryHandleTypeFlagBitsNV = 4
	ExternalMemoryHandleTypeD3d11ImageKmtBitNv  ExternalMemoryHandleTypeFlagBitsNV = 8
	ExternalMemoryHandleTypeFlagBitsMaxEnumNv   ExternalMemoryHandleTypeFlagBitsNV = 2147483647
)

ExternalMemoryHandleTypeFlagBitsNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlagBitsNV.html

type ExternalMemoryHandleTypeFlags

type ExternalMemoryHandleTypeFlags uint32

ExternalMemoryHandleTypeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlags.html

type ExternalMemoryHandleTypeFlagsNV

type ExternalMemoryHandleTypeFlagsNV uint32

ExternalMemoryHandleTypeFlagsNV type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryHandleTypeFlagsNV.html

type ExternalMemoryImageCreateInfo

type ExternalMemoryImageCreateInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlags
	// contains filtered or unexported fields
}

ExternalMemoryImageCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryImageCreateInfo.html

func NewExternalMemoryImageCreateInfoRef

func NewExternalMemoryImageCreateInfoRef(ref unsafe.Pointer) *ExternalMemoryImageCreateInfo

NewExternalMemoryImageCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalMemoryImageCreateInfo) Deref

func (x *ExternalMemoryImageCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalMemoryImageCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalMemoryImageCreateInfo) PassRef

func (x *ExternalMemoryImageCreateInfo) PassRef() (*C.VkExternalMemoryImageCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalMemoryImageCreateInfo) PassValue

func (x ExternalMemoryImageCreateInfo) PassValue() (C.VkExternalMemoryImageCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalMemoryImageCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalMemoryImageCreateInfoNV

type ExternalMemoryImageCreateInfoNV struct {
	SType       StructureType
	PNext       unsafe.Pointer
	HandleTypes ExternalMemoryHandleTypeFlagsNV
	// contains filtered or unexported fields
}

ExternalMemoryImageCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryImageCreateInfoNV.html

func NewExternalMemoryImageCreateInfoNVRef

func NewExternalMemoryImageCreateInfoNVRef(ref unsafe.Pointer) *ExternalMemoryImageCreateInfoNV

NewExternalMemoryImageCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalMemoryImageCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalMemoryImageCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalMemoryImageCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalMemoryImageCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalMemoryImageCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalMemoryProperties

type ExternalMemoryProperties struct {
	ExternalMemoryFeatures        ExternalMemoryFeatureFlags
	ExportFromImportedHandleTypes ExternalMemoryHandleTypeFlags
	CompatibleHandleTypes         ExternalMemoryHandleTypeFlags
	// contains filtered or unexported fields
}

ExternalMemoryProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalMemoryProperties.html

func NewExternalMemoryPropertiesRef

func NewExternalMemoryPropertiesRef(ref unsafe.Pointer) *ExternalMemoryProperties

NewExternalMemoryPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalMemoryProperties) Deref

func (x *ExternalMemoryProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalMemoryProperties) Free

func (x *ExternalMemoryProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalMemoryProperties) PassRef

func (x *ExternalMemoryProperties) PassRef() (*C.VkExternalMemoryProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalMemoryProperties) PassValue

func (x ExternalMemoryProperties) PassValue() (C.VkExternalMemoryProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalMemoryProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ExternalSemaphoreFeatureFlagBits

type ExternalSemaphoreFeatureFlagBits int32

ExternalSemaphoreFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreFeatureFlagBits.html

const (
	ExternalSemaphoreFeatureExportableBit   ExternalSemaphoreFeatureFlagBits = 1
	ExternalSemaphoreFeatureImportableBit   ExternalSemaphoreFeatureFlagBits = 2
	ExternalSemaphoreFeatureFlagBitsMaxEnum ExternalSemaphoreFeatureFlagBits = 2147483647
)

ExternalSemaphoreFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreFeatureFlagBits.html

type ExternalSemaphoreFeatureFlags

type ExternalSemaphoreFeatureFlags uint32

ExternalSemaphoreFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreFeatureFlags.html

type ExternalSemaphoreHandleTypeFlagBits

type ExternalSemaphoreHandleTypeFlagBits int32

ExternalSemaphoreHandleTypeFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreHandleTypeFlagBits.html

const (
	ExternalSemaphoreHandleTypeOpaqueFdBit       ExternalSemaphoreHandleTypeFlagBits = 1
	ExternalSemaphoreHandleTypeOpaqueWin32Bit    ExternalSemaphoreHandleTypeFlagBits = 2
	ExternalSemaphoreHandleTypeOpaqueWin32KmtBit ExternalSemaphoreHandleTypeFlagBits = 4
	ExternalSemaphoreHandleTypeD3d12FenceBit     ExternalSemaphoreHandleTypeFlagBits = 8
	ExternalSemaphoreHandleTypeSyncFdBit         ExternalSemaphoreHandleTypeFlagBits = 16
	ExternalSemaphoreHandleTypeFlagBitsMaxEnum   ExternalSemaphoreHandleTypeFlagBits = 2147483647
)

ExternalSemaphoreHandleTypeFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreHandleTypeFlagBits.html

type ExternalSemaphoreHandleTypeFlags

type ExternalSemaphoreHandleTypeFlags uint32

ExternalSemaphoreHandleTypeFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreHandleTypeFlags.html

type ExternalSemaphoreProperties

type ExternalSemaphoreProperties struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	ExportFromImportedHandleTypes ExternalSemaphoreHandleTypeFlags
	CompatibleHandleTypes         ExternalSemaphoreHandleTypeFlags
	ExternalSemaphoreFeatures     ExternalSemaphoreFeatureFlags
	// contains filtered or unexported fields
}

ExternalSemaphoreProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkExternalSemaphoreProperties.html

func NewExternalSemaphorePropertiesRef

func NewExternalSemaphorePropertiesRef(ref unsafe.Pointer) *ExternalSemaphoreProperties

NewExternalSemaphorePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ExternalSemaphoreProperties) Deref

func (x *ExternalSemaphoreProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ExternalSemaphoreProperties) Free

func (x *ExternalSemaphoreProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ExternalSemaphoreProperties) PassRef

func (x *ExternalSemaphoreProperties) PassRef() (*C.VkExternalSemaphoreProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ExternalSemaphoreProperties) PassValue

func (x ExternalSemaphoreProperties) PassValue() (C.VkExternalSemaphoreProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ExternalSemaphoreProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FenceCreateFlagBits

type FenceCreateFlagBits int32

FenceCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceCreateFlagBits.html

const (
	FenceCreateSignaledBit     FenceCreateFlagBits = 1
	FenceCreateFlagBitsMaxEnum FenceCreateFlagBits = 2147483647
)

FenceCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceCreateFlagBits.html

type FenceCreateInfo

type FenceCreateInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	Flags FenceCreateFlags
	// contains filtered or unexported fields
}

FenceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceCreateInfo.html

func NewFenceCreateInfoRef

func NewFenceCreateInfoRef(ref unsafe.Pointer) *FenceCreateInfo

NewFenceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*FenceCreateInfo) Deref

func (x *FenceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*FenceCreateInfo) Free

func (x *FenceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*FenceCreateInfo) PassRef

func (x *FenceCreateInfo) PassRef() (*C.VkFenceCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (FenceCreateInfo) PassValue

func (x FenceCreateInfo) PassValue() (C.VkFenceCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*FenceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FenceGetFdInfo

type FenceGetFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Fence      Fence
	HandleType ExternalFenceHandleTypeFlagBits
	// contains filtered or unexported fields
}

FenceGetFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkFenceGetFdInfoKHR

func NewFenceGetFdInfoRef

func NewFenceGetFdInfoRef(ref unsafe.Pointer) *FenceGetFdInfo

NewFenceGetFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*FenceGetFdInfo) Deref

func (x *FenceGetFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*FenceGetFdInfo) Free

func (x *FenceGetFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*FenceGetFdInfo) PassRef

func (x *FenceGetFdInfo) PassRef() (*C.VkFenceGetFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (FenceGetFdInfo) PassValue

func (x FenceGetFdInfo) PassValue() (C.VkFenceGetFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*FenceGetFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FenceImportFlagBits

type FenceImportFlagBits int32

FenceImportFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceImportFlagBits.html

const (
	FenceImportTemporaryBit    FenceImportFlagBits = 1
	FenceImportFlagBitsMaxEnum FenceImportFlagBits = 2147483647
)

FenceImportFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFenceImportFlagBits.html

type Filter

type Filter int32

Filter as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFilter.html

const (
	FilterNearest    Filter = iota
	FilterLinear     Filter = 1
	FilterCubicImg   Filter = 1000015000
	FilterBeginRange Filter = 0
	FilterEndRange   Filter = 1
	FilterRangeSize  Filter = 2
	FilterMaxEnum    Filter = 2147483647
)

Filter enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFilter.html

type Format

type Format int32

Format as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormat.html

const (
	FormatUndefined                            Format = iota
	FormatR4g4UnormPack8                       Format = 1
	FormatR4g4b4a4UnormPack16                  Format = 2
	FormatB4g4r4a4UnormPack16                  Format = 3
	FormatR5g6b5UnormPack16                    Format = 4
	FormatB5g6r5UnormPack16                    Format = 5
	FormatR5g5b5a1UnormPack16                  Format = 6
	FormatB5g5r5a1UnormPack16                  Format = 7
	FormatA1r5g5b5UnormPack16                  Format = 8
	FormatR8Unorm                              Format = 9
	FormatR8Snorm                              Format = 10
	FormatR8Uscaled                            Format = 11
	FormatR8Sscaled                            Format = 12
	FormatR8Uint                               Format = 13
	FormatR8Sint                               Format = 14
	FormatR8Srgb                               Format = 15
	FormatR8g8Unorm                            Format = 16
	FormatR8g8Snorm                            Format = 17
	FormatR8g8Uscaled                          Format = 18
	FormatR8g8Sscaled                          Format = 19
	FormatR8g8Uint                             Format = 20
	FormatR8g8Sint                             Format = 21
	FormatR8g8Srgb                             Format = 22
	FormatR8g8b8Unorm                          Format = 23
	FormatR8g8b8Snorm                          Format = 24
	FormatR8g8b8Uscaled                        Format = 25
	FormatR8g8b8Sscaled                        Format = 26
	FormatR8g8b8Uint                           Format = 27
	FormatR8g8b8Sint                           Format = 28
	FormatR8g8b8Srgb                           Format = 29
	FormatB8g8r8Unorm                          Format = 30
	FormatB8g8r8Snorm                          Format = 31
	FormatB8g8r8Uscaled                        Format = 32
	FormatB8g8r8Sscaled                        Format = 33
	FormatB8g8r8Uint                           Format = 34
	FormatB8g8r8Sint                           Format = 35
	FormatB8g8r8Srgb                           Format = 36
	FormatR8g8b8a8Unorm                        Format = 37
	FormatR8g8b8a8Snorm                        Format = 38
	FormatR8g8b8a8Uscaled                      Format = 39
	FormatR8g8b8a8Sscaled                      Format = 40
	FormatR8g8b8a8Uint                         Format = 41
	FormatR8g8b8a8Sint                         Format = 42
	FormatR8g8b8a8Srgb                         Format = 43
	FormatB8g8r8a8Unorm                        Format = 44
	FormatB8g8r8a8Snorm                        Format = 45
	FormatB8g8r8a8Uscaled                      Format = 46
	FormatB8g8r8a8Sscaled                      Format = 47
	FormatB8g8r8a8Uint                         Format = 48
	FormatB8g8r8a8Sint                         Format = 49
	FormatB8g8r8a8Srgb                         Format = 50
	FormatA8b8g8r8UnormPack32                  Format = 51
	FormatA8b8g8r8SnormPack32                  Format = 52
	FormatA8b8g8r8UscaledPack32                Format = 53
	FormatA8b8g8r8SscaledPack32                Format = 54
	FormatA8b8g8r8UintPack32                   Format = 55
	FormatA8b8g8r8SintPack32                   Format = 56
	FormatA8b8g8r8SrgbPack32                   Format = 57
	FormatA2r10g10b10UnormPack32               Format = 58
	FormatA2r10g10b10SnormPack32               Format = 59
	FormatA2r10g10b10UscaledPack32             Format = 60
	FormatA2r10g10b10SscaledPack32             Format = 61
	FormatA2r10g10b10UintPack32                Format = 62
	FormatA2r10g10b10SintPack32                Format = 63
	FormatA2b10g10r10UnormPack32               Format = 64
	FormatA2b10g10r10SnormPack32               Format = 65
	FormatA2b10g10r10UscaledPack32             Format = 66
	FormatA2b10g10r10SscaledPack32             Format = 67
	FormatA2b10g10r10UintPack32                Format = 68
	FormatA2b10g10r10SintPack32                Format = 69
	FormatR16Unorm                             Format = 70
	FormatR16Snorm                             Format = 71
	FormatR16Uscaled                           Format = 72
	FormatR16Sscaled                           Format = 73
	FormatR16Uint                              Format = 74
	FormatR16Sint                              Format = 75
	FormatR16Sfloat                            Format = 76
	FormatR16g16Unorm                          Format = 77
	FormatR16g16Snorm                          Format = 78
	FormatR16g16Uscaled                        Format = 79
	FormatR16g16Sscaled                        Format = 80
	FormatR16g16Uint                           Format = 81
	FormatR16g16Sint                           Format = 82
	FormatR16g16Sfloat                         Format = 83
	FormatR16g16b16Unorm                       Format = 84
	FormatR16g16b16Snorm                       Format = 85
	FormatR16g16b16Uscaled                     Format = 86
	FormatR16g16b16Sscaled                     Format = 87
	FormatR16g16b16Uint                        Format = 88
	FormatR16g16b16Sint                        Format = 89
	FormatR16g16b16Sfloat                      Format = 90
	FormatR16g16b16a16Unorm                    Format = 91
	FormatR16g16b16a16Snorm                    Format = 92
	FormatR16g16b16a16Uscaled                  Format = 93
	FormatR16g16b16a16Sscaled                  Format = 94
	FormatR16g16b16a16Uint                     Format = 95
	FormatR16g16b16a16Sint                     Format = 96
	FormatR16g16b16a16Sfloat                   Format = 97
	FormatR32Uint                              Format = 98
	FormatR32Sint                              Format = 99
	FormatR32Sfloat                            Format = 100
	FormatR32g32Uint                           Format = 101
	FormatR32g32Sint                           Format = 102
	FormatR32g32Sfloat                         Format = 103
	FormatR32g32b32Uint                        Format = 104
	FormatR32g32b32Sint                        Format = 105
	FormatR32g32b32Sfloat                      Format = 106
	FormatR32g32b32a32Uint                     Format = 107
	FormatR32g32b32a32Sint                     Format = 108
	FormatR32g32b32a32Sfloat                   Format = 109
	FormatR64Uint                              Format = 110
	FormatR64Sint                              Format = 111
	FormatR64Sfloat                            Format = 112
	FormatR64g64Uint                           Format = 113
	FormatR64g64Sint                           Format = 114
	FormatR64g64Sfloat                         Format = 115
	FormatR64g64b64Uint                        Format = 116
	FormatR64g64b64Sint                        Format = 117
	FormatR64g64b64Sfloat                      Format = 118
	FormatR64g64b64a64Uint                     Format = 119
	FormatR64g64b64a64Sint                     Format = 120
	FormatR64g64b64a64Sfloat                   Format = 121
	FormatB10g11r11UfloatPack32                Format = 122
	FormatE5b9g9r9UfloatPack32                 Format = 123
	FormatD16Unorm                             Format = 124
	FormatX8D24UnormPack32                     Format = 125
	FormatD32Sfloat                            Format = 126
	FormatS8Uint                               Format = 127
	FormatD16UnormS8Uint                       Format = 128
	FormatD24UnormS8Uint                       Format = 129
	FormatD32SfloatS8Uint                      Format = 130
	FormatBc1RgbUnormBlock                     Format = 131
	FormatBc1RgbSrgbBlock                      Format = 132
	FormatBc1RgbaUnormBlock                    Format = 133
	FormatBc1RgbaSrgbBlock                     Format = 134
	FormatBc2UnormBlock                        Format = 135
	FormatBc2SrgbBlock                         Format = 136
	FormatBc3UnormBlock                        Format = 137
	FormatBc3SrgbBlock                         Format = 138
	FormatBc4UnormBlock                        Format = 139
	FormatBc4SnormBlock                        Format = 140
	FormatBc5UnormBlock                        Format = 141
	FormatBc5SnormBlock                        Format = 142
	FormatBc6hUfloatBlock                      Format = 143
	FormatBc6hSfloatBlock                      Format = 144
	FormatBc7UnormBlock                        Format = 145
	FormatBc7SrgbBlock                         Format = 146
	FormatEtc2R8g8b8UnormBlock                 Format = 147
	FormatEtc2R8g8b8SrgbBlock                  Format = 148
	FormatEtc2R8g8b8a1UnormBlock               Format = 149
	FormatEtc2R8g8b8a1SrgbBlock                Format = 150
	FormatEtc2R8g8b8a8UnormBlock               Format = 151
	FormatEtc2R8g8b8a8SrgbBlock                Format = 152
	FormatEacR11UnormBlock                     Format = 153
	FormatEacR11SnormBlock                     Format = 154
	FormatEacR11g11UnormBlock                  Format = 155
	FormatEacR11g11SnormBlock                  Format = 156
	FormatAstc4x4UnormBlock                    Format = 157
	FormatAstc4x4SrgbBlock                     Format = 158
	FormatAstc5x4UnormBlock                    Format = 159
	FormatAstc5x4SrgbBlock                     Format = 160
	FormatAstc5x5UnormBlock                    Format = 161
	FormatAstc5x5SrgbBlock                     Format = 162
	FormatAstc6x5UnormBlock                    Format = 163
	FormatAstc6x5SrgbBlock                     Format = 164
	FormatAstc6x6UnormBlock                    Format = 165
	FormatAstc6x6SrgbBlock                     Format = 166
	FormatAstc8x5UnormBlock                    Format = 167
	FormatAstc8x5SrgbBlock                     Format = 168
	FormatAstc8x6UnormBlock                    Format = 169
	FormatAstc8x6SrgbBlock                     Format = 170
	FormatAstc8x8UnormBlock                    Format = 171
	FormatAstc8x8SrgbBlock                     Format = 172
	FormatAstc10x5UnormBlock                   Format = 173
	FormatAstc10x5SrgbBlock                    Format = 174
	FormatAstc10x6UnormBlock                   Format = 175
	FormatAstc10x6SrgbBlock                    Format = 176
	FormatAstc10x8UnormBlock                   Format = 177
	FormatAstc10x8SrgbBlock                    Format = 178
	FormatAstc10x10UnormBlock                  Format = 179
	FormatAstc10x10SrgbBlock                   Format = 180
	FormatAstc12x10UnormBlock                  Format = 181
	FormatAstc12x10SrgbBlock                   Format = 182
	FormatAstc12x12UnormBlock                  Format = 183
	FormatAstc12x12SrgbBlock                   Format = 184
	FormatG8b8g8r8422Unorm                     Format = 1000156000
	FormatB8g8r8g8422Unorm                     Format = 1000156001
	FormatG8B8R83plane420Unorm                 Format = 1000156002
	FormatG8B8r82plane420Unorm                 Format = 1000156003
	FormatG8B8R83plane422Unorm                 Format = 1000156004
	FormatG8B8r82plane422Unorm                 Format = 1000156005
	FormatG8B8R83plane444Unorm                 Format = 1000156006
	FormatR10x6UnormPack16                     Format = 1000156007
	FormatR10x6g10x6Unorm2pack16               Format = 1000156008
	FormatR10x6g10x6b10x6a10x6Unorm4pack16     Format = 1000156009
	FormatG10x6b10x6g10x6r10x6422Unorm4pack16  Format = 1000156010
	FormatB10x6g10x6r10x6g10x6422Unorm4pack16  Format = 1000156011
	FormatG10x6B10x6R10x63plane420Unorm3pack16 Format = 1000156012
	FormatG10x6B10x6r10x62plane420Unorm3pack16 Format = 1000156013
	FormatG10x6B10x6R10x63plane422Unorm3pack16 Format = 1000156014
	FormatG10x6B10x6r10x62plane422Unorm3pack16 Format = 1000156015
	FormatG10x6B10x6R10x63plane444Unorm3pack16 Format = 1000156016
	FormatR12x4UnormPack16                     Format = 1000156017
	FormatR12x4g12x4Unorm2pack16               Format = 1000156018
	FormatR12x4g12x4b12x4a12x4Unorm4pack16     Format = 1000156019
	FormatG12x4b12x4g12x4r12x4422Unorm4pack16  Format = 1000156020
	FormatB12x4g12x4r12x4g12x4422Unorm4pack16  Format = 1000156021
	FormatG12x4B12x4R12x43plane420Unorm3pack16 Format = 1000156022
	FormatG12x4B12x4r12x42plane420Unorm3pack16 Format = 1000156023
	FormatG12x4B12x4R12x43plane422Unorm3pack16 Format = 1000156024
	FormatG12x4B12x4r12x42plane422Unorm3pack16 Format = 1000156025
	FormatG12x4B12x4R12x43plane444Unorm3pack16 Format = 1000156026
	FormatG16b16g16r16422Unorm                 Format = 1000156027
	FormatB16g16r16g16422Unorm                 Format = 1000156028
	FormatG16B16R163plane420Unorm              Format = 1000156029
	FormatG16B16r162plane420Unorm              Format = 1000156030
	FormatG16B16R163plane422Unorm              Format = 1000156031
	FormatG16B16r162plane422Unorm              Format = 1000156032
	FormatG16B16R163plane444Unorm              Format = 1000156033
	FormatPvrtc12bppUnormBlockImg              Format = 1000054000
	FormatPvrtc14bppUnormBlockImg              Format = 1000054001
	FormatPvrtc22bppUnormBlockImg              Format = 1000054002
	FormatPvrtc24bppUnormBlockImg              Format = 1000054003
	FormatPvrtc12bppSrgbBlockImg               Format = 1000054004
	FormatPvrtc14bppSrgbBlockImg               Format = 1000054005
	FormatPvrtc22bppSrgbBlockImg               Format = 1000054006
	FormatPvrtc24bppSrgbBlockImg               Format = 1000054007
	FormatBeginRange                           Format = 0
	FormatEndRange                             Format = 184
	FormatRangeSize                            Format = 185
	FormatMaxEnum                              Format = 2147483647
)

Format enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormat.html

type FormatFeatureFlagBits

type FormatFeatureFlagBits int32

FormatFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatFeatureFlagBits.html

const (
	FormatFeatureSampledImageBit                                                     FormatFeatureFlagBits = 1
	FormatFeatureStorageImageBit                                                     FormatFeatureFlagBits = 2
	FormatFeatureStorageImageAtomicBit                                               FormatFeatureFlagBits = 4
	FormatFeatureUniformTexelBufferBit                                               FormatFeatureFlagBits = 8
	FormatFeatureStorageTexelBufferBit                                               FormatFeatureFlagBits = 16
	FormatFeatureStorageTexelBufferAtomicBit                                         FormatFeatureFlagBits = 32
	FormatFeatureVertexBufferBit                                                     FormatFeatureFlagBits = 64
	FormatFeatureColorAttachmentBit                                                  FormatFeatureFlagBits = 128
	FormatFeatureColorAttachmentBlendBit                                             FormatFeatureFlagBits = 256
	FormatFeatureDepthStencilAttachmentBit                                           FormatFeatureFlagBits = 512
	FormatFeatureBlitSrcBit                                                          FormatFeatureFlagBits = 1024
	FormatFeatureBlitDstBit                                                          FormatFeatureFlagBits = 2048
	FormatFeatureSampledImageFilterLinearBit                                         FormatFeatureFlagBits = 4096
	FormatFeatureTransferSrcBit                                                      FormatFeatureFlagBits = 16384
	FormatFeatureTransferDstBit                                                      FormatFeatureFlagBits = 32768
	FormatFeatureMidpointChromaSamplesBit                                            FormatFeatureFlagBits = 131072
	FormatFeatureSampledImageYcbcrConversionLinearFilterBit                          FormatFeatureFlagBits = 262144
	FormatFeatureSampledImageYcbcrConversionSeparateReconstructionFilterBit          FormatFeatureFlagBits = 524288
	FormatFeatureSampledImageYcbcrConversionChromaReconstructionExplicitBit          FormatFeatureFlagBits = 1048576
	FormatFeatureSampledImageYcbcrConversionChromaReconstructionExplicitForceableBit FormatFeatureFlagBits = 2097152
	FormatFeatureDisjointBit                                                         FormatFeatureFlagBits = 4194304
	FormatFeatureCositedChromaSamplesBit                                             FormatFeatureFlagBits = 8388608
	FormatFeatureSampledImageFilterCubicBitImg                                       FormatFeatureFlagBits = 8192
	FormatFeatureSampledImageFilterMinmaxBit                                         FormatFeatureFlagBits = 65536
	FormatFeatureFlagBitsMaxEnum                                                     FormatFeatureFlagBits = 2147483647
)

FormatFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatFeatureFlagBits.html

type FormatProperties

type FormatProperties struct {
	LinearTilingFeatures  FormatFeatureFlags
	OptimalTilingFeatures FormatFeatureFlags
	BufferFeatures        FormatFeatureFlags
	// contains filtered or unexported fields
}

FormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatProperties.html

func NewFormatPropertiesRef

func NewFormatPropertiesRef(ref unsafe.Pointer) *FormatProperties

NewFormatPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*FormatProperties) Deref

func (x *FormatProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*FormatProperties) Free

func (x *FormatProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*FormatProperties) PassRef

func (x *FormatProperties) PassRef() (*C.VkFormatProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (FormatProperties) PassValue

func (x FormatProperties) PassValue() (C.VkFormatProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*FormatProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FormatProperties2

type FormatProperties2 struct {
	SType            StructureType
	PNext            unsafe.Pointer
	FormatProperties FormatProperties
	// contains filtered or unexported fields
}

FormatProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFormatProperties2.html

func NewFormatProperties2Ref

func NewFormatProperties2Ref(ref unsafe.Pointer) *FormatProperties2

NewFormatProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*FormatProperties2) Deref

func (x *FormatProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*FormatProperties2) Free

func (x *FormatProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*FormatProperties2) PassRef

func (x *FormatProperties2) PassRef() (*C.VkFormatProperties2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (FormatProperties2) PassValue

func (x FormatProperties2) PassValue() (C.VkFormatProperties2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*FormatProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FramebufferCreateFlags

type FramebufferCreateFlags uint32

FramebufferCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFramebufferCreateFlags.html

type FramebufferCreateInfo

type FramebufferCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           FramebufferCreateFlags
	RenderPass      RenderPass
	AttachmentCount uint32
	PAttachments    []ImageView
	Width           uint32
	Height          uint32
	Layers          uint32
	// contains filtered or unexported fields
}

FramebufferCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFramebufferCreateInfo.html

func NewFramebufferCreateInfoRef

func NewFramebufferCreateInfoRef(ref unsafe.Pointer) *FramebufferCreateInfo

NewFramebufferCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*FramebufferCreateInfo) Deref

func (x *FramebufferCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*FramebufferCreateInfo) Free

func (x *FramebufferCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*FramebufferCreateInfo) PassRef

func (x *FramebufferCreateInfo) PassRef() (*C.VkFramebufferCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (FramebufferCreateInfo) PassValue

func (x FramebufferCreateInfo) PassValue() (C.VkFramebufferCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*FramebufferCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type FrontFace

type FrontFace int32

FrontFace as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFrontFace.html

const (
	FrontFaceCounterClockwise FrontFace = iota
	FrontFaceClockwise        FrontFace = 1
	FrontFaceBeginRange       FrontFace = 0
	FrontFaceEndRange         FrontFace = 1
	FrontFaceRangeSize        FrontFace = 2
	FrontFaceMaxEnum          FrontFace = 2147483647
)

FrontFace enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkFrontFace.html

type GeometryAABBNVX

type GeometryAABBNVX struct {
	SType    StructureType
	PNext    unsafe.Pointer
	AabbData Buffer
	NumAABBs uint32
	Stride   uint32
	Offset   DeviceSize
	// contains filtered or unexported fields
}

GeometryAABBNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryAABBNVX

func NewGeometryAABBNVXRef

func NewGeometryAABBNVXRef(ref unsafe.Pointer) *GeometryAABBNVX

NewGeometryAABBNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*GeometryAABBNVX) Deref

func (x *GeometryAABBNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*GeometryAABBNVX) Free

func (x *GeometryAABBNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*GeometryAABBNVX) PassRef

func (x *GeometryAABBNVX) PassRef() (*C.VkGeometryAABBNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (GeometryAABBNVX) PassValue

func (x GeometryAABBNVX) PassValue() (C.VkGeometryAABBNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*GeometryAABBNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type GeometryDataNVX

type GeometryDataNVX struct {
	Triangles GeometryTrianglesNVX
	Aabbs     GeometryAABBNVX
	// contains filtered or unexported fields
}

GeometryDataNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryDataNVX

func NewGeometryDataNVXRef

func NewGeometryDataNVXRef(ref unsafe.Pointer) *GeometryDataNVX

NewGeometryDataNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*GeometryDataNVX) Deref

func (x *GeometryDataNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*GeometryDataNVX) Free

func (x *GeometryDataNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*GeometryDataNVX) PassRef

func (x *GeometryDataNVX) PassRef() (*C.VkGeometryDataNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (GeometryDataNVX) PassValue

func (x GeometryDataNVX) PassValue() (C.VkGeometryDataNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*GeometryDataNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type GeometryFlagBitsNVX

type GeometryFlagBitsNVX int32

GeometryFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryFlagBitsNVX

const (
	GeometryOpaqueBitNvx                      GeometryFlagBitsNVX = 1
	GeometryNoDuplicateAnyHitInvocationBitNvx GeometryFlagBitsNVX = 2
	GeometryFlagBitsMaxEnumNvx                GeometryFlagBitsNVX = 2147483647
)

GeometryFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryFlagBitsNVX

type GeometryInstanceFlagBitsNVX

type GeometryInstanceFlagBitsNVX int32

GeometryInstanceFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryInstanceFlagBitsNVX

const (
	GeometryInstanceTriangleCullDisableBitNvx     GeometryInstanceFlagBitsNVX = 1
	GeometryInstanceTriangleCullFlipWindingBitNvx GeometryInstanceFlagBitsNVX = 2
	GeometryInstanceForceOpaqueBitNvx             GeometryInstanceFlagBitsNVX = 4
	GeometryInstanceForceNoOpaqueBitNvx           GeometryInstanceFlagBitsNVX = 8
	GeometryInstanceFlagBitsMaxEnumNvx            GeometryInstanceFlagBitsNVX = 2147483647
)

GeometryInstanceFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryInstanceFlagBitsNVX

type GeometryNVX

type GeometryNVX struct {
	SType        StructureType
	PNext        unsafe.Pointer
	GeometryType GeometryTypeNVX
	Geometry     GeometryDataNVX
	Flags        GeometryFlagsNVX
	// contains filtered or unexported fields
}

GeometryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryNVX

func NewGeometryNVXRef

func NewGeometryNVXRef(ref unsafe.Pointer) *GeometryNVX

NewGeometryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*GeometryNVX) Deref

func (x *GeometryNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*GeometryNVX) Free

func (x *GeometryNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*GeometryNVX) PassRef

func (x *GeometryNVX) PassRef() (*C.VkGeometryNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (GeometryNVX) PassValue

func (x GeometryNVX) PassValue() (C.VkGeometryNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*GeometryNVX) Ref

func (x *GeometryNVX) Ref() *C.VkGeometryNVX

Ref returns the underlying reference to C object or nil if struct is nil.

type GeometryTrianglesNVX

type GeometryTrianglesNVX struct {
	SType           StructureType
	PNext           unsafe.Pointer
	VertexData      Buffer
	VertexOffset    DeviceSize
	VertexCount     uint32
	VertexStride    DeviceSize
	VertexFormat    Format
	IndexData       Buffer
	IndexOffset     DeviceSize
	IndexCount      uint32
	IndexType       IndexType
	TransformData   Buffer
	TransformOffset DeviceSize
	// contains filtered or unexported fields
}

GeometryTrianglesNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryTrianglesNVX

func NewGeometryTrianglesNVXRef

func NewGeometryTrianglesNVXRef(ref unsafe.Pointer) *GeometryTrianglesNVX

NewGeometryTrianglesNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*GeometryTrianglesNVX) Deref

func (x *GeometryTrianglesNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*GeometryTrianglesNVX) Free

func (x *GeometryTrianglesNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*GeometryTrianglesNVX) PassRef

func (x *GeometryTrianglesNVX) PassRef() (*C.VkGeometryTrianglesNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (GeometryTrianglesNVX) PassValue

func (x GeometryTrianglesNVX) PassValue() (C.VkGeometryTrianglesNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*GeometryTrianglesNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type GeometryTypeNVX

type GeometryTypeNVX int32

GeometryTypeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryTypeNVX

const (
	GeometryTypeTrianglesNvx  GeometryTypeNVX = iota
	GeometryTypeAabbsNvx      GeometryTypeNVX = 1
	GeometryTypeBeginRangeNvx GeometryTypeNVX = 0
	GeometryTypeEndRangeNvx   GeometryTypeNVX = 1
	GeometryTypeRangeSizeNvx  GeometryTypeNVX = 2
	GeometryTypeMaxEnumNvx    GeometryTypeNVX = 2147483647
)

GeometryTypeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkGeometryTypeNVX

type GraphicsPipelineCreateInfo

type GraphicsPipelineCreateInfo struct {
	SType               StructureType
	PNext               unsafe.Pointer
	Flags               PipelineCreateFlags
	StageCount          uint32
	PStages             []PipelineShaderStageCreateInfo
	PVertexInputState   *PipelineVertexInputStateCreateInfo
	PInputAssemblyState *PipelineInputAssemblyStateCreateInfo
	PTessellationState  *PipelineTessellationStateCreateInfo
	PViewportState      *PipelineViewportStateCreateInfo
	PRasterizationState *PipelineRasterizationStateCreateInfo
	PMultisampleState   *PipelineMultisampleStateCreateInfo
	PDepthStencilState  *PipelineDepthStencilStateCreateInfo
	PColorBlendState    *PipelineColorBlendStateCreateInfo
	PDynamicState       *PipelineDynamicStateCreateInfo
	Layout              PipelineLayout
	RenderPass          RenderPass
	Subpass             uint32
	BasePipelineHandle  Pipeline
	BasePipelineIndex   int32
	// contains filtered or unexported fields
}

GraphicsPipelineCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkGraphicsPipelineCreateInfo.html

func NewGraphicsPipelineCreateInfoRef

func NewGraphicsPipelineCreateInfoRef(ref unsafe.Pointer) *GraphicsPipelineCreateInfo

NewGraphicsPipelineCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*GraphicsPipelineCreateInfo) Deref

func (x *GraphicsPipelineCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*GraphicsPipelineCreateInfo) Free

func (x *GraphicsPipelineCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*GraphicsPipelineCreateInfo) PassRef

func (x *GraphicsPipelineCreateInfo) PassRef() (*C.VkGraphicsPipelineCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (GraphicsPipelineCreateInfo) PassValue

func (x GraphicsPipelineCreateInfo) PassValue() (C.VkGraphicsPipelineCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*GraphicsPipelineCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type HdrMetadata

type HdrMetadata struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	DisplayPrimaryRed         XYColor
	DisplayPrimaryGreen       XYColor
	DisplayPrimaryBlue        XYColor
	WhitePoint                XYColor
	MaxLuminance              float32
	MinLuminance              float32
	MaxContentLightLevel      float32
	MaxFrameAverageLightLevel float32
	// contains filtered or unexported fields
}

HdrMetadata as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkHdrMetadataEXT.html

func NewHdrMetadataRef

func NewHdrMetadataRef(ref unsafe.Pointer) *HdrMetadata

NewHdrMetadataRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*HdrMetadata) Deref

func (x *HdrMetadata) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*HdrMetadata) Free

func (x *HdrMetadata) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*HdrMetadata) PassRef

func (x *HdrMetadata) PassRef() (*C.VkHdrMetadataEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (HdrMetadata) PassValue

func (x HdrMetadata) PassValue() (C.VkHdrMetadataEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*HdrMetadata) Ref

func (x *HdrMetadata) Ref() *C.VkHdrMetadataEXT

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageAspectFlagBits

type ImageAspectFlagBits int32

ImageAspectFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageAspectFlagBits.html

const (
	ImageAspectColorBit        ImageAspectFlagBits = 1
	ImageAspectDepthBit        ImageAspectFlagBits = 2
	ImageAspectStencilBit      ImageAspectFlagBits = 4
	ImageAspectMetadataBit     ImageAspectFlagBits = 8
	ImageAspectPlane0Bit       ImageAspectFlagBits = 16
	ImageAspectPlane1Bit       ImageAspectFlagBits = 32
	ImageAspectPlane2Bit       ImageAspectFlagBits = 64
	ImageAspectMemoryPlane0Bit ImageAspectFlagBits = 128
	ImageAspectMemoryPlane1Bit ImageAspectFlagBits = 256
	ImageAspectMemoryPlane2Bit ImageAspectFlagBits = 512
	ImageAspectMemoryPlane3Bit ImageAspectFlagBits = 1024
	ImageAspectFlagBitsMaxEnum ImageAspectFlagBits = 2147483647
)

ImageAspectFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageAspectFlagBits.html

type ImageBlit

type ImageBlit struct {
	SrcSubresource ImageSubresourceLayers
	SrcOffsets     [2]Offset3D
	DstSubresource ImageSubresourceLayers
	DstOffsets     [2]Offset3D
	// contains filtered or unexported fields
}

ImageBlit as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageBlit.html

func NewImageBlitRef

func NewImageBlitRef(ref unsafe.Pointer) *ImageBlit

NewImageBlitRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageBlit) Deref

func (x *ImageBlit) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageBlit) Free

func (x *ImageBlit) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageBlit) PassRef

func (x *ImageBlit) PassRef() (*C.VkImageBlit, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageBlit) PassValue

func (x ImageBlit) PassValue() (C.VkImageBlit, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageBlit) Ref

func (x *ImageBlit) Ref() *C.VkImageBlit

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageCopy

type ImageCopy struct {
	SrcSubresource ImageSubresourceLayers
	SrcOffset      Offset3D
	DstSubresource ImageSubresourceLayers
	DstOffset      Offset3D
	Extent         Extent3D
	// contains filtered or unexported fields
}

ImageCopy as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCopy.html

func NewImageCopyRef

func NewImageCopyRef(ref unsafe.Pointer) *ImageCopy

NewImageCopyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageCopy) Deref

func (x *ImageCopy) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageCopy) Free

func (x *ImageCopy) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageCopy) PassRef

func (x *ImageCopy) PassRef() (*C.VkImageCopy, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageCopy) PassValue

func (x ImageCopy) PassValue() (C.VkImageCopy, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageCopy) Ref

func (x *ImageCopy) Ref() *C.VkImageCopy

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageCreateFlagBits

type ImageCreateFlagBits int32

ImageCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCreateFlagBits.html

const (
	ImageCreateSparseBindingBit                  ImageCreateFlagBits = 1
	ImageCreateSparseResidencyBit                ImageCreateFlagBits = 2
	ImageCreateSparseAliasedBit                  ImageCreateFlagBits = 4
	ImageCreateMutableFormatBit                  ImageCreateFlagBits = 8
	ImageCreateCubeCompatibleBit                 ImageCreateFlagBits = 16
	ImageCreateAliasBit                          ImageCreateFlagBits = 1024
	ImageCreateSplitInstanceBindRegionsBit       ImageCreateFlagBits = 64
	ImageCreate2dArrayCompatibleBit              ImageCreateFlagBits = 32
	ImageCreateBlockTexelViewCompatibleBit       ImageCreateFlagBits = 128
	ImageCreateExtendedUsageBit                  ImageCreateFlagBits = 256
	ImageCreateProtectedBit                      ImageCreateFlagBits = 2048
	ImageCreateDisjointBit                       ImageCreateFlagBits = 512
	ImageCreateCornerSampledBitNv                ImageCreateFlagBits = 8192
	ImageCreateSampleLocationsCompatibleDepthBit ImageCreateFlagBits = 4096
	ImageCreateFlagBitsMaxEnum                   ImageCreateFlagBits = 2147483647
)

ImageCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCreateFlagBits.html

type ImageCreateInfo

type ImageCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 ImageCreateFlags
	ImageType             ImageType
	Format                Format
	Extent                Extent3D
	MipLevels             uint32
	ArrayLayers           uint32
	Samples               SampleCountFlagBits
	Tiling                ImageTiling
	Usage                 ImageUsageFlags
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	PQueueFamilyIndices   []uint32
	InitialLayout         ImageLayout
	// contains filtered or unexported fields
}

ImageCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageCreateInfo.html

func NewImageCreateInfoRef

func NewImageCreateInfoRef(ref unsafe.Pointer) *ImageCreateInfo

NewImageCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageCreateInfo) Deref

func (x *ImageCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageCreateInfo) Free

func (x *ImageCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageCreateInfo) PassRef

func (x *ImageCreateInfo) PassRef() (*C.VkImageCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageCreateInfo) PassValue

func (x ImageCreateInfo) PassValue() (C.VkImageCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageDrmFormatModifierExplicitCreateInfo

type ImageDrmFormatModifierExplicitCreateInfo struct {
	SType                       StructureType
	PNext                       unsafe.Pointer
	DrmFormatModifier           uint64
	DrmFormatModifierPlaneCount uint32
	PPlaneLayouts               []SubresourceLayout
	// contains filtered or unexported fields
}

ImageDrmFormatModifierExplicitCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageDrmFormatModifierExplicitCreateInfoEXT.html

func NewImageDrmFormatModifierExplicitCreateInfoRef

func NewImageDrmFormatModifierExplicitCreateInfoRef(ref unsafe.Pointer) *ImageDrmFormatModifierExplicitCreateInfo

NewImageDrmFormatModifierExplicitCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageDrmFormatModifierExplicitCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageDrmFormatModifierExplicitCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageDrmFormatModifierExplicitCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageDrmFormatModifierExplicitCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageDrmFormatModifierExplicitCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageDrmFormatModifierListCreateInfo

type ImageDrmFormatModifierListCreateInfo struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	DrmFormatModifierCount uint32
	PDrmFormatModifiers    []uint64
	// contains filtered or unexported fields
}

ImageDrmFormatModifierListCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageDrmFormatModifierListCreateInfoEXT.html

func NewImageDrmFormatModifierListCreateInfoRef

func NewImageDrmFormatModifierListCreateInfoRef(ref unsafe.Pointer) *ImageDrmFormatModifierListCreateInfo

NewImageDrmFormatModifierListCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageDrmFormatModifierListCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageDrmFormatModifierListCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageDrmFormatModifierListCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageDrmFormatModifierListCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageDrmFormatModifierListCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageDrmFormatModifierProperties

type ImageDrmFormatModifierProperties struct {
	SType             StructureType
	PNext             unsafe.Pointer
	DrmFormatModifier uint64
	// contains filtered or unexported fields
}

ImageDrmFormatModifierProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageDrmFormatModifierPropertiesEXT.html

func NewImageDrmFormatModifierPropertiesRef

func NewImageDrmFormatModifierPropertiesRef(ref unsafe.Pointer) *ImageDrmFormatModifierProperties

NewImageDrmFormatModifierPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageDrmFormatModifierProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageDrmFormatModifierProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageDrmFormatModifierProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageDrmFormatModifierProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageDrmFormatModifierProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageFormatListCreateInfo

type ImageFormatListCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	ViewFormatCount uint32
	PViewFormats    []Format
	// contains filtered or unexported fields
}

ImageFormatListCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkImageFormatListCreateInfoKHR

func NewImageFormatListCreateInfoRef

func NewImageFormatListCreateInfoRef(ref unsafe.Pointer) *ImageFormatListCreateInfo

NewImageFormatListCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageFormatListCreateInfo) Deref

func (x *ImageFormatListCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageFormatListCreateInfo) Free

func (x *ImageFormatListCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageFormatListCreateInfo) PassRef

func (x *ImageFormatListCreateInfo) PassRef() (*C.VkImageFormatListCreateInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageFormatListCreateInfo) PassValue

func (x ImageFormatListCreateInfo) PassValue() (C.VkImageFormatListCreateInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageFormatListCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageFormatProperties

type ImageFormatProperties struct {
	MaxExtent       Extent3D
	MaxMipLevels    uint32
	MaxArrayLayers  uint32
	SampleCounts    SampleCountFlags
	MaxResourceSize DeviceSize
	// contains filtered or unexported fields
}

ImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageFormatProperties.html

func NewImageFormatPropertiesRef

func NewImageFormatPropertiesRef(ref unsafe.Pointer) *ImageFormatProperties

NewImageFormatPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageFormatProperties) Deref

func (x *ImageFormatProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageFormatProperties) Free

func (x *ImageFormatProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageFormatProperties) PassRef

func (x *ImageFormatProperties) PassRef() (*C.VkImageFormatProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageFormatProperties) PassValue

func (x ImageFormatProperties) PassValue() (C.VkImageFormatProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageFormatProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageFormatProperties2

type ImageFormatProperties2 struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	ImageFormatProperties ImageFormatProperties
	// contains filtered or unexported fields
}

ImageFormatProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageFormatProperties2.html

func NewImageFormatProperties2Ref

func NewImageFormatProperties2Ref(ref unsafe.Pointer) *ImageFormatProperties2

NewImageFormatProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageFormatProperties2) Deref

func (x *ImageFormatProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageFormatProperties2) Free

func (x *ImageFormatProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageFormatProperties2) PassRef

func (x *ImageFormatProperties2) PassRef() (*C.VkImageFormatProperties2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageFormatProperties2) PassValue

func (x ImageFormatProperties2) PassValue() (C.VkImageFormatProperties2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageFormatProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageLayout

type ImageLayout int32

ImageLayout as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageLayout.html

const (
	ImageLayoutUndefined                             ImageLayout = iota
	ImageLayoutGeneral                               ImageLayout = 1
	ImageLayoutColorAttachmentOptimal                ImageLayout = 2
	ImageLayoutDepthStencilAttachmentOptimal         ImageLayout = 3
	ImageLayoutDepthStencilReadOnlyOptimal           ImageLayout = 4
	ImageLayoutShaderReadOnlyOptimal                 ImageLayout = 5
	ImageLayoutTransferSrcOptimal                    ImageLayout = 6
	ImageLayoutTransferDstOptimal                    ImageLayout = 7
	ImageLayoutPreinitialized                        ImageLayout = 8
	ImageLayoutDepthReadOnlyStencilAttachmentOptimal ImageLayout = 1000117000
	ImageLayoutDepthAttachmentStencilReadOnlyOptimal ImageLayout = 1000117001
	ImageLayoutPresentSrc                            ImageLayout = 1000001002
	ImageLayoutSharedPresent                         ImageLayout = 1000111000
	ImageLayoutShadingRateOptimalNv                  ImageLayout = 1000164003
	ImageLayoutBeginRange                            ImageLayout = 0
	ImageLayoutEndRange                              ImageLayout = 8
	ImageLayoutRangeSize                             ImageLayout = 9
	ImageLayoutMaxEnum                               ImageLayout = 2147483647
)

ImageLayout enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageLayout.html

type ImageMemoryBarrier

type ImageMemoryBarrier struct {
	SType               StructureType
	PNext               unsafe.Pointer
	SrcAccessMask       AccessFlags
	DstAccessMask       AccessFlags
	OldLayout           ImageLayout
	NewLayout           ImageLayout
	SrcQueueFamilyIndex uint32
	DstQueueFamilyIndex uint32
	Image               Image
	SubresourceRange    ImageSubresourceRange
	// contains filtered or unexported fields
}

ImageMemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageMemoryBarrier.html

func NewImageMemoryBarrierRef

func NewImageMemoryBarrierRef(ref unsafe.Pointer) *ImageMemoryBarrier

NewImageMemoryBarrierRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageMemoryBarrier) Deref

func (x *ImageMemoryBarrier) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageMemoryBarrier) Free

func (x *ImageMemoryBarrier) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageMemoryBarrier) PassRef

func (x *ImageMemoryBarrier) PassRef() (*C.VkImageMemoryBarrier, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageMemoryBarrier) PassValue

func (x ImageMemoryBarrier) PassValue() (C.VkImageMemoryBarrier, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageMemoryBarrier) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageMemoryRequirementsInfo2

type ImageMemoryRequirementsInfo2 struct {
	SType StructureType
	PNext unsafe.Pointer
	Image Image
	// contains filtered or unexported fields
}

ImageMemoryRequirementsInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageMemoryRequirementsInfo2.html

func NewImageMemoryRequirementsInfo2Ref

func NewImageMemoryRequirementsInfo2Ref(ref unsafe.Pointer) *ImageMemoryRequirementsInfo2

NewImageMemoryRequirementsInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageMemoryRequirementsInfo2) Deref

func (x *ImageMemoryRequirementsInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageMemoryRequirementsInfo2) Free

func (x *ImageMemoryRequirementsInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageMemoryRequirementsInfo2) PassRef

func (x *ImageMemoryRequirementsInfo2) PassRef() (*C.VkImageMemoryRequirementsInfo2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageMemoryRequirementsInfo2) PassValue

func (x ImageMemoryRequirementsInfo2) PassValue() (C.VkImageMemoryRequirementsInfo2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageMemoryRequirementsInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImagePlaneMemoryRequirementsInfo

type ImagePlaneMemoryRequirementsInfo struct {
	SType       StructureType
	PNext       unsafe.Pointer
	PlaneAspect ImageAspectFlagBits
	// contains filtered or unexported fields
}

ImagePlaneMemoryRequirementsInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImagePlaneMemoryRequirementsInfo.html

func NewImagePlaneMemoryRequirementsInfoRef

func NewImagePlaneMemoryRequirementsInfoRef(ref unsafe.Pointer) *ImagePlaneMemoryRequirementsInfo

NewImagePlaneMemoryRequirementsInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImagePlaneMemoryRequirementsInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImagePlaneMemoryRequirementsInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImagePlaneMemoryRequirementsInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImagePlaneMemoryRequirementsInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImagePlaneMemoryRequirementsInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageResolve

type ImageResolve struct {
	SrcSubresource ImageSubresourceLayers
	SrcOffset      Offset3D
	DstSubresource ImageSubresourceLayers
	DstOffset      Offset3D
	Extent         Extent3D
	// contains filtered or unexported fields
}

ImageResolve as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageResolve.html

func NewImageResolveRef

func NewImageResolveRef(ref unsafe.Pointer) *ImageResolve

NewImageResolveRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageResolve) Deref

func (x *ImageResolve) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageResolve) Free

func (x *ImageResolve) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageResolve) PassRef

func (x *ImageResolve) PassRef() (*C.VkImageResolve, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageResolve) PassValue

func (x ImageResolve) PassValue() (C.VkImageResolve, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageResolve) Ref

func (x *ImageResolve) Ref() *C.VkImageResolve

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageSparseMemoryRequirementsInfo2

type ImageSparseMemoryRequirementsInfo2 struct {
	SType StructureType
	PNext unsafe.Pointer
	Image Image
	// contains filtered or unexported fields
}

ImageSparseMemoryRequirementsInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSparseMemoryRequirementsInfo2.html

func NewImageSparseMemoryRequirementsInfo2Ref

func NewImageSparseMemoryRequirementsInfo2Ref(ref unsafe.Pointer) *ImageSparseMemoryRequirementsInfo2

NewImageSparseMemoryRequirementsInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageSparseMemoryRequirementsInfo2) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageSparseMemoryRequirementsInfo2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageSparseMemoryRequirementsInfo2) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageSparseMemoryRequirementsInfo2) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageSparseMemoryRequirementsInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageSubresource

type ImageSubresource struct {
	AspectMask ImageAspectFlags
	MipLevel   uint32
	ArrayLayer uint32
	// contains filtered or unexported fields
}

ImageSubresource as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSubresource.html

func NewImageSubresourceRef

func NewImageSubresourceRef(ref unsafe.Pointer) *ImageSubresource

NewImageSubresourceRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageSubresource) Deref

func (x *ImageSubresource) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageSubresource) Free

func (x *ImageSubresource) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageSubresource) PassRef

func (x *ImageSubresource) PassRef() (*C.VkImageSubresource, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageSubresource) PassValue

func (x ImageSubresource) PassValue() (C.VkImageSubresource, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageSubresource) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageSubresourceLayers

type ImageSubresourceLayers struct {
	AspectMask     ImageAspectFlags
	MipLevel       uint32
	BaseArrayLayer uint32
	LayerCount     uint32
	// contains filtered or unexported fields
}

ImageSubresourceLayers as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSubresourceLayers.html

func NewImageSubresourceLayersRef

func NewImageSubresourceLayersRef(ref unsafe.Pointer) *ImageSubresourceLayers

NewImageSubresourceLayersRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageSubresourceLayers) Deref

func (x *ImageSubresourceLayers) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageSubresourceLayers) Free

func (x *ImageSubresourceLayers) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageSubresourceLayers) PassRef

func (x *ImageSubresourceLayers) PassRef() (*C.VkImageSubresourceLayers, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageSubresourceLayers) PassValue

func (x ImageSubresourceLayers) PassValue() (C.VkImageSubresourceLayers, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageSubresourceLayers) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageSubresourceRange

type ImageSubresourceRange struct {
	AspectMask     ImageAspectFlags
	BaseMipLevel   uint32
	LevelCount     uint32
	BaseArrayLayer uint32
	LayerCount     uint32
	// contains filtered or unexported fields
}

ImageSubresourceRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageSubresourceRange.html

func NewImageSubresourceRangeRef

func NewImageSubresourceRangeRef(ref unsafe.Pointer) *ImageSubresourceRange

NewImageSubresourceRangeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageSubresourceRange) Deref

func (x *ImageSubresourceRange) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageSubresourceRange) Free

func (x *ImageSubresourceRange) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageSubresourceRange) PassRef

func (x *ImageSubresourceRange) PassRef() (*C.VkImageSubresourceRange, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageSubresourceRange) PassValue

func (x ImageSubresourceRange) PassValue() (C.VkImageSubresourceRange, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageSubresourceRange) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageSwapchainCreateInfo

type ImageSwapchainCreateInfo struct {
	SType     StructureType
	PNext     unsafe.Pointer
	Swapchain Swapchain
	// contains filtered or unexported fields
}

ImageSwapchainCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkImageSwapchainCreateInfoKHR

func NewImageSwapchainCreateInfoRef

func NewImageSwapchainCreateInfoRef(ref unsafe.Pointer) *ImageSwapchainCreateInfo

NewImageSwapchainCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageSwapchainCreateInfo) Deref

func (x *ImageSwapchainCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageSwapchainCreateInfo) Free

func (x *ImageSwapchainCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageSwapchainCreateInfo) PassRef

func (x *ImageSwapchainCreateInfo) PassRef() (*C.VkImageSwapchainCreateInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageSwapchainCreateInfo) PassValue

func (x ImageSwapchainCreateInfo) PassValue() (C.VkImageSwapchainCreateInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageSwapchainCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageTiling

type ImageTiling int32

ImageTiling as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageTiling.html

const (
	ImageTilingOptimal           ImageTiling = iota
	ImageTilingLinear            ImageTiling = 1
	ImageTilingDrmFormatModifier ImageTiling = 1000158000
	ImageTilingBeginRange        ImageTiling = 0
	ImageTilingEndRange          ImageTiling = 1
	ImageTilingRangeSize         ImageTiling = 2
	ImageTilingMaxEnum           ImageTiling = 2147483647
)

ImageTiling enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageTiling.html

type ImageType

type ImageType int32

ImageType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageType.html

const (
	ImageType1d         ImageType = iota
	ImageType2d         ImageType = 1
	ImageType3d         ImageType = 2
	ImageTypeBeginRange ImageType = 0
	ImageTypeEndRange   ImageType = 2
	ImageTypeRangeSize  ImageType = 3
	ImageTypeMaxEnum    ImageType = 2147483647
)

ImageType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageType.html

type ImageUsageFlagBits

type ImageUsageFlagBits int32

ImageUsageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageUsageFlagBits.html

const (
	ImageUsageTransferSrcBit            ImageUsageFlagBits = 1
	ImageUsageTransferDstBit            ImageUsageFlagBits = 2
	ImageUsageSampledBit                ImageUsageFlagBits = 4
	ImageUsageStorageBit                ImageUsageFlagBits = 8
	ImageUsageColorAttachmentBit        ImageUsageFlagBits = 16
	ImageUsageDepthStencilAttachmentBit ImageUsageFlagBits = 32
	ImageUsageTransientAttachmentBit    ImageUsageFlagBits = 64
	ImageUsageInputAttachmentBit        ImageUsageFlagBits = 128
	ImageUsageShadingRateImageBitNv     ImageUsageFlagBits = 256
	ImageUsageFlagBitsMaxEnum           ImageUsageFlagBits = 2147483647
)

ImageUsageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageUsageFlagBits.html

type ImageViewASTCDecodeMode

type ImageViewASTCDecodeMode struct {
	SType      StructureType
	PNext      unsafe.Pointer
	DecodeMode Format
	// contains filtered or unexported fields
}

ImageViewASTCDecodeMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewASTCDecodeModeEXT.html

func NewImageViewASTCDecodeModeRef

func NewImageViewASTCDecodeModeRef(ref unsafe.Pointer) *ImageViewASTCDecodeMode

NewImageViewASTCDecodeModeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageViewASTCDecodeMode) Deref

func (x *ImageViewASTCDecodeMode) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageViewASTCDecodeMode) Free

func (x *ImageViewASTCDecodeMode) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageViewASTCDecodeMode) PassRef

func (x *ImageViewASTCDecodeMode) PassRef() (*C.VkImageViewASTCDecodeModeEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageViewASTCDecodeMode) PassValue

func (x ImageViewASTCDecodeMode) PassValue() (C.VkImageViewASTCDecodeModeEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageViewASTCDecodeMode) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageViewCreateFlags

type ImageViewCreateFlags uint32

ImageViewCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewCreateFlags.html

type ImageViewCreateInfo

type ImageViewCreateInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	Flags            ImageViewCreateFlags
	Image            Image
	ViewType         ImageViewType
	Format           Format
	Components       ComponentMapping
	SubresourceRange ImageSubresourceRange
	// contains filtered or unexported fields
}

ImageViewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewCreateInfo.html

func NewImageViewCreateInfoRef

func NewImageViewCreateInfoRef(ref unsafe.Pointer) *ImageViewCreateInfo

NewImageViewCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageViewCreateInfo) Deref

func (x *ImageViewCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageViewCreateInfo) Free

func (x *ImageViewCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageViewCreateInfo) PassRef

func (x *ImageViewCreateInfo) PassRef() (*C.VkImageViewCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageViewCreateInfo) PassValue

func (x ImageViewCreateInfo) PassValue() (C.VkImageViewCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageViewCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImageViewType

type ImageViewType int32

ImageViewType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewType.html

const (
	ImageViewType1d         ImageViewType = iota
	ImageViewType2d         ImageViewType = 1
	ImageViewType3d         ImageViewType = 2
	ImageViewTypeCube       ImageViewType = 3
	ImageViewType1dArray    ImageViewType = 4
	ImageViewType2dArray    ImageViewType = 5
	ImageViewTypeCubeArray  ImageViewType = 6
	ImageViewTypeBeginRange ImageViewType = 0
	ImageViewTypeEndRange   ImageViewType = 6
	ImageViewTypeRangeSize  ImageViewType = 7
	ImageViewTypeMaxEnum    ImageViewType = 2147483647
)

ImageViewType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewType.html

type ImageViewUsageCreateInfo

type ImageViewUsageCreateInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	Usage ImageUsageFlags
	// contains filtered or unexported fields
}

ImageViewUsageCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImageViewUsageCreateInfo.html

func NewImageViewUsageCreateInfoRef

func NewImageViewUsageCreateInfoRef(ref unsafe.Pointer) *ImageViewUsageCreateInfo

NewImageViewUsageCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImageViewUsageCreateInfo) Deref

func (x *ImageViewUsageCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImageViewUsageCreateInfo) Free

func (x *ImageViewUsageCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImageViewUsageCreateInfo) PassRef

func (x *ImageViewUsageCreateInfo) PassRef() (*C.VkImageViewUsageCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImageViewUsageCreateInfo) PassValue

func (x ImageViewUsageCreateInfo) PassValue() (C.VkImageViewUsageCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImageViewUsageCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImportFenceFdInfo

type ImportFenceFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Fence      Fence
	Flags      FenceImportFlags
	HandleType ExternalFenceHandleTypeFlagBits
	Fd         int32
	// contains filtered or unexported fields
}

ImportFenceFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkImportFenceFdInfoKHR

func NewImportFenceFdInfoRef

func NewImportFenceFdInfoRef(ref unsafe.Pointer) *ImportFenceFdInfo

NewImportFenceFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImportFenceFdInfo) Deref

func (x *ImportFenceFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImportFenceFdInfo) Free

func (x *ImportFenceFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImportFenceFdInfo) PassRef

func (x *ImportFenceFdInfo) PassRef() (*C.VkImportFenceFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImportFenceFdInfo) PassValue

func (x ImportFenceFdInfo) PassValue() (C.VkImportFenceFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImportFenceFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImportMemoryFdInfo

type ImportMemoryFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	HandleType ExternalMemoryHandleTypeFlagBits
	Fd         int32
	// contains filtered or unexported fields
}

ImportMemoryFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkImportMemoryFdInfoKHR

func NewImportMemoryFdInfoRef

func NewImportMemoryFdInfoRef(ref unsafe.Pointer) *ImportMemoryFdInfo

NewImportMemoryFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImportMemoryFdInfo) Deref

func (x *ImportMemoryFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImportMemoryFdInfo) Free

func (x *ImportMemoryFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImportMemoryFdInfo) PassRef

func (x *ImportMemoryFdInfo) PassRef() (*C.VkImportMemoryFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImportMemoryFdInfo) PassValue

func (x ImportMemoryFdInfo) PassValue() (C.VkImportMemoryFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImportMemoryFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImportMemoryHostPointerInfo

type ImportMemoryHostPointerInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	HandleType   ExternalMemoryHandleTypeFlagBits
	PHostPointer unsafe.Pointer
	// contains filtered or unexported fields
}

ImportMemoryHostPointerInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkImportMemoryHostPointerInfoEXT.html

func NewImportMemoryHostPointerInfoRef

func NewImportMemoryHostPointerInfoRef(ref unsafe.Pointer) *ImportMemoryHostPointerInfo

NewImportMemoryHostPointerInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImportMemoryHostPointerInfo) Deref

func (x *ImportMemoryHostPointerInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImportMemoryHostPointerInfo) Free

func (x *ImportMemoryHostPointerInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImportMemoryHostPointerInfo) PassRef

func (x *ImportMemoryHostPointerInfo) PassRef() (*C.VkImportMemoryHostPointerInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImportMemoryHostPointerInfo) PassValue

func (x ImportMemoryHostPointerInfo) PassValue() (C.VkImportMemoryHostPointerInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImportMemoryHostPointerInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ImportSemaphoreFdInfo

type ImportSemaphoreFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Semaphore  Semaphore
	Flags      SemaphoreImportFlags
	HandleType ExternalSemaphoreHandleTypeFlagBits
	Fd         int32
	// contains filtered or unexported fields
}

ImportSemaphoreFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkImportSemaphoreFdInfoKHR

func NewImportSemaphoreFdInfoRef

func NewImportSemaphoreFdInfoRef(ref unsafe.Pointer) *ImportSemaphoreFdInfo

NewImportSemaphoreFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ImportSemaphoreFdInfo) Deref

func (x *ImportSemaphoreFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ImportSemaphoreFdInfo) Free

func (x *ImportSemaphoreFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ImportSemaphoreFdInfo) PassRef

func (x *ImportSemaphoreFdInfo) PassRef() (*C.VkImportSemaphoreFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ImportSemaphoreFdInfo) PassValue

func (x ImportSemaphoreFdInfo) PassValue() (C.VkImportSemaphoreFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ImportSemaphoreFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type IndexType

type IndexType int32

IndexType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkIndexType.html

const (
	IndexTypeUint16     IndexType = iota
	IndexTypeUint32     IndexType = 1
	IndexTypeBeginRange IndexType = 0
	IndexTypeEndRange   IndexType = 1
	IndexTypeRangeSize  IndexType = 2
	IndexTypeMaxEnum    IndexType = 2147483647
)

IndexType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkIndexType.html

type IndirectCommandsLayoutCreateInfoNVX

type IndirectCommandsLayoutCreateInfoNVX struct {
	SType             StructureType
	PNext             unsafe.Pointer
	PipelineBindPoint PipelineBindPoint
	Flags             IndirectCommandsLayoutUsageFlagsNVX
	TokenCount        uint32
	PTokens           []IndirectCommandsLayoutTokenNVX
	// contains filtered or unexported fields
}

IndirectCommandsLayoutCreateInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsLayoutCreateInfoNVX

func NewIndirectCommandsLayoutCreateInfoNVXRef

func NewIndirectCommandsLayoutCreateInfoNVXRef(ref unsafe.Pointer) *IndirectCommandsLayoutCreateInfoNVX

NewIndirectCommandsLayoutCreateInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*IndirectCommandsLayoutCreateInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*IndirectCommandsLayoutCreateInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*IndirectCommandsLayoutCreateInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (IndirectCommandsLayoutCreateInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*IndirectCommandsLayoutCreateInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type IndirectCommandsLayoutTokenNVX

type IndirectCommandsLayoutTokenNVX struct {
	TokenType    IndirectCommandsTokenTypeNVX
	BindingUnit  uint32
	DynamicCount uint32
	Divisor      uint32
	// contains filtered or unexported fields
}

IndirectCommandsLayoutTokenNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsLayoutTokenNVX

func NewIndirectCommandsLayoutTokenNVXRef

func NewIndirectCommandsLayoutTokenNVXRef(ref unsafe.Pointer) *IndirectCommandsLayoutTokenNVX

NewIndirectCommandsLayoutTokenNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*IndirectCommandsLayoutTokenNVX) Deref

func (x *IndirectCommandsLayoutTokenNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*IndirectCommandsLayoutTokenNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*IndirectCommandsLayoutTokenNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (IndirectCommandsLayoutTokenNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*IndirectCommandsLayoutTokenNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type IndirectCommandsLayoutUsageFlagBitsNVX

type IndirectCommandsLayoutUsageFlagBitsNVX int32

IndirectCommandsLayoutUsageFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsLayoutUsageFlagBitsNVX

const (
	IndirectCommandsLayoutUsageUnorderedSequencesBitNvx IndirectCommandsLayoutUsageFlagBitsNVX = 1
	IndirectCommandsLayoutUsageSparseSequencesBitNvx    IndirectCommandsLayoutUsageFlagBitsNVX = 2
	IndirectCommandsLayoutUsageEmptyExecutionsBitNvx    IndirectCommandsLayoutUsageFlagBitsNVX = 4
	IndirectCommandsLayoutUsageIndexedSequencesBitNvx   IndirectCommandsLayoutUsageFlagBitsNVX = 8
	IndirectCommandsLayoutUsageFlagBitsMaxEnumNvx       IndirectCommandsLayoutUsageFlagBitsNVX = 2147483647
)

IndirectCommandsLayoutUsageFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsLayoutUsageFlagBitsNVX

type IndirectCommandsLayoutUsageFlagsNVX

type IndirectCommandsLayoutUsageFlagsNVX uint32

IndirectCommandsLayoutUsageFlagsNVX type as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsLayoutUsageFlagsNVX

type IndirectCommandsTokenNVX

type IndirectCommandsTokenNVX struct {
	TokenType IndirectCommandsTokenTypeNVX
	Buffer    Buffer
	Offset    DeviceSize
	// contains filtered or unexported fields
}

IndirectCommandsTokenNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsTokenNVX

func NewIndirectCommandsTokenNVXRef

func NewIndirectCommandsTokenNVXRef(ref unsafe.Pointer) *IndirectCommandsTokenNVX

NewIndirectCommandsTokenNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*IndirectCommandsTokenNVX) Deref

func (x *IndirectCommandsTokenNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*IndirectCommandsTokenNVX) Free

func (x *IndirectCommandsTokenNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*IndirectCommandsTokenNVX) PassRef

func (x *IndirectCommandsTokenNVX) PassRef() (*C.VkIndirectCommandsTokenNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (IndirectCommandsTokenNVX) PassValue

func (x IndirectCommandsTokenNVX) PassValue() (C.VkIndirectCommandsTokenNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*IndirectCommandsTokenNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type IndirectCommandsTokenTypeNVX

type IndirectCommandsTokenTypeNVX int32

IndirectCommandsTokenTypeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsTokenTypeNVX

const (
	IndirectCommandsTokenTypePipelineNvx      IndirectCommandsTokenTypeNVX = iota
	IndirectCommandsTokenTypeDescriptorSetNvx IndirectCommandsTokenTypeNVX = 1
	IndirectCommandsTokenTypeIndexBufferNvx   IndirectCommandsTokenTypeNVX = 2
	IndirectCommandsTokenTypeVertexBufferNvx  IndirectCommandsTokenTypeNVX = 3
	IndirectCommandsTokenTypePushConstantNvx  IndirectCommandsTokenTypeNVX = 4
	IndirectCommandsTokenTypeDrawIndexedNvx   IndirectCommandsTokenTypeNVX = 5
	IndirectCommandsTokenTypeDrawNvx          IndirectCommandsTokenTypeNVX = 6
	IndirectCommandsTokenTypeDispatchNvx      IndirectCommandsTokenTypeNVX = 7
	IndirectCommandsTokenTypeBeginRangeNvx    IndirectCommandsTokenTypeNVX = 0
	IndirectCommandsTokenTypeEndRangeNvx      IndirectCommandsTokenTypeNVX = 7
	IndirectCommandsTokenTypeRangeSizeNvx     IndirectCommandsTokenTypeNVX = 8
	IndirectCommandsTokenTypeMaxEnumNvx       IndirectCommandsTokenTypeNVX = 2147483647
)

IndirectCommandsTokenTypeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkIndirectCommandsTokenTypeNVX

type InputAttachmentAspectReference

type InputAttachmentAspectReference struct {
	Subpass              uint32
	InputAttachmentIndex uint32
	AspectMask           ImageAspectFlags
	// contains filtered or unexported fields
}

InputAttachmentAspectReference as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInputAttachmentAspectReference.html

func NewInputAttachmentAspectReferenceRef

func NewInputAttachmentAspectReferenceRef(ref unsafe.Pointer) *InputAttachmentAspectReference

NewInputAttachmentAspectReferenceRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*InputAttachmentAspectReference) Deref

func (x *InputAttachmentAspectReference) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*InputAttachmentAspectReference) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*InputAttachmentAspectReference) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (InputAttachmentAspectReference) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*InputAttachmentAspectReference) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type InstanceCreateFlags

type InstanceCreateFlags uint32

InstanceCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstanceCreateFlags.html

type InstanceCreateInfo

type InstanceCreateInfo struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   InstanceCreateFlags
	PApplicationInfo        *ApplicationInfo
	EnabledLayerCount       uint32
	PpEnabledLayerNames     []string
	EnabledExtensionCount   uint32
	PpEnabledExtensionNames []string
	// contains filtered or unexported fields
}

InstanceCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInstanceCreateInfo.html

func NewInstanceCreateInfoRef

func NewInstanceCreateInfoRef(ref unsafe.Pointer) *InstanceCreateInfo

NewInstanceCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*InstanceCreateInfo) Deref

func (x *InstanceCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*InstanceCreateInfo) Free

func (x *InstanceCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*InstanceCreateInfo) PassRef

func (x *InstanceCreateInfo) PassRef() (*C.VkInstanceCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (InstanceCreateInfo) PassValue

func (x InstanceCreateInfo) PassValue() (C.VkInstanceCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*InstanceCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type InternalAllocationType

type InternalAllocationType int32

InternalAllocationType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInternalAllocationType.html

const (
	InternalAllocationTypeExecutable InternalAllocationType = iota
	InternalAllocationTypeBeginRange InternalAllocationType = 0
	InternalAllocationTypeEndRange   InternalAllocationType = 0
	InternalAllocationTypeRangeSize  InternalAllocationType = 1
	InternalAllocationTypeMaxEnum    InternalAllocationType = 2147483647
)

InternalAllocationType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkInternalAllocationType.html

type LayerProperties

type LayerProperties struct {
	LayerName             [256]byte
	SpecVersion           uint32
	ImplementationVersion uint32
	Description           [256]byte
	// contains filtered or unexported fields
}

LayerProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkLayerProperties.html

func NewLayerPropertiesRef

func NewLayerPropertiesRef(ref unsafe.Pointer) *LayerProperties

NewLayerPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*LayerProperties) Deref

func (x *LayerProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*LayerProperties) Free

func (x *LayerProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*LayerProperties) PassRef

func (x *LayerProperties) PassRef() (*C.VkLayerProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (LayerProperties) PassValue

func (x LayerProperties) PassValue() (C.VkLayerProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*LayerProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type LogicOp

type LogicOp int32

LogicOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkLogicOp.html

const (
	LogicOpClear        LogicOp = iota
	LogicOpAnd          LogicOp = 1
	LogicOpAndReverse   LogicOp = 2
	LogicOpCopy         LogicOp = 3
	LogicOpAndInverted  LogicOp = 4
	LogicOpNoOp         LogicOp = 5
	LogicOpXor          LogicOp = 6
	LogicOpOr           LogicOp = 7
	LogicOpNor          LogicOp = 8
	LogicOpEquivalent   LogicOp = 9
	LogicOpInvert       LogicOp = 10
	LogicOpOrReverse    LogicOp = 11
	LogicOpCopyInverted LogicOp = 12
	LogicOpOrInverted   LogicOp = 13
	LogicOpNand         LogicOp = 14
	LogicOpSet          LogicOp = 15
	LogicOpBeginRange   LogicOp = 0
	LogicOpEndRange     LogicOp = 15
	LogicOpRangeSize    LogicOp = 16
	LogicOpMaxEnum      LogicOp = 2147483647
)

LogicOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkLogicOp.html

type MappedMemoryRange

type MappedMemoryRange struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Memory DeviceMemory
	Offset DeviceSize
	Size   DeviceSize
	// contains filtered or unexported fields
}

MappedMemoryRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMappedMemoryRange.html

func NewMappedMemoryRangeRef

func NewMappedMemoryRangeRef(ref unsafe.Pointer) *MappedMemoryRange

NewMappedMemoryRangeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MappedMemoryRange) Deref

func (x *MappedMemoryRange) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MappedMemoryRange) Free

func (x *MappedMemoryRange) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MappedMemoryRange) PassRef

func (x *MappedMemoryRange) PassRef() (*C.VkMappedMemoryRange, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MappedMemoryRange) PassValue

func (x MappedMemoryRange) PassValue() (C.VkMappedMemoryRange, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MappedMemoryRange) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryAllocateFlagBits

type MemoryAllocateFlagBits int32

MemoryAllocateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateFlagBits.html

const (
	MemoryAllocateDeviceMaskBit   MemoryAllocateFlagBits = 1
	MemoryAllocateFlagBitsMaxEnum MemoryAllocateFlagBits = 2147483647
)

MemoryAllocateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateFlagBits.html

type MemoryAllocateFlags

type MemoryAllocateFlags uint32

MemoryAllocateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateFlags.html

type MemoryAllocateFlagsInfo

type MemoryAllocateFlagsInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Flags      MemoryAllocateFlags
	DeviceMask uint32
	// contains filtered or unexported fields
}

MemoryAllocateFlagsInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateFlagsInfo.html

func NewMemoryAllocateFlagsInfoRef

func NewMemoryAllocateFlagsInfoRef(ref unsafe.Pointer) *MemoryAllocateFlagsInfo

NewMemoryAllocateFlagsInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryAllocateFlagsInfo) Deref

func (x *MemoryAllocateFlagsInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryAllocateFlagsInfo) Free

func (x *MemoryAllocateFlagsInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryAllocateFlagsInfo) PassRef

func (x *MemoryAllocateFlagsInfo) PassRef() (*C.VkMemoryAllocateFlagsInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryAllocateFlagsInfo) PassValue

func (x MemoryAllocateFlagsInfo) PassValue() (C.VkMemoryAllocateFlagsInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryAllocateFlagsInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryAllocateInfo

type MemoryAllocateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	AllocationSize  DeviceSize
	MemoryTypeIndex uint32
	// contains filtered or unexported fields
}

MemoryAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryAllocateInfo.html

func NewMemoryAllocateInfoRef

func NewMemoryAllocateInfoRef(ref unsafe.Pointer) *MemoryAllocateInfo

NewMemoryAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryAllocateInfo) Deref

func (x *MemoryAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryAllocateInfo) Free

func (x *MemoryAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryAllocateInfo) PassRef

func (x *MemoryAllocateInfo) PassRef() (*C.VkMemoryAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryAllocateInfo) PassValue

func (x MemoryAllocateInfo) PassValue() (C.VkMemoryAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryBarrier

type MemoryBarrier struct {
	SType         StructureType
	PNext         unsafe.Pointer
	SrcAccessMask AccessFlags
	DstAccessMask AccessFlags
	// contains filtered or unexported fields
}

MemoryBarrier as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryBarrier.html

func NewMemoryBarrierRef

func NewMemoryBarrierRef(ref unsafe.Pointer) *MemoryBarrier

NewMemoryBarrierRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryBarrier) Deref

func (x *MemoryBarrier) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryBarrier) Free

func (x *MemoryBarrier) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryBarrier) PassRef

func (x *MemoryBarrier) PassRef() (*C.VkMemoryBarrier, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryBarrier) PassValue

func (x MemoryBarrier) PassValue() (C.VkMemoryBarrier, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryBarrier) Ref

func (x *MemoryBarrier) Ref() *C.VkMemoryBarrier

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryDedicatedAllocateInfo

type MemoryDedicatedAllocateInfo struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Image  Image
	Buffer Buffer
	// contains filtered or unexported fields
}

MemoryDedicatedAllocateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryDedicatedAllocateInfo.html

func NewMemoryDedicatedAllocateInfoRef

func NewMemoryDedicatedAllocateInfoRef(ref unsafe.Pointer) *MemoryDedicatedAllocateInfo

NewMemoryDedicatedAllocateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryDedicatedAllocateInfo) Deref

func (x *MemoryDedicatedAllocateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryDedicatedAllocateInfo) Free

func (x *MemoryDedicatedAllocateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryDedicatedAllocateInfo) PassRef

func (x *MemoryDedicatedAllocateInfo) PassRef() (*C.VkMemoryDedicatedAllocateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryDedicatedAllocateInfo) PassValue

func (x MemoryDedicatedAllocateInfo) PassValue() (C.VkMemoryDedicatedAllocateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryDedicatedAllocateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryDedicatedRequirements

type MemoryDedicatedRequirements struct {
	SType                       StructureType
	PNext                       unsafe.Pointer
	PrefersDedicatedAllocation  Bool32
	RequiresDedicatedAllocation Bool32
	// contains filtered or unexported fields
}

MemoryDedicatedRequirements as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryDedicatedRequirements.html

func NewMemoryDedicatedRequirementsRef

func NewMemoryDedicatedRequirementsRef(ref unsafe.Pointer) *MemoryDedicatedRequirements

NewMemoryDedicatedRequirementsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryDedicatedRequirements) Deref

func (x *MemoryDedicatedRequirements) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryDedicatedRequirements) Free

func (x *MemoryDedicatedRequirements) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryDedicatedRequirements) PassRef

func (x *MemoryDedicatedRequirements) PassRef() (*C.VkMemoryDedicatedRequirements, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryDedicatedRequirements) PassValue

func (x MemoryDedicatedRequirements) PassValue() (C.VkMemoryDedicatedRequirements, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryDedicatedRequirements) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryFdProperties

type MemoryFdProperties struct {
	SType          StructureType
	PNext          unsafe.Pointer
	MemoryTypeBits uint32
	// contains filtered or unexported fields
}

MemoryFdProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkMemoryFdPropertiesKHR

func NewMemoryFdPropertiesRef

func NewMemoryFdPropertiesRef(ref unsafe.Pointer) *MemoryFdProperties

NewMemoryFdPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryFdProperties) Deref

func (x *MemoryFdProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryFdProperties) Free

func (x *MemoryFdProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryFdProperties) PassRef

func (x *MemoryFdProperties) PassRef() (*C.VkMemoryFdPropertiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryFdProperties) PassValue

func (x MemoryFdProperties) PassValue() (C.VkMemoryFdPropertiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryFdProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryGetFdInfo

type MemoryGetFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Memory     DeviceMemory
	HandleType ExternalMemoryHandleTypeFlagBits
	// contains filtered or unexported fields
}

MemoryGetFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkMemoryGetFdInfoKHR

func NewMemoryGetFdInfoRef

func NewMemoryGetFdInfoRef(ref unsafe.Pointer) *MemoryGetFdInfo

NewMemoryGetFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryGetFdInfo) Deref

func (x *MemoryGetFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryGetFdInfo) Free

func (x *MemoryGetFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryGetFdInfo) PassRef

func (x *MemoryGetFdInfo) PassRef() (*C.VkMemoryGetFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryGetFdInfo) PassValue

func (x MemoryGetFdInfo) PassValue() (C.VkMemoryGetFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryGetFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryHeap

type MemoryHeap struct {
	Size  DeviceSize
	Flags MemoryHeapFlags
	// contains filtered or unexported fields
}

MemoryHeap as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHeap.html

func NewMemoryHeapRef

func NewMemoryHeapRef(ref unsafe.Pointer) *MemoryHeap

NewMemoryHeapRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryHeap) Deref

func (x *MemoryHeap) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryHeap) Free

func (x *MemoryHeap) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryHeap) PassRef

func (x *MemoryHeap) PassRef() (*C.VkMemoryHeap, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryHeap) PassValue

func (x MemoryHeap) PassValue() (C.VkMemoryHeap, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryHeap) Ref

func (x *MemoryHeap) Ref() *C.VkMemoryHeap

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryHeapFlagBits

type MemoryHeapFlagBits int32

MemoryHeapFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHeapFlagBits.html

const (
	MemoryHeapDeviceLocalBit   MemoryHeapFlagBits = 1
	MemoryHeapMultiInstanceBit MemoryHeapFlagBits = 2
	MemoryHeapFlagBitsMaxEnum  MemoryHeapFlagBits = 2147483647
)

MemoryHeapFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHeapFlagBits.html

type MemoryHostPointerProperties

type MemoryHostPointerProperties struct {
	SType          StructureType
	PNext          unsafe.Pointer
	MemoryTypeBits uint32
	// contains filtered or unexported fields
}

MemoryHostPointerProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryHostPointerPropertiesEXT.html

func NewMemoryHostPointerPropertiesRef

func NewMemoryHostPointerPropertiesRef(ref unsafe.Pointer) *MemoryHostPointerProperties

NewMemoryHostPointerPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryHostPointerProperties) Deref

func (x *MemoryHostPointerProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryHostPointerProperties) Free

func (x *MemoryHostPointerProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryHostPointerProperties) PassRef

func (x *MemoryHostPointerProperties) PassRef() (*C.VkMemoryHostPointerPropertiesEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryHostPointerProperties) PassValue

func (x MemoryHostPointerProperties) PassValue() (C.VkMemoryHostPointerPropertiesEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryHostPointerProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryPropertyFlagBits

type MemoryPropertyFlagBits int32

MemoryPropertyFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryPropertyFlagBits.html

const (
	MemoryPropertyDeviceLocalBit     MemoryPropertyFlagBits = 1
	MemoryPropertyHostVisibleBit     MemoryPropertyFlagBits = 2
	MemoryPropertyHostCoherentBit    MemoryPropertyFlagBits = 4
	MemoryPropertyHostCachedBit      MemoryPropertyFlagBits = 8
	MemoryPropertyLazilyAllocatedBit MemoryPropertyFlagBits = 16
	MemoryPropertyProtectedBit       MemoryPropertyFlagBits = 32
	MemoryPropertyFlagBitsMaxEnum    MemoryPropertyFlagBits = 2147483647
)

MemoryPropertyFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryPropertyFlagBits.html

type MemoryPropertyFlags

type MemoryPropertyFlags uint32

MemoryPropertyFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryPropertyFlags.html

type MemoryRequirements

type MemoryRequirements struct {
	Size           DeviceSize
	Alignment      DeviceSize
	MemoryTypeBits uint32
	// contains filtered or unexported fields
}

MemoryRequirements as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryRequirements.html

func NewMemoryRequirementsRef

func NewMemoryRequirementsRef(ref unsafe.Pointer) *MemoryRequirements

NewMemoryRequirementsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryRequirements) Deref

func (x *MemoryRequirements) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryRequirements) Free

func (x *MemoryRequirements) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryRequirements) PassRef

func (x *MemoryRequirements) PassRef() (*C.VkMemoryRequirements, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryRequirements) PassValue

func (x MemoryRequirements) PassValue() (C.VkMemoryRequirements, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryRequirements) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryRequirements2

type MemoryRequirements2 struct {
	SType              StructureType
	PNext              unsafe.Pointer
	MemoryRequirements MemoryRequirements
	// contains filtered or unexported fields
}

MemoryRequirements2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryRequirements2.html

func NewMemoryRequirements2Ref

func NewMemoryRequirements2Ref(ref unsafe.Pointer) *MemoryRequirements2

NewMemoryRequirements2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryRequirements2) Deref

func (x *MemoryRequirements2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryRequirements2) Free

func (x *MemoryRequirements2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryRequirements2) PassRef

func (x *MemoryRequirements2) PassRef() (*C.VkMemoryRequirements2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryRequirements2) PassValue

func (x MemoryRequirements2) PassValue() (C.VkMemoryRequirements2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryRequirements2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type MemoryType

type MemoryType struct {
	PropertyFlags MemoryPropertyFlags
	HeapIndex     uint32
	// contains filtered or unexported fields
}

MemoryType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMemoryType.html

func NewMemoryTypeRef

func NewMemoryTypeRef(ref unsafe.Pointer) *MemoryType

NewMemoryTypeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MemoryType) Deref

func (x *MemoryType) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MemoryType) Free

func (x *MemoryType) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MemoryType) PassRef

func (x *MemoryType) PassRef() (*C.VkMemoryType, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MemoryType) PassValue

func (x MemoryType) PassValue() (C.VkMemoryType, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MemoryType) Ref

func (x *MemoryType) Ref() *C.VkMemoryType

Ref returns the underlying reference to C object or nil if struct is nil.

type MultisampleProperties

type MultisampleProperties struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	MaxSampleLocationGridSize Extent2D
	// contains filtered or unexported fields
}

MultisampleProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkMultisamplePropertiesEXT.html

func NewMultisamplePropertiesRef

func NewMultisamplePropertiesRef(ref unsafe.Pointer) *MultisampleProperties

NewMultisamplePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*MultisampleProperties) Deref

func (x *MultisampleProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*MultisampleProperties) Free

func (x *MultisampleProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*MultisampleProperties) PassRef

func (x *MultisampleProperties) PassRef() (*C.VkMultisamplePropertiesEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (MultisampleProperties) PassValue

func (x MultisampleProperties) PassValue() (C.VkMultisamplePropertiesEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*MultisampleProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectEntryTypeNVX

type ObjectEntryTypeNVX int32

ObjectEntryTypeNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectEntryTypeNVX

const (
	ObjectEntryTypeDescriptorSetNvx ObjectEntryTypeNVX = iota
	ObjectEntryTypePipelineNvx      ObjectEntryTypeNVX = 1
	ObjectEntryTypeIndexBufferNvx   ObjectEntryTypeNVX = 2
	ObjectEntryTypeVertexBufferNvx  ObjectEntryTypeNVX = 3
	ObjectEntryTypePushConstantNvx  ObjectEntryTypeNVX = 4
	ObjectEntryTypeBeginRangeNvx    ObjectEntryTypeNVX = 0
	ObjectEntryTypeEndRangeNvx      ObjectEntryTypeNVX = 4
	ObjectEntryTypeRangeSizeNvx     ObjectEntryTypeNVX = 5
	ObjectEntryTypeMaxEnumNvx       ObjectEntryTypeNVX = 2147483647
)

ObjectEntryTypeNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectEntryTypeNVX

type ObjectEntryUsageFlagBitsNVX

type ObjectEntryUsageFlagBitsNVX int32

ObjectEntryUsageFlagBitsNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectEntryUsageFlagBitsNVX

const (
	ObjectEntryUsageGraphicsBitNvx     ObjectEntryUsageFlagBitsNVX = 1
	ObjectEntryUsageComputeBitNvx      ObjectEntryUsageFlagBitsNVX = 2
	ObjectEntryUsageFlagBitsMaxEnumNvx ObjectEntryUsageFlagBitsNVX = 2147483647
)

ObjectEntryUsageFlagBitsNVX enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectEntryUsageFlagBitsNVX

type ObjectTableCreateInfoNVX

type ObjectTableCreateInfoNVX struct {
	SType                          StructureType
	PNext                          unsafe.Pointer
	ObjectCount                    uint32
	PObjectEntryTypes              []ObjectEntryTypeNVX
	PObjectEntryCounts             []uint32
	PObjectEntryUsageFlags         []ObjectEntryUsageFlagsNVX
	MaxUniformBuffersPerDescriptor uint32
	MaxStorageBuffersPerDescriptor uint32
	MaxStorageImagesPerDescriptor  uint32
	MaxSampledImagesPerDescriptor  uint32
	MaxPipelineLayouts             uint32
	// contains filtered or unexported fields
}

ObjectTableCreateInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTableCreateInfoNVX

func NewObjectTableCreateInfoNVXRef

func NewObjectTableCreateInfoNVXRef(ref unsafe.Pointer) *ObjectTableCreateInfoNVX

NewObjectTableCreateInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTableCreateInfoNVX) Deref

func (x *ObjectTableCreateInfoNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTableCreateInfoNVX) Free

func (x *ObjectTableCreateInfoNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTableCreateInfoNVX) PassRef

func (x *ObjectTableCreateInfoNVX) PassRef() (*C.VkObjectTableCreateInfoNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTableCreateInfoNVX) PassValue

func (x ObjectTableCreateInfoNVX) PassValue() (C.VkObjectTableCreateInfoNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTableCreateInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTableDescriptorSetEntryNVX

type ObjectTableDescriptorSetEntryNVX struct {
	Type           ObjectEntryTypeNVX
	Flags          ObjectEntryUsageFlagsNVX
	PipelineLayout PipelineLayout
	DescriptorSet  DescriptorSet
	// contains filtered or unexported fields
}

ObjectTableDescriptorSetEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTableDescriptorSetEntryNVX

func NewObjectTableDescriptorSetEntryNVXRef

func NewObjectTableDescriptorSetEntryNVXRef(ref unsafe.Pointer) *ObjectTableDescriptorSetEntryNVX

NewObjectTableDescriptorSetEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTableDescriptorSetEntryNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTableDescriptorSetEntryNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTableDescriptorSetEntryNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTableDescriptorSetEntryNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTableDescriptorSetEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTableEntryNVX

type ObjectTableEntryNVX struct {
	Type  ObjectEntryTypeNVX
	Flags ObjectEntryUsageFlagsNVX
	// contains filtered or unexported fields
}

ObjectTableEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTableEntryNVX

func NewObjectTableEntryNVXRef

func NewObjectTableEntryNVXRef(ref unsafe.Pointer) *ObjectTableEntryNVX

NewObjectTableEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTableEntryNVX) Deref

func (x *ObjectTableEntryNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTableEntryNVX) Free

func (x *ObjectTableEntryNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTableEntryNVX) PassRef

func (x *ObjectTableEntryNVX) PassRef() (*C.VkObjectTableEntryNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTableEntryNVX) PassValue

func (x ObjectTableEntryNVX) PassValue() (C.VkObjectTableEntryNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTableEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTableIndexBufferEntryNVX

type ObjectTableIndexBufferEntryNVX struct {
	Type      ObjectEntryTypeNVX
	Flags     ObjectEntryUsageFlagsNVX
	Buffer    Buffer
	IndexType IndexType
	// contains filtered or unexported fields
}

ObjectTableIndexBufferEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTableIndexBufferEntryNVX

func NewObjectTableIndexBufferEntryNVXRef

func NewObjectTableIndexBufferEntryNVXRef(ref unsafe.Pointer) *ObjectTableIndexBufferEntryNVX

NewObjectTableIndexBufferEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTableIndexBufferEntryNVX) Deref

func (x *ObjectTableIndexBufferEntryNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTableIndexBufferEntryNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTableIndexBufferEntryNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTableIndexBufferEntryNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTableIndexBufferEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTablePipelineEntryNVX

type ObjectTablePipelineEntryNVX struct {
	Type     ObjectEntryTypeNVX
	Flags    ObjectEntryUsageFlagsNVX
	Pipeline Pipeline
	// contains filtered or unexported fields
}

ObjectTablePipelineEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTablePipelineEntryNVX

func NewObjectTablePipelineEntryNVXRef

func NewObjectTablePipelineEntryNVXRef(ref unsafe.Pointer) *ObjectTablePipelineEntryNVX

NewObjectTablePipelineEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTablePipelineEntryNVX) Deref

func (x *ObjectTablePipelineEntryNVX) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTablePipelineEntryNVX) Free

func (x *ObjectTablePipelineEntryNVX) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTablePipelineEntryNVX) PassRef

func (x *ObjectTablePipelineEntryNVX) PassRef() (*C.VkObjectTablePipelineEntryNVX, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTablePipelineEntryNVX) PassValue

func (x ObjectTablePipelineEntryNVX) PassValue() (C.VkObjectTablePipelineEntryNVX, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTablePipelineEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTablePushConstantEntryNVX

type ObjectTablePushConstantEntryNVX struct {
	Type           ObjectEntryTypeNVX
	Flags          ObjectEntryUsageFlagsNVX
	PipelineLayout PipelineLayout
	StageFlags     ShaderStageFlags
	// contains filtered or unexported fields
}

ObjectTablePushConstantEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTablePushConstantEntryNVX

func NewObjectTablePushConstantEntryNVXRef

func NewObjectTablePushConstantEntryNVXRef(ref unsafe.Pointer) *ObjectTablePushConstantEntryNVX

NewObjectTablePushConstantEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTablePushConstantEntryNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTablePushConstantEntryNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTablePushConstantEntryNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTablePushConstantEntryNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTablePushConstantEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectTableVertexBufferEntryNVX

type ObjectTableVertexBufferEntryNVX struct {
	Type   ObjectEntryTypeNVX
	Flags  ObjectEntryUsageFlagsNVX
	Buffer Buffer
	// contains filtered or unexported fields
}

ObjectTableVertexBufferEntryNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkObjectTableVertexBufferEntryNVX

func NewObjectTableVertexBufferEntryNVXRef

func NewObjectTableVertexBufferEntryNVXRef(ref unsafe.Pointer) *ObjectTableVertexBufferEntryNVX

NewObjectTableVertexBufferEntryNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ObjectTableVertexBufferEntryNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ObjectTableVertexBufferEntryNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ObjectTableVertexBufferEntryNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ObjectTableVertexBufferEntryNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ObjectTableVertexBufferEntryNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ObjectType

type ObjectType int32

ObjectType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkObjectType.html

const (
	ObjectTypeUnknown                   ObjectType = iota
	ObjectTypeInstance                  ObjectType = 1
	ObjectTypePhysicalDevice            ObjectType = 2
	ObjectTypeDevice                    ObjectType = 3
	ObjectTypeQueue                     ObjectType = 4
	ObjectTypeSemaphore                 ObjectType = 5
	ObjectTypeCommandBuffer             ObjectType = 6
	ObjectTypeFence                     ObjectType = 7
	ObjectTypeDeviceMemory              ObjectType = 8
	ObjectTypeBuffer                    ObjectType = 9
	ObjectTypeImage                     ObjectType = 10
	ObjectTypeEvent                     ObjectType = 11
	ObjectTypeQueryPool                 ObjectType = 12
	ObjectTypeBufferView                ObjectType = 13
	ObjectTypeImageView                 ObjectType = 14
	ObjectTypeShaderModule              ObjectType = 15
	ObjectTypePipelineCache             ObjectType = 16
	ObjectTypePipelineLayout            ObjectType = 17
	ObjectTypeRenderPass                ObjectType = 18
	ObjectTypePipeline                  ObjectType = 19
	ObjectTypeDescriptorSetLayout       ObjectType = 20
	ObjectTypeSampler                   ObjectType = 21
	ObjectTypeDescriptorPool            ObjectType = 22
	ObjectTypeDescriptorSet             ObjectType = 23
	ObjectTypeFramebuffer               ObjectType = 24
	ObjectTypeCommandPool               ObjectType = 25
	ObjectTypeSamplerYcbcrConversion    ObjectType = 1000156000
	ObjectTypeDescriptorUpdateTemplate  ObjectType = 1000085000
	ObjectTypeSurface                   ObjectType = 1000000000
	ObjectTypeSwapchain                 ObjectType = 1000001000
	ObjectTypeDisplay                   ObjectType = 1000002000
	ObjectTypeDisplayMode               ObjectType = 1000002001
	ObjectTypeDebugReportCallback       ObjectType = 1000011000
	ObjectTypeObjectTableNvx            ObjectType = 1000086000
	ObjectTypeIndirectCommandsLayoutNvx ObjectType = 1000086001
	ObjectTypeDebugUtilsMessenger       ObjectType = 1000128000
	ObjectTypeValidationCache           ObjectType = 1000160000
	ObjectTypeAccelerationStructureNvx  ObjectType = 1000165000
	ObjectTypeBeginRange                ObjectType = 0
	ObjectTypeEndRange                  ObjectType = 25
	ObjectTypeRangeSize                 ObjectType = 26
	ObjectTypeMaxEnum                   ObjectType = 2147483647
)

ObjectType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkObjectType.html

type Offset2D

type Offset2D struct {
	X int32
	Y int32
	// contains filtered or unexported fields
}

Offset2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkOffset2D.html

func NewOffset2DRef

func NewOffset2DRef(ref unsafe.Pointer) *Offset2D

NewOffset2DRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Offset2D) Deref

func (x *Offset2D) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Offset2D) Free

func (x *Offset2D) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Offset2D) PassRef

func (x *Offset2D) PassRef() (*C.VkOffset2D, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Offset2D) PassValue

func (x Offset2D) PassValue() (C.VkOffset2D, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Offset2D) Ref

func (x *Offset2D) Ref() *C.VkOffset2D

Ref returns the underlying reference to C object or nil if struct is nil.

type Offset3D

type Offset3D struct {
	X int32
	Y int32
	Z int32
	// contains filtered or unexported fields
}

Offset3D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkOffset3D.html

func NewOffset3DRef

func NewOffset3DRef(ref unsafe.Pointer) *Offset3D

NewOffset3DRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Offset3D) Deref

func (x *Offset3D) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Offset3D) Free

func (x *Offset3D) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Offset3D) PassRef

func (x *Offset3D) PassRef() (*C.VkOffset3D, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Offset3D) PassValue

func (x Offset3D) PassValue() (C.VkOffset3D, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Offset3D) Ref

func (x *Offset3D) Ref() *C.VkOffset3D

Ref returns the underlying reference to C object or nil if struct is nil.

type PastPresentationTimingGOOGLE

type PastPresentationTimingGOOGLE struct {
	PresentID           uint32
	DesiredPresentTime  uint64
	ActualPresentTime   uint64
	EarliestPresentTime uint64
	PresentMargin       uint64
	// contains filtered or unexported fields
}

PastPresentationTimingGOOGLE as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPastPresentationTimingGOOGLE.html

func NewPastPresentationTimingGOOGLERef

func NewPastPresentationTimingGOOGLERef(ref unsafe.Pointer) *PastPresentationTimingGOOGLE

NewPastPresentationTimingGOOGLERef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PastPresentationTimingGOOGLE) Deref

func (x *PastPresentationTimingGOOGLE) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PastPresentationTimingGOOGLE) Free

func (x *PastPresentationTimingGOOGLE) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PastPresentationTimingGOOGLE) PassRef

func (x *PastPresentationTimingGOOGLE) PassRef() (*C.VkPastPresentationTimingGOOGLE, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PastPresentationTimingGOOGLE) PassValue

func (x PastPresentationTimingGOOGLE) PassValue() (C.VkPastPresentationTimingGOOGLE, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PastPresentationTimingGOOGLE) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PeerMemoryFeatureFlagBits

type PeerMemoryFeatureFlagBits int32

PeerMemoryFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPeerMemoryFeatureFlagBits.html

const (
	PeerMemoryFeatureCopySrcBit      PeerMemoryFeatureFlagBits = 1
	PeerMemoryFeatureCopyDstBit      PeerMemoryFeatureFlagBits = 2
	PeerMemoryFeatureGenericSrcBit   PeerMemoryFeatureFlagBits = 4
	PeerMemoryFeatureGenericDstBit   PeerMemoryFeatureFlagBits = 8
	PeerMemoryFeatureFlagBitsMaxEnum PeerMemoryFeatureFlagBits = 2147483647
)

PeerMemoryFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPeerMemoryFeatureFlagBits.html

type PeerMemoryFeatureFlags

type PeerMemoryFeatureFlags uint32

PeerMemoryFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPeerMemoryFeatureFlags.html

type PhysicalDevice16BitStorageFeatures

type PhysicalDevice16BitStorageFeatures struct {
	SType                              StructureType
	PNext                              unsafe.Pointer
	StorageBuffer16BitAccess           Bool32
	UniformAndStorageBuffer16BitAccess Bool32
	StoragePushConstant16              Bool32
	StorageInputOutput16               Bool32
	// contains filtered or unexported fields
}

PhysicalDevice16BitStorageFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDevice16BitStorageFeatures.html

func NewPhysicalDevice16BitStorageFeaturesRef

func NewPhysicalDevice16BitStorageFeaturesRef(ref unsafe.Pointer) *PhysicalDevice16BitStorageFeatures

NewPhysicalDevice16BitStorageFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDevice16BitStorageFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDevice16BitStorageFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDevice16BitStorageFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDevice16BitStorageFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDevice16BitStorageFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDevice8BitStorageFeatures

type PhysicalDevice8BitStorageFeatures struct {
	SType                             StructureType
	PNext                             unsafe.Pointer
	StorageBuffer8BitAccess           Bool32
	UniformAndStorageBuffer8BitAccess Bool32
	StoragePushConstant8              Bool32
	// contains filtered or unexported fields
}

PhysicalDevice8BitStorageFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDevice8BitStorageFeaturesKHR

func NewPhysicalDevice8BitStorageFeaturesRef

func NewPhysicalDevice8BitStorageFeaturesRef(ref unsafe.Pointer) *PhysicalDevice8BitStorageFeatures

NewPhysicalDevice8BitStorageFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDevice8BitStorageFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDevice8BitStorageFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDevice8BitStorageFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDevice8BitStorageFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDevice8BitStorageFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceASTCDecodeFeatures

type PhysicalDeviceASTCDecodeFeatures struct {
	SType                    StructureType
	PNext                    unsafe.Pointer
	DecodeModeSharedExponent Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceASTCDecodeFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceASTCDecodeFeaturesEXT.html

func NewPhysicalDeviceASTCDecodeFeaturesRef

func NewPhysicalDeviceASTCDecodeFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceASTCDecodeFeatures

NewPhysicalDeviceASTCDecodeFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceASTCDecodeFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceASTCDecodeFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceASTCDecodeFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceASTCDecodeFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceASTCDecodeFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceBlendOperationAdvancedFeatures

type PhysicalDeviceBlendOperationAdvancedFeatures struct {
	SType                           StructureType
	PNext                           unsafe.Pointer
	AdvancedBlendCoherentOperations Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceBlendOperationAdvancedFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT.html

func NewPhysicalDeviceBlendOperationAdvancedFeaturesRef

func NewPhysicalDeviceBlendOperationAdvancedFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceBlendOperationAdvancedFeatures

NewPhysicalDeviceBlendOperationAdvancedFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceBlendOperationAdvancedFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceBlendOperationAdvancedFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceBlendOperationAdvancedFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceBlendOperationAdvancedFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceBlendOperationAdvancedFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceBlendOperationAdvancedProperties

type PhysicalDeviceBlendOperationAdvancedProperties struct {
	SType                                 StructureType
	PNext                                 unsafe.Pointer
	AdvancedBlendMaxColorAttachments      uint32
	AdvancedBlendIndependentBlend         Bool32
	AdvancedBlendNonPremultipliedSrcColor Bool32
	AdvancedBlendNonPremultipliedDstColor Bool32
	AdvancedBlendCorrelatedOverlap        Bool32
	AdvancedBlendAllOperations            Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceBlendOperationAdvancedProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT.html

func NewPhysicalDeviceBlendOperationAdvancedPropertiesRef

func NewPhysicalDeviceBlendOperationAdvancedPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceBlendOperationAdvancedProperties

NewPhysicalDeviceBlendOperationAdvancedPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceBlendOperationAdvancedProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceBlendOperationAdvancedProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceBlendOperationAdvancedProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceBlendOperationAdvancedProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceBlendOperationAdvancedProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceComputeShaderDerivativesFeaturesNV

type PhysicalDeviceComputeShaderDerivativesFeaturesNV struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	ComputeDerivativeGroupQuads  Bool32
	ComputeDerivativeGroupLinear Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceComputeShaderDerivativesFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceComputeShaderDerivativesFeaturesNV.html

func NewPhysicalDeviceComputeShaderDerivativesFeaturesNVRef

func NewPhysicalDeviceComputeShaderDerivativesFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceComputeShaderDerivativesFeaturesNV

NewPhysicalDeviceComputeShaderDerivativesFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceComputeShaderDerivativesFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceComputeShaderDerivativesFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceComputeShaderDerivativesFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceComputeShaderDerivativesFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceComputeShaderDerivativesFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceConditionalRenderingFeatures

type PhysicalDeviceConditionalRenderingFeatures struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	ConditionalRendering          Bool32
	InheritedConditionalRendering Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceConditionalRenderingFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceConditionalRenderingFeaturesEXT.html

func NewPhysicalDeviceConditionalRenderingFeaturesRef

func NewPhysicalDeviceConditionalRenderingFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceConditionalRenderingFeatures

NewPhysicalDeviceConditionalRenderingFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceConditionalRenderingFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceConditionalRenderingFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceConditionalRenderingFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceConditionalRenderingFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceConditionalRenderingFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceConservativeRasterizationProperties

type PhysicalDeviceConservativeRasterizationProperties struct {
	SType                                       StructureType
	PNext                                       unsafe.Pointer
	PrimitiveOverestimationSize                 float32
	MaxExtraPrimitiveOverestimationSize         float32
	ExtraPrimitiveOverestimationSizeGranularity float32
	PrimitiveUnderestimation                    Bool32
	ConservativePointAndLineRasterization       Bool32
	DegenerateTrianglesRasterized               Bool32
	DegenerateLinesRasterized                   Bool32
	FullyCoveredFragmentShaderInputVariable     Bool32
	ConservativeRasterizationPostDepthCoverage  Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceConservativeRasterizationProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceConservativeRasterizationPropertiesEXT.html

func NewPhysicalDeviceConservativeRasterizationPropertiesRef

func NewPhysicalDeviceConservativeRasterizationPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceConservativeRasterizationProperties

NewPhysicalDeviceConservativeRasterizationPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceConservativeRasterizationProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceConservativeRasterizationProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceConservativeRasterizationProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceConservativeRasterizationProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceConservativeRasterizationProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceCornerSampledImageFeaturesNV

type PhysicalDeviceCornerSampledImageFeaturesNV struct {
	SType              StructureType
	PNext              unsafe.Pointer
	CornerSampledImage Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceCornerSampledImageFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceCornerSampledImageFeaturesNV.html

func NewPhysicalDeviceCornerSampledImageFeaturesNVRef

func NewPhysicalDeviceCornerSampledImageFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceCornerSampledImageFeaturesNV

NewPhysicalDeviceCornerSampledImageFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceCornerSampledImageFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceCornerSampledImageFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceCornerSampledImageFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceCornerSampledImageFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceCornerSampledImageFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceDescriptorIndexingFeatures

type PhysicalDeviceDescriptorIndexingFeatures struct {
	SType                                              StructureType
	PNext                                              unsafe.Pointer
	ShaderInputAttachmentArrayDynamicIndexing          Bool32
	ShaderUniformTexelBufferArrayDynamicIndexing       Bool32
	ShaderStorageTexelBufferArrayDynamicIndexing       Bool32
	ShaderUniformBufferArrayNonUniformIndexing         Bool32
	ShaderSampledImageArrayNonUniformIndexing          Bool32
	ShaderStorageBufferArrayNonUniformIndexing         Bool32
	ShaderStorageImageArrayNonUniformIndexing          Bool32
	ShaderInputAttachmentArrayNonUniformIndexing       Bool32
	ShaderUniformTexelBufferArrayNonUniformIndexing    Bool32
	ShaderStorageTexelBufferArrayNonUniformIndexing    Bool32
	DescriptorBindingUniformBufferUpdateAfterBind      Bool32
	DescriptorBindingSampledImageUpdateAfterBind       Bool32
	DescriptorBindingStorageImageUpdateAfterBind       Bool32
	DescriptorBindingStorageBufferUpdateAfterBind      Bool32
	DescriptorBindingUniformTexelBufferUpdateAfterBind Bool32
	DescriptorBindingStorageTexelBufferUpdateAfterBind Bool32
	DescriptorBindingUpdateUnusedWhilePending          Bool32
	DescriptorBindingPartiallyBound                    Bool32
	DescriptorBindingVariableDescriptorCount           Bool32
	RuntimeDescriptorArray                             Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceDescriptorIndexingFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceDescriptorIndexingFeaturesEXT.html

func NewPhysicalDeviceDescriptorIndexingFeaturesRef

func NewPhysicalDeviceDescriptorIndexingFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceDescriptorIndexingFeatures

NewPhysicalDeviceDescriptorIndexingFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceDescriptorIndexingFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceDescriptorIndexingFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceDescriptorIndexingFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceDescriptorIndexingFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceDescriptorIndexingFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceDescriptorIndexingProperties

type PhysicalDeviceDescriptorIndexingProperties struct {
	SType                                                StructureType
	PNext                                                unsafe.Pointer
	MaxUpdateAfterBindDescriptorsInAllPools              uint32
	ShaderUniformBufferArrayNonUniformIndexingNative     Bool32
	ShaderSampledImageArrayNonUniformIndexingNative      Bool32
	ShaderStorageBufferArrayNonUniformIndexingNative     Bool32
	ShaderStorageImageArrayNonUniformIndexingNative      Bool32
	ShaderInputAttachmentArrayNonUniformIndexingNative   Bool32
	RobustBufferAccessUpdateAfterBind                    Bool32
	QuadDivergentImplicitLod                             Bool32
	MaxPerStageDescriptorUpdateAfterBindSamplers         uint32
	MaxPerStageDescriptorUpdateAfterBindUniformBuffers   uint32
	MaxPerStageDescriptorUpdateAfterBindStorageBuffers   uint32
	MaxPerStageDescriptorUpdateAfterBindSampledImages    uint32
	MaxPerStageDescriptorUpdateAfterBindStorageImages    uint32
	MaxPerStageDescriptorUpdateAfterBindInputAttachments uint32
	MaxPerStageUpdateAfterBindResources                  uint32
	MaxDescriptorSetUpdateAfterBindSamplers              uint32
	MaxDescriptorSetUpdateAfterBindUniformBuffers        uint32
	MaxDescriptorSetUpdateAfterBindUniformBuffersDynamic uint32
	MaxDescriptorSetUpdateAfterBindStorageBuffers        uint32
	MaxDescriptorSetUpdateAfterBindStorageBuffersDynamic uint32
	MaxDescriptorSetUpdateAfterBindSampledImages         uint32
	MaxDescriptorSetUpdateAfterBindStorageImages         uint32
	MaxDescriptorSetUpdateAfterBindInputAttachments      uint32
	// contains filtered or unexported fields
}

PhysicalDeviceDescriptorIndexingProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceDescriptorIndexingPropertiesEXT.html

func NewPhysicalDeviceDescriptorIndexingPropertiesRef

func NewPhysicalDeviceDescriptorIndexingPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceDescriptorIndexingProperties

NewPhysicalDeviceDescriptorIndexingPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceDescriptorIndexingProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceDescriptorIndexingProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceDescriptorIndexingProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceDescriptorIndexingProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceDescriptorIndexingProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceDiscardRectangleProperties

type PhysicalDeviceDiscardRectangleProperties struct {
	SType                StructureType
	PNext                unsafe.Pointer
	MaxDiscardRectangles uint32
	// contains filtered or unexported fields
}

PhysicalDeviceDiscardRectangleProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceDiscardRectanglePropertiesEXT.html

func NewPhysicalDeviceDiscardRectanglePropertiesRef

func NewPhysicalDeviceDiscardRectanglePropertiesRef(ref unsafe.Pointer) *PhysicalDeviceDiscardRectangleProperties

NewPhysicalDeviceDiscardRectanglePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceDiscardRectangleProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceDiscardRectangleProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceDiscardRectangleProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceDiscardRectangleProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceDiscardRectangleProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceDriverProperties

type PhysicalDeviceDriverProperties struct {
	SType              StructureType
	PNext              unsafe.Pointer
	DriverID           DriverId
	DriverName         [256]byte
	DriverInfo         [256]byte
	ConformanceVersion ConformanceVersion
	// contains filtered or unexported fields
}

PhysicalDeviceDriverProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDeviceDriverPropertiesKHR

func NewPhysicalDeviceDriverPropertiesRef

func NewPhysicalDeviceDriverPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceDriverProperties

NewPhysicalDeviceDriverPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceDriverProperties) Deref

func (x *PhysicalDeviceDriverProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceDriverProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceDriverProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceDriverProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceDriverProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExclusiveScissorFeaturesNV

type PhysicalDeviceExclusiveScissorFeaturesNV struct {
	SType            StructureType
	PNext            unsafe.Pointer
	ExclusiveScissor Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceExclusiveScissorFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExclusiveScissorFeaturesNV.html

func NewPhysicalDeviceExclusiveScissorFeaturesNVRef

func NewPhysicalDeviceExclusiveScissorFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceExclusiveScissorFeaturesNV

NewPhysicalDeviceExclusiveScissorFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExclusiveScissorFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExclusiveScissorFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExclusiveScissorFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExclusiveScissorFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExclusiveScissorFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExternalBufferInfo

type PhysicalDeviceExternalBufferInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Flags      BufferCreateFlags
	Usage      BufferUsageFlags
	HandleType ExternalMemoryHandleTypeFlagBits
	// contains filtered or unexported fields
}

PhysicalDeviceExternalBufferInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExternalBufferInfo.html

func NewPhysicalDeviceExternalBufferInfoRef

func NewPhysicalDeviceExternalBufferInfoRef(ref unsafe.Pointer) *PhysicalDeviceExternalBufferInfo

NewPhysicalDeviceExternalBufferInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExternalBufferInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExternalBufferInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExternalBufferInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExternalBufferInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExternalBufferInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExternalFenceInfo

type PhysicalDeviceExternalFenceInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	HandleType ExternalFenceHandleTypeFlagBits
	// contains filtered or unexported fields
}

PhysicalDeviceExternalFenceInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExternalFenceInfo.html

func NewPhysicalDeviceExternalFenceInfoRef

func NewPhysicalDeviceExternalFenceInfoRef(ref unsafe.Pointer) *PhysicalDeviceExternalFenceInfo

NewPhysicalDeviceExternalFenceInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExternalFenceInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExternalFenceInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExternalFenceInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExternalFenceInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExternalFenceInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExternalImageFormatInfo

type PhysicalDeviceExternalImageFormatInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	HandleType ExternalMemoryHandleTypeFlagBits
	// contains filtered or unexported fields
}

PhysicalDeviceExternalImageFormatInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExternalImageFormatInfo.html

func NewPhysicalDeviceExternalImageFormatInfoRef

func NewPhysicalDeviceExternalImageFormatInfoRef(ref unsafe.Pointer) *PhysicalDeviceExternalImageFormatInfo

NewPhysicalDeviceExternalImageFormatInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExternalImageFormatInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExternalImageFormatInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExternalImageFormatInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExternalImageFormatInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExternalImageFormatInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExternalMemoryHostProperties

type PhysicalDeviceExternalMemoryHostProperties struct {
	SType                           StructureType
	PNext                           unsafe.Pointer
	MinImportedHostPointerAlignment DeviceSize
	// contains filtered or unexported fields
}

PhysicalDeviceExternalMemoryHostProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExternalMemoryHostPropertiesEXT.html

func NewPhysicalDeviceExternalMemoryHostPropertiesRef

func NewPhysicalDeviceExternalMemoryHostPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceExternalMemoryHostProperties

NewPhysicalDeviceExternalMemoryHostPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExternalMemoryHostProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExternalMemoryHostProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExternalMemoryHostProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExternalMemoryHostProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExternalMemoryHostProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceExternalSemaphoreInfo

type PhysicalDeviceExternalSemaphoreInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	HandleType ExternalSemaphoreHandleTypeFlagBits
	// contains filtered or unexported fields
}

PhysicalDeviceExternalSemaphoreInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceExternalSemaphoreInfo.html

func NewPhysicalDeviceExternalSemaphoreInfoRef

func NewPhysicalDeviceExternalSemaphoreInfoRef(ref unsafe.Pointer) *PhysicalDeviceExternalSemaphoreInfo

NewPhysicalDeviceExternalSemaphoreInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceExternalSemaphoreInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceExternalSemaphoreInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceExternalSemaphoreInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceExternalSemaphoreInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceExternalSemaphoreInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceFeatures

type PhysicalDeviceFeatures struct {
	RobustBufferAccess                      Bool32
	FullDrawIndexUint32                     Bool32
	ImageCubeArray                          Bool32
	IndependentBlend                        Bool32
	GeometryShader                          Bool32
	TessellationShader                      Bool32
	SampleRateShading                       Bool32
	DualSrcBlend                            Bool32
	LogicOp                                 Bool32
	MultiDrawIndirect                       Bool32
	DrawIndirectFirstInstance               Bool32
	DepthClamp                              Bool32
	DepthBiasClamp                          Bool32
	FillModeNonSolid                        Bool32
	DepthBounds                             Bool32
	WideLines                               Bool32
	LargePoints                             Bool32
	AlphaToOne                              Bool32
	MultiViewport                           Bool32
	SamplerAnisotropy                       Bool32
	TextureCompressionETC2                  Bool32
	TextureCompressionASTC_LDR              Bool32
	TextureCompressionBC                    Bool32
	OcclusionQueryPrecise                   Bool32
	PipelineStatisticsQuery                 Bool32
	VertexPipelineStoresAndAtomics          Bool32
	FragmentStoresAndAtomics                Bool32
	ShaderTessellationAndGeometryPointSize  Bool32
	ShaderImageGatherExtended               Bool32
	ShaderStorageImageExtendedFormats       Bool32
	ShaderStorageImageMultisample           Bool32
	ShaderStorageImageReadWithoutFormat     Bool32
	ShaderStorageImageWriteWithoutFormat    Bool32
	ShaderUniformBufferArrayDynamicIndexing Bool32
	ShaderSampledImageArrayDynamicIndexing  Bool32
	ShaderStorageBufferArrayDynamicIndexing Bool32
	ShaderStorageImageArrayDynamicIndexing  Bool32
	ShaderClipDistance                      Bool32
	ShaderCullDistance                      Bool32
	ShaderFloat64                           Bool32
	ShaderInt64                             Bool32
	ShaderInt16                             Bool32
	ShaderResourceResidency                 Bool32
	ShaderResourceMinLod                    Bool32
	SparseBinding                           Bool32
	SparseResidencyBuffer                   Bool32
	SparseResidencyImage2D                  Bool32
	SparseResidencyImage3D                  Bool32
	SparseResidency2Samples                 Bool32
	SparseResidency4Samples                 Bool32
	SparseResidency8Samples                 Bool32
	SparseResidency16Samples                Bool32
	SparseResidencyAliased                  Bool32
	VariableMultisampleRate                 Bool32
	InheritedQueries                        Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceFeatures.html

func NewPhysicalDeviceFeaturesRef

func NewPhysicalDeviceFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceFeatures

NewPhysicalDeviceFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceFeatures) Deref

func (x *PhysicalDeviceFeatures) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceFeatures) Free

func (x *PhysicalDeviceFeatures) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceFeatures) PassRef

func (x *PhysicalDeviceFeatures) PassRef() (*C.VkPhysicalDeviceFeatures, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceFeatures) PassValue

func (x PhysicalDeviceFeatures) PassValue() (C.VkPhysicalDeviceFeatures, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceFeatures2

type PhysicalDeviceFeatures2 struct {
	SType    StructureType
	PNext    unsafe.Pointer
	Features PhysicalDeviceFeatures
	// contains filtered or unexported fields
}

PhysicalDeviceFeatures2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceFeatures2.html

func NewPhysicalDeviceFeatures2Ref

func NewPhysicalDeviceFeatures2Ref(ref unsafe.Pointer) *PhysicalDeviceFeatures2

NewPhysicalDeviceFeatures2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceFeatures2) Deref

func (x *PhysicalDeviceFeatures2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceFeatures2) Free

func (x *PhysicalDeviceFeatures2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceFeatures2) PassRef

func (x *PhysicalDeviceFeatures2) PassRef() (*C.VkPhysicalDeviceFeatures2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceFeatures2) PassValue

func (x PhysicalDeviceFeatures2) PassValue() (C.VkPhysicalDeviceFeatures2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceFeatures2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceFragmentShaderBarycentricFeaturesNV

type PhysicalDeviceFragmentShaderBarycentricFeaturesNV struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	FragmentShaderBarycentric Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceFragmentShaderBarycentricFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV.html

func NewPhysicalDeviceFragmentShaderBarycentricFeaturesNVRef

func NewPhysicalDeviceFragmentShaderBarycentricFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceFragmentShaderBarycentricFeaturesNV

NewPhysicalDeviceFragmentShaderBarycentricFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceFragmentShaderBarycentricFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceFragmentShaderBarycentricFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceFragmentShaderBarycentricFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceFragmentShaderBarycentricFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceFragmentShaderBarycentricFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceGroupProperties

type PhysicalDeviceGroupProperties struct {
	SType               StructureType
	PNext               unsafe.Pointer
	PhysicalDeviceCount uint32
	PhysicalDevices     [32]PhysicalDevice
	SubsetAllocation    Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceGroupProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceGroupProperties.html

func NewPhysicalDeviceGroupPropertiesRef

func NewPhysicalDeviceGroupPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceGroupProperties

NewPhysicalDeviceGroupPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceGroupProperties) Deref

func (x *PhysicalDeviceGroupProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceGroupProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceGroupProperties) PassRef

func (x *PhysicalDeviceGroupProperties) PassRef() (*C.VkPhysicalDeviceGroupProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceGroupProperties) PassValue

func (x PhysicalDeviceGroupProperties) PassValue() (C.VkPhysicalDeviceGroupProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceGroupProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceIDProperties

type PhysicalDeviceIDProperties struct {
	SType           StructureType
	PNext           unsafe.Pointer
	DeviceUUID      [16]byte
	DriverUUID      [16]byte
	DeviceLUID      [8]byte
	DeviceNodeMask  uint32
	DeviceLUIDValid Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceIDProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceIDProperties.html

func NewPhysicalDeviceIDPropertiesRef

func NewPhysicalDeviceIDPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceIDProperties

NewPhysicalDeviceIDPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceIDProperties) Deref

func (x *PhysicalDeviceIDProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceIDProperties) Free

func (x *PhysicalDeviceIDProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceIDProperties) PassRef

func (x *PhysicalDeviceIDProperties) PassRef() (*C.VkPhysicalDeviceIDProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceIDProperties) PassValue

func (x PhysicalDeviceIDProperties) PassValue() (C.VkPhysicalDeviceIDProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceIDProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceImageDrmFormatModifierInfo

type PhysicalDeviceImageDrmFormatModifierInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	DrmFormatModifier     uint64
	SharingMode           SharingMode
	QueueFamilyIndexCount uint32
	PQueueFamilyIndices   []uint32
	// contains filtered or unexported fields
}

PhysicalDeviceImageDrmFormatModifierInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceImageDrmFormatModifierInfoEXT.html

func NewPhysicalDeviceImageDrmFormatModifierInfoRef

func NewPhysicalDeviceImageDrmFormatModifierInfoRef(ref unsafe.Pointer) *PhysicalDeviceImageDrmFormatModifierInfo

NewPhysicalDeviceImageDrmFormatModifierInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceImageDrmFormatModifierInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceImageDrmFormatModifierInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceImageDrmFormatModifierInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceImageDrmFormatModifierInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceImageDrmFormatModifierInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceImageFormatInfo2

type PhysicalDeviceImageFormatInfo2 struct {
	SType  StructureType
	PNext  unsafe.Pointer
	Format Format
	Type   ImageType
	Tiling ImageTiling
	Usage  ImageUsageFlags
	Flags  ImageCreateFlags
	// contains filtered or unexported fields
}

PhysicalDeviceImageFormatInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceImageFormatInfo2.html

func NewPhysicalDeviceImageFormatInfo2Ref

func NewPhysicalDeviceImageFormatInfo2Ref(ref unsafe.Pointer) *PhysicalDeviceImageFormatInfo2

NewPhysicalDeviceImageFormatInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceImageFormatInfo2) Deref

func (x *PhysicalDeviceImageFormatInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceImageFormatInfo2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceImageFormatInfo2) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceImageFormatInfo2) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceImageFormatInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceInlineUniformBlockFeatures

type PhysicalDeviceInlineUniformBlockFeatures struct {
	SType                                              StructureType
	PNext                                              unsafe.Pointer
	InlineUniformBlock                                 Bool32
	DescriptorBindingInlineUniformBlockUpdateAfterBind Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceInlineUniformBlockFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceInlineUniformBlockFeaturesEXT.html

func NewPhysicalDeviceInlineUniformBlockFeaturesRef

func NewPhysicalDeviceInlineUniformBlockFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceInlineUniformBlockFeatures

NewPhysicalDeviceInlineUniformBlockFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceInlineUniformBlockFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceInlineUniformBlockFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceInlineUniformBlockFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceInlineUniformBlockFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceInlineUniformBlockFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceInlineUniformBlockProperties

type PhysicalDeviceInlineUniformBlockProperties struct {
	SType                                                   StructureType
	PNext                                                   unsafe.Pointer
	MaxInlineUniformBlockSize                               uint32
	MaxPerStageDescriptorInlineUniformBlocks                uint32
	MaxPerStageDescriptorUpdateAfterBindInlineUniformBlocks uint32
	MaxDescriptorSetInlineUniformBlocks                     uint32
	MaxDescriptorSetUpdateAfterBindInlineUniformBlocks      uint32
	// contains filtered or unexported fields
}

PhysicalDeviceInlineUniformBlockProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceInlineUniformBlockPropertiesEXT.html

func NewPhysicalDeviceInlineUniformBlockPropertiesRef

func NewPhysicalDeviceInlineUniformBlockPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceInlineUniformBlockProperties

NewPhysicalDeviceInlineUniformBlockPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceInlineUniformBlockProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceInlineUniformBlockProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceInlineUniformBlockProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceInlineUniformBlockProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceInlineUniformBlockProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceLimits

type PhysicalDeviceLimits struct {
	MaxImageDimension1D                             uint32
	MaxImageDimension2D                             uint32
	MaxImageDimension3D                             uint32
	MaxImageDimensionCube                           uint32
	MaxImageArrayLayers                             uint32
	MaxTexelBufferElements                          uint32
	MaxUniformBufferRange                           uint32
	MaxStorageBufferRange                           uint32
	MaxPushConstantsSize                            uint32
	MaxMemoryAllocationCount                        uint32
	MaxSamplerAllocationCount                       uint32
	BufferImageGranularity                          DeviceSize
	SparseAddressSpaceSize                          DeviceSize
	MaxBoundDescriptorSets                          uint32
	MaxPerStageDescriptorSamplers                   uint32
	MaxPerStageDescriptorUniformBuffers             uint32
	MaxPerStageDescriptorStorageBuffers             uint32
	MaxPerStageDescriptorSampledImages              uint32
	MaxPerStageDescriptorStorageImages              uint32
	MaxPerStageDescriptorInputAttachments           uint32
	MaxPerStageResources                            uint32
	MaxDescriptorSetSamplers                        uint32
	MaxDescriptorSetUniformBuffers                  uint32
	MaxDescriptorSetUniformBuffersDynamic           uint32
	MaxDescriptorSetStorageBuffers                  uint32
	MaxDescriptorSetStorageBuffersDynamic           uint32
	MaxDescriptorSetSampledImages                   uint32
	MaxDescriptorSetStorageImages                   uint32
	MaxDescriptorSetInputAttachments                uint32
	MaxVertexInputAttributes                        uint32
	MaxVertexInputBindings                          uint32
	MaxVertexInputAttributeOffset                   uint32
	MaxVertexInputBindingStride                     uint32
	MaxVertexOutputComponents                       uint32
	MaxTessellationGenerationLevel                  uint32
	MaxTessellationPatchSize                        uint32
	MaxTessellationControlPerVertexInputComponents  uint32
	MaxTessellationControlPerVertexOutputComponents uint32
	MaxTessellationControlPerPatchOutputComponents  uint32
	MaxTessellationControlTotalOutputComponents     uint32
	MaxTessellationEvaluationInputComponents        uint32
	MaxTessellationEvaluationOutputComponents       uint32
	MaxGeometryShaderInvocations                    uint32
	MaxGeometryInputComponents                      uint32
	MaxGeometryOutputComponents                     uint32
	MaxGeometryOutputVertices                       uint32
	MaxGeometryTotalOutputComponents                uint32
	MaxFragmentInputComponents                      uint32
	MaxFragmentOutputAttachments                    uint32
	MaxFragmentDualSrcAttachments                   uint32
	MaxFragmentCombinedOutputResources              uint32
	MaxComputeSharedMemorySize                      uint32
	MaxComputeWorkGroupCount                        [3]uint32
	MaxComputeWorkGroupInvocations                  uint32
	MaxComputeWorkGroupSize                         [3]uint32
	SubPixelPrecisionBits                           uint32
	SubTexelPrecisionBits                           uint32
	MipmapPrecisionBits                             uint32
	MaxDrawIndexedIndexValue                        uint32
	MaxDrawIndirectCount                            uint32
	MaxSamplerLodBias                               float32
	MaxSamplerAnisotropy                            float32
	MaxViewports                                    uint32
	MaxViewportDimensions                           [2]uint32
	ViewportBoundsRange                             [2]float32
	ViewportSubPixelBits                            uint32
	MinMemoryMapAlignment                           uint
	MinTexelBufferOffsetAlignment                   DeviceSize
	MinUniformBufferOffsetAlignment                 DeviceSize
	MinStorageBufferOffsetAlignment                 DeviceSize
	MinTexelOffset                                  int32
	MaxTexelOffset                                  uint32
	MinTexelGatherOffset                            int32
	MaxTexelGatherOffset                            uint32
	MinInterpolationOffset                          float32
	MaxInterpolationOffset                          float32
	SubPixelInterpolationOffsetBits                 uint32
	MaxFramebufferWidth                             uint32
	MaxFramebufferHeight                            uint32
	MaxFramebufferLayers                            uint32
	FramebufferColorSampleCounts                    SampleCountFlags
	FramebufferDepthSampleCounts                    SampleCountFlags
	FramebufferStencilSampleCounts                  SampleCountFlags
	FramebufferNoAttachmentsSampleCounts            SampleCountFlags
	MaxColorAttachments                             uint32
	SampledImageColorSampleCounts                   SampleCountFlags
	SampledImageIntegerSampleCounts                 SampleCountFlags
	SampledImageDepthSampleCounts                   SampleCountFlags
	SampledImageStencilSampleCounts                 SampleCountFlags
	StorageImageSampleCounts                        SampleCountFlags
	MaxSampleMaskWords                              uint32
	TimestampComputeAndGraphics                     Bool32
	TimestampPeriod                                 float32
	MaxClipDistances                                uint32
	MaxCullDistances                                uint32
	MaxCombinedClipAndCullDistances                 uint32
	DiscreteQueuePriorities                         uint32
	PointSizeRange                                  [2]float32
	LineWidthRange                                  [2]float32
	PointSizeGranularity                            float32
	LineWidthGranularity                            float32
	StrictLines                                     Bool32
	StandardSampleLocations                         Bool32
	OptimalBufferCopyOffsetAlignment                DeviceSize
	OptimalBufferCopyRowPitchAlignment              DeviceSize
	NonCoherentAtomSize                             DeviceSize
	// contains filtered or unexported fields
}

PhysicalDeviceLimits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceLimits.html

func NewPhysicalDeviceLimitsRef

func NewPhysicalDeviceLimitsRef(ref unsafe.Pointer) *PhysicalDeviceLimits

NewPhysicalDeviceLimitsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceLimits) Deref

func (x *PhysicalDeviceLimits) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceLimits) Free

func (x *PhysicalDeviceLimits) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceLimits) PassRef

func (x *PhysicalDeviceLimits) PassRef() (*C.VkPhysicalDeviceLimits, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceLimits) PassValue

func (x PhysicalDeviceLimits) PassValue() (C.VkPhysicalDeviceLimits, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceLimits) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMaintenance3Properties

type PhysicalDeviceMaintenance3Properties struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	MaxPerSetDescriptors    uint32
	MaxMemoryAllocationSize DeviceSize
	// contains filtered or unexported fields
}

PhysicalDeviceMaintenance3Properties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMaintenance3Properties.html

func NewPhysicalDeviceMaintenance3PropertiesRef

func NewPhysicalDeviceMaintenance3PropertiesRef(ref unsafe.Pointer) *PhysicalDeviceMaintenance3Properties

NewPhysicalDeviceMaintenance3PropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMaintenance3Properties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMaintenance3Properties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMaintenance3Properties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMaintenance3Properties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMaintenance3Properties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMemoryProperties

type PhysicalDeviceMemoryProperties struct {
	MemoryTypeCount uint32
	MemoryTypes     [32]MemoryType
	MemoryHeapCount uint32
	MemoryHeaps     [16]MemoryHeap
	// contains filtered or unexported fields
}

PhysicalDeviceMemoryProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMemoryProperties.html

func NewPhysicalDeviceMemoryPropertiesRef

func NewPhysicalDeviceMemoryPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceMemoryProperties

NewPhysicalDeviceMemoryPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMemoryProperties) Deref

func (x *PhysicalDeviceMemoryProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMemoryProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMemoryProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMemoryProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMemoryProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMemoryProperties2

type PhysicalDeviceMemoryProperties2 struct {
	SType            StructureType
	PNext            unsafe.Pointer
	MemoryProperties PhysicalDeviceMemoryProperties
	// contains filtered or unexported fields
}

PhysicalDeviceMemoryProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMemoryProperties2.html

func NewPhysicalDeviceMemoryProperties2Ref

func NewPhysicalDeviceMemoryProperties2Ref(ref unsafe.Pointer) *PhysicalDeviceMemoryProperties2

NewPhysicalDeviceMemoryProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMemoryProperties2) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMemoryProperties2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMemoryProperties2) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMemoryProperties2) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMemoryProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMeshShaderFeaturesNV

type PhysicalDeviceMeshShaderFeaturesNV struct {
	SType      StructureType
	PNext      unsafe.Pointer
	TaskShader Bool32
	MeshShader Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceMeshShaderFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMeshShaderFeaturesNV.html

func NewPhysicalDeviceMeshShaderFeaturesNVRef

func NewPhysicalDeviceMeshShaderFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceMeshShaderFeaturesNV

NewPhysicalDeviceMeshShaderFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMeshShaderFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMeshShaderFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMeshShaderFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMeshShaderFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMeshShaderFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMeshShaderPropertiesNV

type PhysicalDeviceMeshShaderPropertiesNV struct {
	SType                             StructureType
	PNext                             unsafe.Pointer
	MaxDrawMeshTasksCount             uint32
	MaxTaskWorkGroupInvocations       uint32
	MaxTaskWorkGroupSize              [3]uint32
	MaxTaskTotalMemorySize            uint32
	MaxTaskOutputCount                uint32
	MaxMeshWorkGroupInvocations       uint32
	MaxMeshWorkGroupSize              [3]uint32
	MaxMeshTotalMemorySize            uint32
	MaxMeshOutputVertices             uint32
	MaxMeshOutputPrimitives           uint32
	MaxMeshMultiviewViewCount         uint32
	MeshOutputPerVertexGranularity    uint32
	MeshOutputPerPrimitiveGranularity uint32
	// contains filtered or unexported fields
}

PhysicalDeviceMeshShaderPropertiesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMeshShaderPropertiesNV.html

func NewPhysicalDeviceMeshShaderPropertiesNVRef

func NewPhysicalDeviceMeshShaderPropertiesNVRef(ref unsafe.Pointer) *PhysicalDeviceMeshShaderPropertiesNV

NewPhysicalDeviceMeshShaderPropertiesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMeshShaderPropertiesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMeshShaderPropertiesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMeshShaderPropertiesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMeshShaderPropertiesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMeshShaderPropertiesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMultiviewFeatures

type PhysicalDeviceMultiviewFeatures struct {
	SType                       StructureType
	PNext                       unsafe.Pointer
	Multiview                   Bool32
	MultiviewGeometryShader     Bool32
	MultiviewTessellationShader Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceMultiviewFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMultiviewFeatures.html

func NewPhysicalDeviceMultiviewFeaturesRef

func NewPhysicalDeviceMultiviewFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceMultiviewFeatures

NewPhysicalDeviceMultiviewFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMultiviewFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMultiviewFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMultiviewFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMultiviewFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMultiviewFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX

type PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	PerViewPositionAllComponents Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX

func NewPhysicalDeviceMultiviewPerViewAttributesPropertiesNVXRef

func NewPhysicalDeviceMultiviewPerViewAttributesPropertiesNVXRef(ref unsafe.Pointer) *PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX

NewPhysicalDeviceMultiviewPerViewAttributesPropertiesNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceMultiviewProperties

type PhysicalDeviceMultiviewProperties struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	MaxMultiviewViewCount     uint32
	MaxMultiviewInstanceIndex uint32
	// contains filtered or unexported fields
}

PhysicalDeviceMultiviewProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceMultiviewProperties.html

func NewPhysicalDeviceMultiviewPropertiesRef

func NewPhysicalDeviceMultiviewPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceMultiviewProperties

NewPhysicalDeviceMultiviewPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceMultiviewProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceMultiviewProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceMultiviewProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceMultiviewProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceMultiviewProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDevicePCIBusInfoProperties

type PhysicalDevicePCIBusInfoProperties struct {
	SType       StructureType
	PNext       unsafe.Pointer
	PciDomain   uint16
	PciBus      byte
	PciDevice   byte
	PciFunction byte
	// contains filtered or unexported fields
}

PhysicalDevicePCIBusInfoProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDevicePCIBusInfoPropertiesEXT.html

func NewPhysicalDevicePCIBusInfoPropertiesRef

func NewPhysicalDevicePCIBusInfoPropertiesRef(ref unsafe.Pointer) *PhysicalDevicePCIBusInfoProperties

NewPhysicalDevicePCIBusInfoPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDevicePCIBusInfoProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDevicePCIBusInfoProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDevicePCIBusInfoProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDevicePCIBusInfoProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDevicePCIBusInfoProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDevicePointClippingProperties

type PhysicalDevicePointClippingProperties struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	PointClippingBehavior PointClippingBehavior
	// contains filtered or unexported fields
}

PhysicalDevicePointClippingProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDevicePointClippingProperties.html

func NewPhysicalDevicePointClippingPropertiesRef

func NewPhysicalDevicePointClippingPropertiesRef(ref unsafe.Pointer) *PhysicalDevicePointClippingProperties

NewPhysicalDevicePointClippingPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDevicePointClippingProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDevicePointClippingProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDevicePointClippingProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDevicePointClippingProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDevicePointClippingProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceProperties

type PhysicalDeviceProperties struct {
	ApiVersion        uint32
	DriverVersion     uint32
	VendorID          uint32
	DeviceID          uint32
	DeviceType        PhysicalDeviceType
	DeviceName        [256]byte
	PipelineCacheUUID [16]byte
	Limits            PhysicalDeviceLimits
	SparseProperties  PhysicalDeviceSparseProperties
	// contains filtered or unexported fields
}

PhysicalDeviceProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProperties.html

func NewPhysicalDevicePropertiesRef

func NewPhysicalDevicePropertiesRef(ref unsafe.Pointer) *PhysicalDeviceProperties

NewPhysicalDevicePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceProperties) Deref

func (x *PhysicalDeviceProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceProperties) Free

func (x *PhysicalDeviceProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceProperties) PassRef

func (x *PhysicalDeviceProperties) PassRef() (*C.VkPhysicalDeviceProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceProperties) PassValue

func (x PhysicalDeviceProperties) PassValue() (C.VkPhysicalDeviceProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceProperties2

type PhysicalDeviceProperties2 struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Properties PhysicalDeviceProperties
	// contains filtered or unexported fields
}

PhysicalDeviceProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProperties2.html

func NewPhysicalDeviceProperties2Ref

func NewPhysicalDeviceProperties2Ref(ref unsafe.Pointer) *PhysicalDeviceProperties2

NewPhysicalDeviceProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceProperties2) Deref

func (x *PhysicalDeviceProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceProperties2) Free

func (x *PhysicalDeviceProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceProperties2) PassRef

func (x *PhysicalDeviceProperties2) PassRef() (*C.VkPhysicalDeviceProperties2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceProperties2) PassValue

func (x PhysicalDeviceProperties2) PassValue() (C.VkPhysicalDeviceProperties2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceProtectedMemoryFeatures

type PhysicalDeviceProtectedMemoryFeatures struct {
	SType           StructureType
	PNext           unsafe.Pointer
	ProtectedMemory Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceProtectedMemoryFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProtectedMemoryFeatures.html

func NewPhysicalDeviceProtectedMemoryFeaturesRef

func NewPhysicalDeviceProtectedMemoryFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceProtectedMemoryFeatures

NewPhysicalDeviceProtectedMemoryFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceProtectedMemoryFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceProtectedMemoryFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceProtectedMemoryFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceProtectedMemoryFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceProtectedMemoryFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceProtectedMemoryProperties

type PhysicalDeviceProtectedMemoryProperties struct {
	SType            StructureType
	PNext            unsafe.Pointer
	ProtectedNoFault Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceProtectedMemoryProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceProtectedMemoryProperties.html

func NewPhysicalDeviceProtectedMemoryPropertiesRef

func NewPhysicalDeviceProtectedMemoryPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceProtectedMemoryProperties

NewPhysicalDeviceProtectedMemoryPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceProtectedMemoryProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceProtectedMemoryProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceProtectedMemoryProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceProtectedMemoryProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceProtectedMemoryProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDevicePushDescriptorProperties

type PhysicalDevicePushDescriptorProperties struct {
	SType              StructureType
	PNext              unsafe.Pointer
	MaxPushDescriptors uint32
	// contains filtered or unexported fields
}

PhysicalDevicePushDescriptorProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDevicePushDescriptorPropertiesKHR

func NewPhysicalDevicePushDescriptorPropertiesRef

func NewPhysicalDevicePushDescriptorPropertiesRef(ref unsafe.Pointer) *PhysicalDevicePushDescriptorProperties

NewPhysicalDevicePushDescriptorPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDevicePushDescriptorProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDevicePushDescriptorProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDevicePushDescriptorProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDevicePushDescriptorProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDevicePushDescriptorProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceRaytracingPropertiesNVX

type PhysicalDeviceRaytracingPropertiesNVX struct {
	SType             StructureType
	PNext             unsafe.Pointer
	ShaderHeaderSize  uint32
	MaxRecursionDepth uint32
	MaxGeometryCount  uint32
	// contains filtered or unexported fields
}

PhysicalDeviceRaytracingPropertiesNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkPhysicalDeviceRaytracingPropertiesNVX

func NewPhysicalDeviceRaytracingPropertiesNVXRef

func NewPhysicalDeviceRaytracingPropertiesNVXRef(ref unsafe.Pointer) *PhysicalDeviceRaytracingPropertiesNVX

NewPhysicalDeviceRaytracingPropertiesNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceRaytracingPropertiesNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceRaytracingPropertiesNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceRaytracingPropertiesNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceRaytracingPropertiesNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceRaytracingPropertiesNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceRepresentativeFragmentTestFeaturesNV

type PhysicalDeviceRepresentativeFragmentTestFeaturesNV struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	RepresentativeFragmentTest Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceRepresentativeFragmentTestFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV.html

func NewPhysicalDeviceRepresentativeFragmentTestFeaturesNVRef

func NewPhysicalDeviceRepresentativeFragmentTestFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceRepresentativeFragmentTestFeaturesNV

NewPhysicalDeviceRepresentativeFragmentTestFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceRepresentativeFragmentTestFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceRepresentativeFragmentTestFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceRepresentativeFragmentTestFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceRepresentativeFragmentTestFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceRepresentativeFragmentTestFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSampleLocationsProperties

type PhysicalDeviceSampleLocationsProperties struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	SampleLocationSampleCounts    SampleCountFlags
	MaxSampleLocationGridSize     Extent2D
	SampleLocationCoordinateRange [2]float32
	SampleLocationSubPixelBits    uint32
	VariableSampleLocations       Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceSampleLocationsProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSampleLocationsPropertiesEXT.html

func NewPhysicalDeviceSampleLocationsPropertiesRef

func NewPhysicalDeviceSampleLocationsPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceSampleLocationsProperties

NewPhysicalDeviceSampleLocationsPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSampleLocationsProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSampleLocationsProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSampleLocationsProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSampleLocationsProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSampleLocationsProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSamplerFilterMinmaxProperties

type PhysicalDeviceSamplerFilterMinmaxProperties struct {
	SType                              StructureType
	PNext                              unsafe.Pointer
	FilterMinmaxSingleComponentFormats Bool32
	FilterMinmaxImageComponentMapping  Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceSamplerFilterMinmaxProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT.html

func NewPhysicalDeviceSamplerFilterMinmaxPropertiesRef

func NewPhysicalDeviceSamplerFilterMinmaxPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceSamplerFilterMinmaxProperties

NewPhysicalDeviceSamplerFilterMinmaxPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSamplerFilterMinmaxProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSamplerFilterMinmaxProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSamplerFilterMinmaxProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSamplerFilterMinmaxProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSamplerFilterMinmaxProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSamplerYcbcrConversionFeatures

type PhysicalDeviceSamplerYcbcrConversionFeatures struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	SamplerYcbcrConversion Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceSamplerYcbcrConversionFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSamplerYcbcrConversionFeatures.html

func NewPhysicalDeviceSamplerYcbcrConversionFeaturesRef

func NewPhysicalDeviceSamplerYcbcrConversionFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceSamplerYcbcrConversionFeatures

NewPhysicalDeviceSamplerYcbcrConversionFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSamplerYcbcrConversionFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSamplerYcbcrConversionFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSamplerYcbcrConversionFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSamplerYcbcrConversionFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSamplerYcbcrConversionFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShaderAtomicInt64Features

type PhysicalDeviceShaderAtomicInt64Features struct {
	SType                    StructureType
	PNext                    unsafe.Pointer
	ShaderBufferInt64Atomics Bool32
	ShaderSharedInt64Atomics Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceShaderAtomicInt64Features as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDeviceShaderAtomicInt64FeaturesKHR

func NewPhysicalDeviceShaderAtomicInt64FeaturesRef

func NewPhysicalDeviceShaderAtomicInt64FeaturesRef(ref unsafe.Pointer) *PhysicalDeviceShaderAtomicInt64Features

NewPhysicalDeviceShaderAtomicInt64FeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShaderAtomicInt64Features) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShaderAtomicInt64Features) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShaderAtomicInt64Features) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShaderAtomicInt64Features) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShaderAtomicInt64Features) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShaderCorePropertiesAMD

type PhysicalDeviceShaderCorePropertiesAMD struct {
	SType                      StructureType
	PNext                      unsafe.Pointer
	ShaderEngineCount          uint32
	ShaderArraysPerEngineCount uint32
	ComputeUnitsPerShaderArray uint32
	SimdPerComputeUnit         uint32
	WavefrontsPerSimd          uint32
	WavefrontSize              uint32
	SgprsPerSimd               uint32
	MinSgprAllocation          uint32
	MaxSgprAllocation          uint32
	SgprAllocationGranularity  uint32
	VgprsPerSimd               uint32
	MinVgprAllocation          uint32
	MaxVgprAllocation          uint32
	VgprAllocationGranularity  uint32
	// contains filtered or unexported fields
}

PhysicalDeviceShaderCorePropertiesAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkPhysicalDeviceShaderCorePropertiesAMD

func NewPhysicalDeviceShaderCorePropertiesAMDRef

func NewPhysicalDeviceShaderCorePropertiesAMDRef(ref unsafe.Pointer) *PhysicalDeviceShaderCorePropertiesAMD

NewPhysicalDeviceShaderCorePropertiesAMDRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShaderCorePropertiesAMD) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShaderCorePropertiesAMD) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShaderCorePropertiesAMD) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShaderCorePropertiesAMD) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShaderCorePropertiesAMD) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShaderDrawParameterFeatures

type PhysicalDeviceShaderDrawParameterFeatures struct {
	SType                StructureType
	PNext                unsafe.Pointer
	ShaderDrawParameters Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceShaderDrawParameterFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceShaderDrawParameterFeatures.html

func NewPhysicalDeviceShaderDrawParameterFeaturesRef

func NewPhysicalDeviceShaderDrawParameterFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceShaderDrawParameterFeatures

NewPhysicalDeviceShaderDrawParameterFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShaderDrawParameterFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShaderDrawParameterFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShaderDrawParameterFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShaderDrawParameterFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShaderDrawParameterFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShaderImageFootprintFeaturesNV

type PhysicalDeviceShaderImageFootprintFeaturesNV struct {
	SType          StructureType
	PNext          unsafe.Pointer
	ImageFootprint Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceShaderImageFootprintFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceShaderImageFootprintFeaturesNV.html

func NewPhysicalDeviceShaderImageFootprintFeaturesNVRef

func NewPhysicalDeviceShaderImageFootprintFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceShaderImageFootprintFeaturesNV

NewPhysicalDeviceShaderImageFootprintFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShaderImageFootprintFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShaderImageFootprintFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShaderImageFootprintFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShaderImageFootprintFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShaderImageFootprintFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShadingRateImageFeaturesNV

type PhysicalDeviceShadingRateImageFeaturesNV struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	ShadingRateImage             Bool32
	ShadingRateCoarseSampleOrder Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceShadingRateImageFeaturesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceShadingRateImageFeaturesNV.html

func NewPhysicalDeviceShadingRateImageFeaturesNVRef

func NewPhysicalDeviceShadingRateImageFeaturesNVRef(ref unsafe.Pointer) *PhysicalDeviceShadingRateImageFeaturesNV

NewPhysicalDeviceShadingRateImageFeaturesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShadingRateImageFeaturesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShadingRateImageFeaturesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShadingRateImageFeaturesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShadingRateImageFeaturesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShadingRateImageFeaturesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceShadingRateImagePropertiesNV

type PhysicalDeviceShadingRateImagePropertiesNV struct {
	SType                       StructureType
	PNext                       unsafe.Pointer
	ShadingRateTexelSize        Extent2D
	ShadingRatePaletteSize      uint32
	ShadingRateMaxCoarseSamples uint32
	// contains filtered or unexported fields
}

PhysicalDeviceShadingRateImagePropertiesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceShadingRateImagePropertiesNV.html

func NewPhysicalDeviceShadingRateImagePropertiesNVRef

func NewPhysicalDeviceShadingRateImagePropertiesNVRef(ref unsafe.Pointer) *PhysicalDeviceShadingRateImagePropertiesNV

NewPhysicalDeviceShadingRateImagePropertiesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceShadingRateImagePropertiesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceShadingRateImagePropertiesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceShadingRateImagePropertiesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceShadingRateImagePropertiesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceShadingRateImagePropertiesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSparseImageFormatInfo2

type PhysicalDeviceSparseImageFormatInfo2 struct {
	SType   StructureType
	PNext   unsafe.Pointer
	Format  Format
	Type    ImageType
	Samples SampleCountFlagBits
	Usage   ImageUsageFlags
	Tiling  ImageTiling
	// contains filtered or unexported fields
}

PhysicalDeviceSparseImageFormatInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSparseImageFormatInfo2.html

func NewPhysicalDeviceSparseImageFormatInfo2Ref

func NewPhysicalDeviceSparseImageFormatInfo2Ref(ref unsafe.Pointer) *PhysicalDeviceSparseImageFormatInfo2

NewPhysicalDeviceSparseImageFormatInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSparseImageFormatInfo2) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSparseImageFormatInfo2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSparseImageFormatInfo2) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSparseImageFormatInfo2) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSparseImageFormatInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSparseProperties

type PhysicalDeviceSparseProperties struct {
	ResidencyStandard2DBlockShape            Bool32
	ResidencyStandard2DMultisampleBlockShape Bool32
	ResidencyStandard3DBlockShape            Bool32
	ResidencyAlignedMipSize                  Bool32
	ResidencyNonResidentStrict               Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceSparseProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSparseProperties.html

func NewPhysicalDeviceSparsePropertiesRef

func NewPhysicalDeviceSparsePropertiesRef(ref unsafe.Pointer) *PhysicalDeviceSparseProperties

NewPhysicalDeviceSparsePropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSparseProperties) Deref

func (x *PhysicalDeviceSparseProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSparseProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSparseProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSparseProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSparseProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSubgroupProperties

type PhysicalDeviceSubgroupProperties struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	SubgroupSize              uint32
	SupportedStages           ShaderStageFlags
	SupportedOperations       SubgroupFeatureFlags
	QuadOperationsInAllStages Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceSubgroupProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceSubgroupProperties.html

func NewPhysicalDeviceSubgroupPropertiesRef

func NewPhysicalDeviceSubgroupPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceSubgroupProperties

NewPhysicalDeviceSubgroupPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSubgroupProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSubgroupProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSubgroupProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSubgroupProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSubgroupProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceSurfaceInfo2

type PhysicalDeviceSurfaceInfo2 struct {
	SType   StructureType
	PNext   unsafe.Pointer
	Surface Surface
	// contains filtered or unexported fields
}

PhysicalDeviceSurfaceInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDeviceSurfaceInfo2KHR

func NewPhysicalDeviceSurfaceInfo2Ref

func NewPhysicalDeviceSurfaceInfo2Ref(ref unsafe.Pointer) *PhysicalDeviceSurfaceInfo2

NewPhysicalDeviceSurfaceInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceSurfaceInfo2) Deref

func (x *PhysicalDeviceSurfaceInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceSurfaceInfo2) Free

func (x *PhysicalDeviceSurfaceInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceSurfaceInfo2) PassRef

func (x *PhysicalDeviceSurfaceInfo2) PassRef() (*C.VkPhysicalDeviceSurfaceInfo2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceSurfaceInfo2) PassValue

func (x PhysicalDeviceSurfaceInfo2) PassValue() (C.VkPhysicalDeviceSurfaceInfo2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceSurfaceInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceTransformFeedbackFeatures

type PhysicalDeviceTransformFeedbackFeatures struct {
	SType             StructureType
	PNext             unsafe.Pointer
	TransformFeedback Bool32
	GeometryStreams   Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceTransformFeedbackFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceTransformFeedbackFeaturesEXT.html

func NewPhysicalDeviceTransformFeedbackFeaturesRef

func NewPhysicalDeviceTransformFeedbackFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceTransformFeedbackFeatures

NewPhysicalDeviceTransformFeedbackFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceTransformFeedbackFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceTransformFeedbackFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceTransformFeedbackFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceTransformFeedbackFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceTransformFeedbackFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceTransformFeedbackProperties

type PhysicalDeviceTransformFeedbackProperties struct {
	SType                                      StructureType
	PNext                                      unsafe.Pointer
	MaxTransformFeedbackStreams                uint32
	MaxTransformFeedbackBuffers                uint32
	MaxTransformFeedbackBufferSize             DeviceSize
	MaxTransformFeedbackStreamDataSize         uint32
	MaxTransformFeedbackBufferDataSize         uint32
	MaxTransformFeedbackBufferDataStride       uint32
	TransformFeedbackQueries                   Bool32
	TransformFeedbackStreamsLinesTriangles     Bool32
	TransformFeedbackRasterizationStreamSelect Bool32
	TransformFeedbackDraw                      Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceTransformFeedbackProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceTransformFeedbackPropertiesEXT.html

func NewPhysicalDeviceTransformFeedbackPropertiesRef

func NewPhysicalDeviceTransformFeedbackPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceTransformFeedbackProperties

NewPhysicalDeviceTransformFeedbackPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceTransformFeedbackProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceTransformFeedbackProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceTransformFeedbackProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceTransformFeedbackProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceTransformFeedbackProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceType

type PhysicalDeviceType int32

PhysicalDeviceType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceType.html

const (
	PhysicalDeviceTypeOther         PhysicalDeviceType = iota
	PhysicalDeviceTypeIntegratedGpu PhysicalDeviceType = 1
	PhysicalDeviceTypeDiscreteGpu   PhysicalDeviceType = 2
	PhysicalDeviceTypeVirtualGpu    PhysicalDeviceType = 3
	PhysicalDeviceTypeCpu           PhysicalDeviceType = 4
	PhysicalDeviceTypeBeginRange    PhysicalDeviceType = 0
	PhysicalDeviceTypeEndRange      PhysicalDeviceType = 4
	PhysicalDeviceTypeRangeSize     PhysicalDeviceType = 5
	PhysicalDeviceTypeMaxEnum       PhysicalDeviceType = 2147483647
)

PhysicalDeviceType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceType.html

type PhysicalDeviceVariablePointerFeatures

type PhysicalDeviceVariablePointerFeatures struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	VariablePointersStorageBuffer Bool32
	VariablePointers              Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceVariablePointerFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceVariablePointerFeatures.html

func NewPhysicalDeviceVariablePointerFeaturesRef

func NewPhysicalDeviceVariablePointerFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceVariablePointerFeatures

NewPhysicalDeviceVariablePointerFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceVariablePointerFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceVariablePointerFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceVariablePointerFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceVariablePointerFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceVariablePointerFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceVertexAttributeDivisorFeatures

type PhysicalDeviceVertexAttributeDivisorFeatures struct {
	SType                                  StructureType
	PNext                                  unsafe.Pointer
	VertexAttributeInstanceRateDivisor     Bool32
	VertexAttributeInstanceRateZeroDivisor Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceVertexAttributeDivisorFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT.html

func NewPhysicalDeviceVertexAttributeDivisorFeaturesRef

func NewPhysicalDeviceVertexAttributeDivisorFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceVertexAttributeDivisorFeatures

NewPhysicalDeviceVertexAttributeDivisorFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceVertexAttributeDivisorFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceVertexAttributeDivisorFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceVertexAttributeDivisorFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceVertexAttributeDivisorFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceVertexAttributeDivisorFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceVertexAttributeDivisorProperties

type PhysicalDeviceVertexAttributeDivisorProperties struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	MaxVertexAttribDivisor uint32
	// contains filtered or unexported fields
}

PhysicalDeviceVertexAttributeDivisorProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT.html

func NewPhysicalDeviceVertexAttributeDivisorPropertiesRef

func NewPhysicalDeviceVertexAttributeDivisorPropertiesRef(ref unsafe.Pointer) *PhysicalDeviceVertexAttributeDivisorProperties

NewPhysicalDeviceVertexAttributeDivisorPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceVertexAttributeDivisorProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceVertexAttributeDivisorProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceVertexAttributeDivisorProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceVertexAttributeDivisorProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceVertexAttributeDivisorProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PhysicalDeviceVulkanMemoryModelFeatures

type PhysicalDeviceVulkanMemoryModelFeatures struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	VulkanMemoryModel            Bool32
	VulkanMemoryModelDeviceScope Bool32
	// contains filtered or unexported fields
}

PhysicalDeviceVulkanMemoryModelFeatures as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPhysicalDeviceVulkanMemoryModelFeaturesKHR

func NewPhysicalDeviceVulkanMemoryModelFeaturesRef

func NewPhysicalDeviceVulkanMemoryModelFeaturesRef(ref unsafe.Pointer) *PhysicalDeviceVulkanMemoryModelFeatures

NewPhysicalDeviceVulkanMemoryModelFeaturesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PhysicalDeviceVulkanMemoryModelFeatures) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PhysicalDeviceVulkanMemoryModelFeatures) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PhysicalDeviceVulkanMemoryModelFeatures) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PhysicalDeviceVulkanMemoryModelFeatures) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PhysicalDeviceVulkanMemoryModelFeatures) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineBindPoint

type PipelineBindPoint int32

PipelineBindPoint as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineBindPoint.html

const (
	PipelineBindPointGraphics      PipelineBindPoint = iota
	PipelineBindPointCompute       PipelineBindPoint = 1
	PipelineBindPointRaytracingNvx PipelineBindPoint = 1000165000
	PipelineBindPointBeginRange    PipelineBindPoint = 0
	PipelineBindPointEndRange      PipelineBindPoint = 1
	PipelineBindPointRangeSize     PipelineBindPoint = 2
	PipelineBindPointMaxEnum       PipelineBindPoint = 2147483647
)

PipelineBindPoint enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineBindPoint.html

type PipelineCacheCreateFlags

type PipelineCacheCreateFlags uint32

PipelineCacheCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheCreateFlags.html

type PipelineCacheCreateInfo

type PipelineCacheCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           PipelineCacheCreateFlags
	InitialDataSize uint
	PInitialData    unsafe.Pointer
	// contains filtered or unexported fields
}

PipelineCacheCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheCreateInfo.html

func NewPipelineCacheCreateInfoRef

func NewPipelineCacheCreateInfoRef(ref unsafe.Pointer) *PipelineCacheCreateInfo

NewPipelineCacheCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineCacheCreateInfo) Deref

func (x *PipelineCacheCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineCacheCreateInfo) Free

func (x *PipelineCacheCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineCacheCreateInfo) PassRef

func (x *PipelineCacheCreateInfo) PassRef() (*C.VkPipelineCacheCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineCacheCreateInfo) PassValue

func (x PipelineCacheCreateInfo) PassValue() (C.VkPipelineCacheCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineCacheCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineCacheHeaderVersion

type PipelineCacheHeaderVersion int32

PipelineCacheHeaderVersion as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheHeaderVersion.html

const (
	PipelineCacheHeaderVersionOne        PipelineCacheHeaderVersion = 1
	PipelineCacheHeaderVersionBeginRange PipelineCacheHeaderVersion = 1
	PipelineCacheHeaderVersionEndRange   PipelineCacheHeaderVersion = 1
	PipelineCacheHeaderVersionRangeSize  PipelineCacheHeaderVersion = 1
	PipelineCacheHeaderVersionMaxEnum    PipelineCacheHeaderVersion = 2147483647
)

PipelineCacheHeaderVersion enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCacheHeaderVersion.html

type PipelineColorBlendAdvancedStateCreateInfo

type PipelineColorBlendAdvancedStateCreateInfo struct {
	SType            StructureType
	PNext            unsafe.Pointer
	SrcPremultiplied Bool32
	DstPremultiplied Bool32
	BlendOverlap     BlendOverlap
	// contains filtered or unexported fields
}

PipelineColorBlendAdvancedStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineColorBlendAdvancedStateCreateInfoEXT.html

func NewPipelineColorBlendAdvancedStateCreateInfoRef

func NewPipelineColorBlendAdvancedStateCreateInfoRef(ref unsafe.Pointer) *PipelineColorBlendAdvancedStateCreateInfo

NewPipelineColorBlendAdvancedStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineColorBlendAdvancedStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineColorBlendAdvancedStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineColorBlendAdvancedStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineColorBlendAdvancedStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineColorBlendAdvancedStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineColorBlendAttachmentState

type PipelineColorBlendAttachmentState struct {
	BlendEnable         Bool32
	SrcColorBlendFactor BlendFactor
	DstColorBlendFactor BlendFactor
	ColorBlendOp        BlendOp
	SrcAlphaBlendFactor BlendFactor
	DstAlphaBlendFactor BlendFactor
	AlphaBlendOp        BlendOp
	ColorWriteMask      ColorComponentFlags
	// contains filtered or unexported fields
}

PipelineColorBlendAttachmentState as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineColorBlendAttachmentState.html

func NewPipelineColorBlendAttachmentStateRef

func NewPipelineColorBlendAttachmentStateRef(ref unsafe.Pointer) *PipelineColorBlendAttachmentState

NewPipelineColorBlendAttachmentStateRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineColorBlendAttachmentState) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineColorBlendAttachmentState) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineColorBlendAttachmentState) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineColorBlendAttachmentState) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineColorBlendAttachmentState) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineColorBlendStateCreateFlags

type PipelineColorBlendStateCreateFlags uint32

PipelineColorBlendStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineColorBlendStateCreateFlags.html

type PipelineColorBlendStateCreateInfo

type PipelineColorBlendStateCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           PipelineColorBlendStateCreateFlags
	LogicOpEnable   Bool32
	LogicOp         LogicOp
	AttachmentCount uint32
	PAttachments    []PipelineColorBlendAttachmentState
	BlendConstants  [4]float32
	// contains filtered or unexported fields
}

PipelineColorBlendStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineColorBlendStateCreateInfo.html

func NewPipelineColorBlendStateCreateInfoRef

func NewPipelineColorBlendStateCreateInfoRef(ref unsafe.Pointer) *PipelineColorBlendStateCreateInfo

NewPipelineColorBlendStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineColorBlendStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineColorBlendStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineColorBlendStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineColorBlendStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineColorBlendStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineCoverageModulationStateCreateFlagsNV

type PipelineCoverageModulationStateCreateFlagsNV uint32

PipelineCoverageModulationStateCreateFlagsNV type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCoverageModulationStateCreateFlagsNV.html

type PipelineCoverageModulationStateCreateInfoNV

type PipelineCoverageModulationStateCreateInfoNV struct {
	SType                         StructureType
	PNext                         unsafe.Pointer
	Flags                         PipelineCoverageModulationStateCreateFlagsNV
	CoverageModulationMode        CoverageModulationModeNV
	CoverageModulationTableEnable Bool32
	CoverageModulationTableCount  uint32
	PCoverageModulationTable      []float32
	// contains filtered or unexported fields
}

PipelineCoverageModulationStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCoverageModulationStateCreateInfoNV.html

func NewPipelineCoverageModulationStateCreateInfoNVRef

func NewPipelineCoverageModulationStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineCoverageModulationStateCreateInfoNV

NewPipelineCoverageModulationStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineCoverageModulationStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineCoverageModulationStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineCoverageModulationStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineCoverageModulationStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineCoverageModulationStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineCoverageToColorStateCreateFlagsNV

type PipelineCoverageToColorStateCreateFlagsNV uint32

PipelineCoverageToColorStateCreateFlagsNV type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCoverageToColorStateCreateFlagsNV.html

type PipelineCoverageToColorStateCreateInfoNV

type PipelineCoverageToColorStateCreateInfoNV struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   PipelineCoverageToColorStateCreateFlagsNV
	CoverageToColorEnable   Bool32
	CoverageToColorLocation uint32
	// contains filtered or unexported fields
}

PipelineCoverageToColorStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCoverageToColorStateCreateInfoNV.html

func NewPipelineCoverageToColorStateCreateInfoNVRef

func NewPipelineCoverageToColorStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineCoverageToColorStateCreateInfoNV

NewPipelineCoverageToColorStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineCoverageToColorStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineCoverageToColorStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineCoverageToColorStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineCoverageToColorStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineCoverageToColorStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineCreateFlagBits

type PipelineCreateFlagBits int32

PipelineCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCreateFlagBits.html

const (
	PipelineCreateDisableOptimizationBit      PipelineCreateFlagBits = 1
	PipelineCreateAllowDerivativesBit         PipelineCreateFlagBits = 2
	PipelineCreateDerivativeBit               PipelineCreateFlagBits = 4
	PipelineCreateViewIndexFromDeviceIndexBit PipelineCreateFlagBits = 8
	PipelineCreateDispatchBase                PipelineCreateFlagBits = 16
	PipelineCreateDeferCompileBitNvx          PipelineCreateFlagBits = 32
	PipelineCreateFlagBitsMaxEnum             PipelineCreateFlagBits = 2147483647
)

PipelineCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCreateFlagBits.html

type PipelineCreateFlags

type PipelineCreateFlags uint32

PipelineCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineCreateFlags.html

type PipelineDepthStencilStateCreateFlags

type PipelineDepthStencilStateCreateFlags uint32

PipelineDepthStencilStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDepthStencilStateCreateFlags.html

type PipelineDepthStencilStateCreateInfo

type PipelineDepthStencilStateCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 PipelineDepthStencilStateCreateFlags
	DepthTestEnable       Bool32
	DepthWriteEnable      Bool32
	DepthCompareOp        CompareOp
	DepthBoundsTestEnable Bool32
	StencilTestEnable     Bool32
	Front                 StencilOpState
	Back                  StencilOpState
	MinDepthBounds        float32
	MaxDepthBounds        float32
	// contains filtered or unexported fields
}

PipelineDepthStencilStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDepthStencilStateCreateInfo.html

func NewPipelineDepthStencilStateCreateInfoRef

func NewPipelineDepthStencilStateCreateInfoRef(ref unsafe.Pointer) *PipelineDepthStencilStateCreateInfo

NewPipelineDepthStencilStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineDepthStencilStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineDepthStencilStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineDepthStencilStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineDepthStencilStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineDepthStencilStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineDiscardRectangleStateCreateFlags

type PipelineDiscardRectangleStateCreateFlags uint32

PipelineDiscardRectangleStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDiscardRectangleStateCreateFlagsEXT.html

type PipelineDiscardRectangleStateCreateInfo

type PipelineDiscardRectangleStateCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 PipelineDiscardRectangleStateCreateFlags
	DiscardRectangleMode  DiscardRectangleMode
	DiscardRectangleCount uint32
	PDiscardRectangles    []Rect2D
	// contains filtered or unexported fields
}

PipelineDiscardRectangleStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDiscardRectangleStateCreateInfoEXT.html

func NewPipelineDiscardRectangleStateCreateInfoRef

func NewPipelineDiscardRectangleStateCreateInfoRef(ref unsafe.Pointer) *PipelineDiscardRectangleStateCreateInfo

NewPipelineDiscardRectangleStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineDiscardRectangleStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineDiscardRectangleStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineDiscardRectangleStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineDiscardRectangleStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineDiscardRectangleStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineDynamicStateCreateFlags

type PipelineDynamicStateCreateFlags uint32

PipelineDynamicStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDynamicStateCreateFlags.html

type PipelineDynamicStateCreateInfo

type PipelineDynamicStateCreateInfo struct {
	SType             StructureType
	PNext             unsafe.Pointer
	Flags             PipelineDynamicStateCreateFlags
	DynamicStateCount uint32
	PDynamicStates    []DynamicState
	// contains filtered or unexported fields
}

PipelineDynamicStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineDynamicStateCreateInfo.html

func NewPipelineDynamicStateCreateInfoRef

func NewPipelineDynamicStateCreateInfoRef(ref unsafe.Pointer) *PipelineDynamicStateCreateInfo

NewPipelineDynamicStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineDynamicStateCreateInfo) Deref

func (x *PipelineDynamicStateCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineDynamicStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineDynamicStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineDynamicStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineDynamicStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineInputAssemblyStateCreateFlags

type PipelineInputAssemblyStateCreateFlags uint32

PipelineInputAssemblyStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineInputAssemblyStateCreateFlags.html

type PipelineInputAssemblyStateCreateInfo

type PipelineInputAssemblyStateCreateInfo struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	Flags                  PipelineInputAssemblyStateCreateFlags
	Topology               PrimitiveTopology
	PrimitiveRestartEnable Bool32
	// contains filtered or unexported fields
}

PipelineInputAssemblyStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineInputAssemblyStateCreateInfo.html

func NewPipelineInputAssemblyStateCreateInfoRef

func NewPipelineInputAssemblyStateCreateInfoRef(ref unsafe.Pointer) *PipelineInputAssemblyStateCreateInfo

NewPipelineInputAssemblyStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineInputAssemblyStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineInputAssemblyStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineInputAssemblyStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineInputAssemblyStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineInputAssemblyStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineLayoutCreateFlags

type PipelineLayoutCreateFlags uint32

PipelineLayoutCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineLayoutCreateFlags.html

type PipelineLayoutCreateInfo

type PipelineLayoutCreateInfo struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	Flags                  PipelineLayoutCreateFlags
	SetLayoutCount         uint32
	PSetLayouts            []DescriptorSetLayout
	PushConstantRangeCount uint32
	PPushConstantRanges    []PushConstantRange
	// contains filtered or unexported fields
}

PipelineLayoutCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineLayoutCreateInfo.html

func NewPipelineLayoutCreateInfoRef

func NewPipelineLayoutCreateInfoRef(ref unsafe.Pointer) *PipelineLayoutCreateInfo

NewPipelineLayoutCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineLayoutCreateInfo) Deref

func (x *PipelineLayoutCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineLayoutCreateInfo) Free

func (x *PipelineLayoutCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineLayoutCreateInfo) PassRef

func (x *PipelineLayoutCreateInfo) PassRef() (*C.VkPipelineLayoutCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineLayoutCreateInfo) PassValue

func (x PipelineLayoutCreateInfo) PassValue() (C.VkPipelineLayoutCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineLayoutCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineMultisampleStateCreateFlags

type PipelineMultisampleStateCreateFlags uint32

PipelineMultisampleStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineMultisampleStateCreateFlags.html

type PipelineMultisampleStateCreateInfo

type PipelineMultisampleStateCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 PipelineMultisampleStateCreateFlags
	RasterizationSamples  SampleCountFlagBits
	SampleShadingEnable   Bool32
	MinSampleShading      float32
	PSampleMask           []SampleMask
	AlphaToCoverageEnable Bool32
	AlphaToOneEnable      Bool32
	// contains filtered or unexported fields
}

PipelineMultisampleStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineMultisampleStateCreateInfo.html

func NewPipelineMultisampleStateCreateInfoRef

func NewPipelineMultisampleStateCreateInfoRef(ref unsafe.Pointer) *PipelineMultisampleStateCreateInfo

NewPipelineMultisampleStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineMultisampleStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineMultisampleStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineMultisampleStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineMultisampleStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineMultisampleStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineRasterizationConservativeStateCreateFlags

type PipelineRasterizationConservativeStateCreateFlags uint32

PipelineRasterizationConservativeStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationConservativeStateCreateFlagsEXT.html

type PipelineRasterizationConservativeStateCreateInfo

type PipelineRasterizationConservativeStateCreateInfo struct {
	SType                            StructureType
	PNext                            unsafe.Pointer
	Flags                            PipelineRasterizationConservativeStateCreateFlags
	ConservativeRasterizationMode    ConservativeRasterizationMode
	ExtraPrimitiveOverestimationSize float32
	// contains filtered or unexported fields
}

PipelineRasterizationConservativeStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationConservativeStateCreateInfoEXT.html

func NewPipelineRasterizationConservativeStateCreateInfoRef

func NewPipelineRasterizationConservativeStateCreateInfoRef(ref unsafe.Pointer) *PipelineRasterizationConservativeStateCreateInfo

NewPipelineRasterizationConservativeStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineRasterizationConservativeStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineRasterizationConservativeStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineRasterizationConservativeStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineRasterizationConservativeStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineRasterizationConservativeStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineRasterizationStateCreateFlags

type PipelineRasterizationStateCreateFlags uint32

PipelineRasterizationStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationStateCreateFlags.html

type PipelineRasterizationStateCreateInfo

type PipelineRasterizationStateCreateInfo struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   PipelineRasterizationStateCreateFlags
	DepthClampEnable        Bool32
	RasterizerDiscardEnable Bool32
	PolygonMode             PolygonMode
	CullMode                CullModeFlags
	FrontFace               FrontFace
	DepthBiasEnable         Bool32
	DepthBiasConstantFactor float32
	DepthBiasClamp          float32
	DepthBiasSlopeFactor    float32
	LineWidth               float32
	// contains filtered or unexported fields
}

PipelineRasterizationStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationStateCreateInfo.html

func NewPipelineRasterizationStateCreateInfoRef

func NewPipelineRasterizationStateCreateInfoRef(ref unsafe.Pointer) *PipelineRasterizationStateCreateInfo

NewPipelineRasterizationStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineRasterizationStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineRasterizationStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineRasterizationStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineRasterizationStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineRasterizationStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineRasterizationStateRasterizationOrderAMD

type PipelineRasterizationStateRasterizationOrderAMD struct {
	SType              StructureType
	PNext              unsafe.Pointer
	RasterizationOrder RasterizationOrderAMD
	// contains filtered or unexported fields
}

PipelineRasterizationStateRasterizationOrderAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkPipelineRasterizationStateRasterizationOrderAMD

func NewPipelineRasterizationStateRasterizationOrderAMDRef

func NewPipelineRasterizationStateRasterizationOrderAMDRef(ref unsafe.Pointer) *PipelineRasterizationStateRasterizationOrderAMD

NewPipelineRasterizationStateRasterizationOrderAMDRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineRasterizationStateRasterizationOrderAMD) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineRasterizationStateRasterizationOrderAMD) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineRasterizationStateRasterizationOrderAMD) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineRasterizationStateRasterizationOrderAMD) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineRasterizationStateRasterizationOrderAMD) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineRasterizationStateStreamCreateFlags

type PipelineRasterizationStateStreamCreateFlags uint32

PipelineRasterizationStateStreamCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationStateStreamCreateFlagsEXT.html

type PipelineRasterizationStateStreamCreateInfo

type PipelineRasterizationStateStreamCreateInfo struct {
	SType               StructureType
	PNext               unsafe.Pointer
	Flags               PipelineRasterizationStateStreamCreateFlags
	RasterizationStream uint32
	// contains filtered or unexported fields
}

PipelineRasterizationStateStreamCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRasterizationStateStreamCreateInfoEXT.html

func NewPipelineRasterizationStateStreamCreateInfoRef

func NewPipelineRasterizationStateStreamCreateInfoRef(ref unsafe.Pointer) *PipelineRasterizationStateStreamCreateInfo

NewPipelineRasterizationStateStreamCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineRasterizationStateStreamCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineRasterizationStateStreamCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineRasterizationStateStreamCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineRasterizationStateStreamCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineRasterizationStateStreamCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineRepresentativeFragmentTestStateCreateInfoNV

type PipelineRepresentativeFragmentTestStateCreateInfoNV struct {
	SType                            StructureType
	PNext                            unsafe.Pointer
	RepresentativeFragmentTestEnable Bool32
	// contains filtered or unexported fields
}

PipelineRepresentativeFragmentTestStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineRepresentativeFragmentTestStateCreateInfoNV.html

func NewPipelineRepresentativeFragmentTestStateCreateInfoNVRef

func NewPipelineRepresentativeFragmentTestStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineRepresentativeFragmentTestStateCreateInfoNV

NewPipelineRepresentativeFragmentTestStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineRepresentativeFragmentTestStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineRepresentativeFragmentTestStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineRepresentativeFragmentTestStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineRepresentativeFragmentTestStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineRepresentativeFragmentTestStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineSampleLocationsStateCreateInfo

type PipelineSampleLocationsStateCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	SampleLocationsEnable Bool32
	SampleLocationsInfo   SampleLocationsInfo
	// contains filtered or unexported fields
}

PipelineSampleLocationsStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineSampleLocationsStateCreateInfoEXT.html

func NewPipelineSampleLocationsStateCreateInfoRef

func NewPipelineSampleLocationsStateCreateInfoRef(ref unsafe.Pointer) *PipelineSampleLocationsStateCreateInfo

NewPipelineSampleLocationsStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineSampleLocationsStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineSampleLocationsStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineSampleLocationsStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineSampleLocationsStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineSampleLocationsStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineShaderStageCreateFlags

type PipelineShaderStageCreateFlags uint32

PipelineShaderStageCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineShaderStageCreateFlags.html

type PipelineShaderStageCreateInfo

type PipelineShaderStageCreateInfo struct {
	SType               StructureType
	PNext               unsafe.Pointer
	Flags               PipelineShaderStageCreateFlags
	Stage               ShaderStageFlagBits
	Module              ShaderModule
	PName               string
	PSpecializationInfo []SpecializationInfo
	// contains filtered or unexported fields
}

PipelineShaderStageCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineShaderStageCreateInfo.html

func NewPipelineShaderStageCreateInfoRef

func NewPipelineShaderStageCreateInfoRef(ref unsafe.Pointer) *PipelineShaderStageCreateInfo

NewPipelineShaderStageCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineShaderStageCreateInfo) Deref

func (x *PipelineShaderStageCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineShaderStageCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineShaderStageCreateInfo) PassRef

func (x *PipelineShaderStageCreateInfo) PassRef() (*C.VkPipelineShaderStageCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineShaderStageCreateInfo) PassValue

func (x PipelineShaderStageCreateInfo) PassValue() (C.VkPipelineShaderStageCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineShaderStageCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineStageFlagBits

type PipelineStageFlagBits int32

PipelineStageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineStageFlagBits.html

const (
	PipelineStageTopOfPipeBit                    PipelineStageFlagBits = 1
	PipelineStageDrawIndirectBit                 PipelineStageFlagBits = 2
	PipelineStageVertexInputBit                  PipelineStageFlagBits = 4
	PipelineStageVertexShaderBit                 PipelineStageFlagBits = 8
	PipelineStageTessellationControlShaderBit    PipelineStageFlagBits = 16
	PipelineStageTessellationEvaluationShaderBit PipelineStageFlagBits = 32
	PipelineStageGeometryShaderBit               PipelineStageFlagBits = 64
	PipelineStageFragmentShaderBit               PipelineStageFlagBits = 128
	PipelineStageEarlyFragmentTestsBit           PipelineStageFlagBits = 256
	PipelineStageLateFragmentTestsBit            PipelineStageFlagBits = 512
	PipelineStageColorAttachmentOutputBit        PipelineStageFlagBits = 1024
	PipelineStageComputeShaderBit                PipelineStageFlagBits = 2048
	PipelineStageTransferBit                     PipelineStageFlagBits = 4096
	PipelineStageBottomOfPipeBit                 PipelineStageFlagBits = 8192
	PipelineStageHostBit                         PipelineStageFlagBits = 16384
	PipelineStageAllGraphicsBit                  PipelineStageFlagBits = 32768
	PipelineStageAllCommandsBit                  PipelineStageFlagBits = 65536
	PipelineStageTransformFeedbackBit            PipelineStageFlagBits = 16777216
	PipelineStageConditionalRenderingBit         PipelineStageFlagBits = 262144
	PipelineStageCommandProcessBitNvx            PipelineStageFlagBits = 131072
	PipelineStageShadingRateImageBitNv           PipelineStageFlagBits = 4194304
	PipelineStageRaytracingBitNvx                PipelineStageFlagBits = 2097152
	PipelineStageTaskShaderBitNv                 PipelineStageFlagBits = 524288
	PipelineStageMeshShaderBitNv                 PipelineStageFlagBits = 1048576
	PipelineStageFlagBitsMaxEnum                 PipelineStageFlagBits = 2147483647
)

PipelineStageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineStageFlagBits.html

type PipelineTessellationDomainOriginStateCreateInfo

type PipelineTessellationDomainOriginStateCreateInfo struct {
	SType        StructureType
	PNext        unsafe.Pointer
	DomainOrigin TessellationDomainOrigin
	// contains filtered or unexported fields
}

PipelineTessellationDomainOriginStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineTessellationDomainOriginStateCreateInfo.html

func NewPipelineTessellationDomainOriginStateCreateInfoRef

func NewPipelineTessellationDomainOriginStateCreateInfoRef(ref unsafe.Pointer) *PipelineTessellationDomainOriginStateCreateInfo

NewPipelineTessellationDomainOriginStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineTessellationDomainOriginStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineTessellationDomainOriginStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineTessellationDomainOriginStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineTessellationDomainOriginStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineTessellationDomainOriginStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineTessellationStateCreateFlags

type PipelineTessellationStateCreateFlags uint32

PipelineTessellationStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineTessellationStateCreateFlags.html

type PipelineTessellationStateCreateInfo

type PipelineTessellationStateCreateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	Flags              PipelineTessellationStateCreateFlags
	PatchControlPoints uint32
	// contains filtered or unexported fields
}

PipelineTessellationStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineTessellationStateCreateInfo.html

func NewPipelineTessellationStateCreateInfoRef

func NewPipelineTessellationStateCreateInfoRef(ref unsafe.Pointer) *PipelineTessellationStateCreateInfo

NewPipelineTessellationStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineTessellationStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineTessellationStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineTessellationStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineTessellationStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineTessellationStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineVertexInputDivisorStateCreateInfo

type PipelineVertexInputDivisorStateCreateInfo struct {
	SType                     StructureType
	PNext                     unsafe.Pointer
	VertexBindingDivisorCount uint32
	PVertexBindingDivisors    []VertexInputBindingDivisorDescription
	// contains filtered or unexported fields
}

PipelineVertexInputDivisorStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineVertexInputDivisorStateCreateInfoEXT.html

func NewPipelineVertexInputDivisorStateCreateInfoRef

func NewPipelineVertexInputDivisorStateCreateInfoRef(ref unsafe.Pointer) *PipelineVertexInputDivisorStateCreateInfo

NewPipelineVertexInputDivisorStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineVertexInputDivisorStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineVertexInputDivisorStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineVertexInputDivisorStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineVertexInputDivisorStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineVertexInputDivisorStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineVertexInputStateCreateFlags

type PipelineVertexInputStateCreateFlags uint32

PipelineVertexInputStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineVertexInputStateCreateFlags.html

type PipelineVertexInputStateCreateInfo

type PipelineVertexInputStateCreateInfo struct {
	SType                           StructureType
	PNext                           unsafe.Pointer
	Flags                           PipelineVertexInputStateCreateFlags
	VertexBindingDescriptionCount   uint32
	PVertexBindingDescriptions      []VertexInputBindingDescription
	VertexAttributeDescriptionCount uint32
	PVertexAttributeDescriptions    []VertexInputAttributeDescription
	// contains filtered or unexported fields
}

PipelineVertexInputStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineVertexInputStateCreateInfo.html

func NewPipelineVertexInputStateCreateInfoRef

func NewPipelineVertexInputStateCreateInfoRef(ref unsafe.Pointer) *PipelineVertexInputStateCreateInfo

NewPipelineVertexInputStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineVertexInputStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineVertexInputStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineVertexInputStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineVertexInputStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineVertexInputStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportCoarseSampleOrderStateCreateInfoNV

type PipelineViewportCoarseSampleOrderStateCreateInfoNV struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	SampleOrderType        CoarseSampleOrderTypeNV
	CustomSampleOrderCount uint32
	PCustomSampleOrders    []CoarseSampleOrderCustomNV
	// contains filtered or unexported fields
}

PipelineViewportCoarseSampleOrderStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportCoarseSampleOrderStateCreateInfoNV.html

func NewPipelineViewportCoarseSampleOrderStateCreateInfoNVRef

func NewPipelineViewportCoarseSampleOrderStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineViewportCoarseSampleOrderStateCreateInfoNV

NewPipelineViewportCoarseSampleOrderStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportCoarseSampleOrderStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportCoarseSampleOrderStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportCoarseSampleOrderStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportCoarseSampleOrderStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportCoarseSampleOrderStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportExclusiveScissorStateCreateInfoNV

type PipelineViewportExclusiveScissorStateCreateInfoNV struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	ExclusiveScissorCount uint32
	PExclusiveScissors    []Rect2D
	// contains filtered or unexported fields
}

PipelineViewportExclusiveScissorStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportExclusiveScissorStateCreateInfoNV.html

func NewPipelineViewportExclusiveScissorStateCreateInfoNVRef

func NewPipelineViewportExclusiveScissorStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineViewportExclusiveScissorStateCreateInfoNV

NewPipelineViewportExclusiveScissorStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportExclusiveScissorStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportExclusiveScissorStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportExclusiveScissorStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportExclusiveScissorStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportExclusiveScissorStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportShadingRateImageStateCreateInfoNV

type PipelineViewportShadingRateImageStateCreateInfoNV struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	ShadingRateImageEnable Bool32
	ViewportCount          uint32
	PShadingRatePalettes   []ShadingRatePaletteNV
	// contains filtered or unexported fields
}

PipelineViewportShadingRateImageStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportShadingRateImageStateCreateInfoNV.html

func NewPipelineViewportShadingRateImageStateCreateInfoNVRef

func NewPipelineViewportShadingRateImageStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineViewportShadingRateImageStateCreateInfoNV

NewPipelineViewportShadingRateImageStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportShadingRateImageStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportShadingRateImageStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportShadingRateImageStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportShadingRateImageStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportShadingRateImageStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportStateCreateFlags

type PipelineViewportStateCreateFlags uint32

PipelineViewportStateCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportStateCreateFlags.html

type PipelineViewportStateCreateInfo

type PipelineViewportStateCreateInfo struct {
	SType         StructureType
	PNext         unsafe.Pointer
	Flags         PipelineViewportStateCreateFlags
	ViewportCount uint32
	PViewports    []Viewport
	ScissorCount  uint32
	PScissors     []Rect2D
	// contains filtered or unexported fields
}

PipelineViewportStateCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportStateCreateInfo.html

func NewPipelineViewportStateCreateInfoRef

func NewPipelineViewportStateCreateInfoRef(ref unsafe.Pointer) *PipelineViewportStateCreateInfo

NewPipelineViewportStateCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportStateCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportStateCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportStateCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportStateCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportStateCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportSwizzleStateCreateFlagsNV

type PipelineViewportSwizzleStateCreateFlagsNV uint32

PipelineViewportSwizzleStateCreateFlagsNV type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportSwizzleStateCreateFlagsNV.html

type PipelineViewportSwizzleStateCreateInfoNV

type PipelineViewportSwizzleStateCreateInfoNV struct {
	SType             StructureType
	PNext             unsafe.Pointer
	Flags             PipelineViewportSwizzleStateCreateFlagsNV
	ViewportCount     uint32
	PViewportSwizzles []ViewportSwizzleNV
	// contains filtered or unexported fields
}

PipelineViewportSwizzleStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportSwizzleStateCreateInfoNV.html

func NewPipelineViewportSwizzleStateCreateInfoNVRef

func NewPipelineViewportSwizzleStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineViewportSwizzleStateCreateInfoNV

NewPipelineViewportSwizzleStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportSwizzleStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportSwizzleStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportSwizzleStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportSwizzleStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportSwizzleStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PipelineViewportWScalingStateCreateInfoNV

type PipelineViewportWScalingStateCreateInfoNV struct {
	SType                  StructureType
	PNext                  unsafe.Pointer
	ViewportWScalingEnable Bool32
	ViewportCount          uint32
	PViewportWScalings     []ViewportWScalingNV
	// contains filtered or unexported fields
}

PipelineViewportWScalingStateCreateInfoNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPipelineViewportWScalingStateCreateInfoNV.html

func NewPipelineViewportWScalingStateCreateInfoNVRef

func NewPipelineViewportWScalingStateCreateInfoNVRef(ref unsafe.Pointer) *PipelineViewportWScalingStateCreateInfoNV

NewPipelineViewportWScalingStateCreateInfoNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PipelineViewportWScalingStateCreateInfoNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PipelineViewportWScalingStateCreateInfoNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PipelineViewportWScalingStateCreateInfoNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PipelineViewportWScalingStateCreateInfoNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PipelineViewportWScalingStateCreateInfoNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PointClippingBehavior

type PointClippingBehavior int32

PointClippingBehavior as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPointClippingBehavior.html

const (
	PointClippingBehaviorAllClipPlanes      PointClippingBehavior = iota
	PointClippingBehaviorUserClipPlanesOnly PointClippingBehavior = 1
	PointClippingBehaviorBeginRange         PointClippingBehavior = 0
	PointClippingBehaviorEndRange           PointClippingBehavior = 1
	PointClippingBehaviorRangeSize          PointClippingBehavior = 2
	PointClippingBehaviorMaxEnum            PointClippingBehavior = 2147483647
)

PointClippingBehavior enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPointClippingBehavior.html

type PolygonMode

type PolygonMode int32

PolygonMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPolygonMode.html

const (
	PolygonModeFill            PolygonMode = iota
	PolygonModeLine            PolygonMode = 1
	PolygonModePoint           PolygonMode = 2
	PolygonModeFillRectangleNv PolygonMode = 1000153000
	PolygonModeBeginRange      PolygonMode = 0
	PolygonModeEndRange        PolygonMode = 2
	PolygonModeRangeSize       PolygonMode = 3
	PolygonModeMaxEnum         PolygonMode = 2147483647
)

PolygonMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPolygonMode.html

type PresentInfo

type PresentInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	WaitSemaphoreCount uint32
	PWaitSemaphores    []Semaphore
	SwapchainCount     uint32
	PSwapchains        []Swapchain
	PImageIndices      []uint32
	PResults           []Result
	// contains filtered or unexported fields
}

PresentInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPresentInfoKHR

func NewPresentInfoRef

func NewPresentInfoRef(ref unsafe.Pointer) *PresentInfo

NewPresentInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PresentInfo) Deref

func (x *PresentInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PresentInfo) Free

func (x *PresentInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PresentInfo) PassRef

func (x *PresentInfo) PassRef() (*C.VkPresentInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PresentInfo) PassValue

func (x PresentInfo) PassValue() (C.VkPresentInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PresentInfo) Ref

func (x *PresentInfo) Ref() *C.VkPresentInfoKHR

Ref returns the underlying reference to C object or nil if struct is nil.

type PresentMode

type PresentMode int32

PresentMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPresentModeKHR

const (
	PresentModeImmediate               PresentMode = iota
	PresentModeMailbox                 PresentMode = 1
	PresentModeFifo                    PresentMode = 2
	PresentModeFifoRelaxed             PresentMode = 3
	PresentModeSharedDemandRefresh     PresentMode = 1000111000
	PresentModeSharedContinuousRefresh PresentMode = 1000111001
	PresentModeBeginRange              PresentMode = 0
	PresentModeEndRange                PresentMode = 3
	PresentModeRangeSize               PresentMode = 4
	PresentModeMaxEnum                 PresentMode = 2147483647
)

PresentMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPresentModeKHR

type PresentRegion

type PresentRegion struct {
	RectangleCount uint32
	PRectangles    []RectLayer
	// contains filtered or unexported fields
}

PresentRegion as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPresentRegionKHR

func NewPresentRegionRef

func NewPresentRegionRef(ref unsafe.Pointer) *PresentRegion

NewPresentRegionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PresentRegion) Deref

func (x *PresentRegion) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PresentRegion) Free

func (x *PresentRegion) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PresentRegion) PassRef

func (x *PresentRegion) PassRef() (*C.VkPresentRegionKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PresentRegion) PassValue

func (x PresentRegion) PassValue() (C.VkPresentRegionKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PresentRegion) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PresentRegions

type PresentRegions struct {
	SType          StructureType
	PNext          unsafe.Pointer
	SwapchainCount uint32
	PRegions       []PresentRegion
	// contains filtered or unexported fields
}

PresentRegions as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkPresentRegionsKHR

func NewPresentRegionsRef

func NewPresentRegionsRef(ref unsafe.Pointer) *PresentRegions

NewPresentRegionsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PresentRegions) Deref

func (x *PresentRegions) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PresentRegions) Free

func (x *PresentRegions) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PresentRegions) PassRef

func (x *PresentRegions) PassRef() (*C.VkPresentRegionsKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PresentRegions) PassValue

func (x PresentRegions) PassValue() (C.VkPresentRegionsKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PresentRegions) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PresentTimeGOOGLE

type PresentTimeGOOGLE struct {
	PresentID          uint32
	DesiredPresentTime uint64
	// contains filtered or unexported fields
}

PresentTimeGOOGLE as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPresentTimeGOOGLE.html

func NewPresentTimeGOOGLERef

func NewPresentTimeGOOGLERef(ref unsafe.Pointer) *PresentTimeGOOGLE

NewPresentTimeGOOGLERef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PresentTimeGOOGLE) Deref

func (x *PresentTimeGOOGLE) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PresentTimeGOOGLE) Free

func (x *PresentTimeGOOGLE) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PresentTimeGOOGLE) PassRef

func (x *PresentTimeGOOGLE) PassRef() (*C.VkPresentTimeGOOGLE, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PresentTimeGOOGLE) PassValue

func (x PresentTimeGOOGLE) PassValue() (C.VkPresentTimeGOOGLE, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PresentTimeGOOGLE) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PresentTimesInfoGOOGLE

type PresentTimesInfoGOOGLE struct {
	SType          StructureType
	PNext          unsafe.Pointer
	SwapchainCount uint32
	PTimes         []PresentTimeGOOGLE
	// contains filtered or unexported fields
}

PresentTimesInfoGOOGLE as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPresentTimesInfoGOOGLE.html

func NewPresentTimesInfoGOOGLERef

func NewPresentTimesInfoGOOGLERef(ref unsafe.Pointer) *PresentTimesInfoGOOGLE

NewPresentTimesInfoGOOGLERef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PresentTimesInfoGOOGLE) Deref

func (x *PresentTimesInfoGOOGLE) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PresentTimesInfoGOOGLE) Free

func (x *PresentTimesInfoGOOGLE) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PresentTimesInfoGOOGLE) PassRef

func (x *PresentTimesInfoGOOGLE) PassRef() (*C.VkPresentTimesInfoGOOGLE, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PresentTimesInfoGOOGLE) PassValue

func (x PresentTimesInfoGOOGLE) PassValue() (C.VkPresentTimesInfoGOOGLE, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PresentTimesInfoGOOGLE) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PrimitiveTopology

type PrimitiveTopology int32

PrimitiveTopology as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPrimitiveTopology.html

const (
	PrimitiveTopologyPointList                  PrimitiveTopology = iota
	PrimitiveTopologyLineList                   PrimitiveTopology = 1
	PrimitiveTopologyLineStrip                  PrimitiveTopology = 2
	PrimitiveTopologyTriangleList               PrimitiveTopology = 3
	PrimitiveTopologyTriangleStrip              PrimitiveTopology = 4
	PrimitiveTopologyTriangleFan                PrimitiveTopology = 5
	PrimitiveTopologyLineListWithAdjacency      PrimitiveTopology = 6
	PrimitiveTopologyLineStripWithAdjacency     PrimitiveTopology = 7
	PrimitiveTopologyTriangleListWithAdjacency  PrimitiveTopology = 8
	PrimitiveTopologyTriangleStripWithAdjacency PrimitiveTopology = 9
	PrimitiveTopologyPatchList                  PrimitiveTopology = 10
	PrimitiveTopologyBeginRange                 PrimitiveTopology = 0
	PrimitiveTopologyEndRange                   PrimitiveTopology = 10
	PrimitiveTopologyRangeSize                  PrimitiveTopology = 11
	PrimitiveTopologyMaxEnum                    PrimitiveTopology = 2147483647
)

PrimitiveTopology enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPrimitiveTopology.html

type ProtectedSubmitInfo

type ProtectedSubmitInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	ProtectedSubmit Bool32
	// contains filtered or unexported fields
}

ProtectedSubmitInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkProtectedSubmitInfo.html

func NewProtectedSubmitInfoRef

func NewProtectedSubmitInfoRef(ref unsafe.Pointer) *ProtectedSubmitInfo

NewProtectedSubmitInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ProtectedSubmitInfo) Deref

func (x *ProtectedSubmitInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ProtectedSubmitInfo) Free

func (x *ProtectedSubmitInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ProtectedSubmitInfo) PassRef

func (x *ProtectedSubmitInfo) PassRef() (*C.VkProtectedSubmitInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ProtectedSubmitInfo) PassValue

func (x ProtectedSubmitInfo) PassValue() (C.VkProtectedSubmitInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ProtectedSubmitInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type PushConstantRange

type PushConstantRange struct {
	StageFlags ShaderStageFlags
	Offset     uint32
	Size       uint32
	// contains filtered or unexported fields
}

PushConstantRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkPushConstantRange.html

func NewPushConstantRangeRef

func NewPushConstantRangeRef(ref unsafe.Pointer) *PushConstantRange

NewPushConstantRangeRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*PushConstantRange) Deref

func (x *PushConstantRange) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*PushConstantRange) Free

func (x *PushConstantRange) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*PushConstantRange) PassRef

func (x *PushConstantRange) PassRef() (*C.VkPushConstantRange, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (PushConstantRange) PassValue

func (x PushConstantRange) PassValue() (C.VkPushConstantRange, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*PushConstantRange) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type QueryControlFlagBits

type QueryControlFlagBits int32

QueryControlFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryControlFlagBits.html

const (
	QueryControlPreciseBit      QueryControlFlagBits = 1
	QueryControlFlagBitsMaxEnum QueryControlFlagBits = 2147483647
)

QueryControlFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryControlFlagBits.html

type QueryPipelineStatisticFlagBits

type QueryPipelineStatisticFlagBits int32

QueryPipelineStatisticFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPipelineStatisticFlagBits.html

const (
	QueryPipelineStatisticInputAssemblyVerticesBit                   QueryPipelineStatisticFlagBits = 1
	QueryPipelineStatisticInputAssemblyPrimitivesBit                 QueryPipelineStatisticFlagBits = 2
	QueryPipelineStatisticVertexShaderInvocationsBit                 QueryPipelineStatisticFlagBits = 4
	QueryPipelineStatisticGeometryShaderInvocationsBit               QueryPipelineStatisticFlagBits = 8
	QueryPipelineStatisticGeometryShaderPrimitivesBit                QueryPipelineStatisticFlagBits = 16
	QueryPipelineStatisticClippingInvocationsBit                     QueryPipelineStatisticFlagBits = 32
	QueryPipelineStatisticClippingPrimitivesBit                      QueryPipelineStatisticFlagBits = 64
	QueryPipelineStatisticFragmentShaderInvocationsBit               QueryPipelineStatisticFlagBits = 128
	QueryPipelineStatisticTessellationControlShaderPatchesBit        QueryPipelineStatisticFlagBits = 256
	QueryPipelineStatisticTessellationEvaluationShaderInvocationsBit QueryPipelineStatisticFlagBits = 512
	QueryPipelineStatisticComputeShaderInvocationsBit                QueryPipelineStatisticFlagBits = 1024
	QueryPipelineStatisticFlagBitsMaxEnum                            QueryPipelineStatisticFlagBits = 2147483647
)

QueryPipelineStatisticFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPipelineStatisticFlagBits.html

type QueryPipelineStatisticFlags

type QueryPipelineStatisticFlags uint32

QueryPipelineStatisticFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPipelineStatisticFlags.html

type QueryPoolCreateFlags

type QueryPoolCreateFlags uint32

QueryPoolCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPoolCreateFlags.html

type QueryPoolCreateInfo

type QueryPoolCreateInfo struct {
	SType              StructureType
	PNext              unsafe.Pointer
	Flags              QueryPoolCreateFlags
	QueryType          QueryType
	QueryCount         uint32
	PipelineStatistics QueryPipelineStatisticFlags
	// contains filtered or unexported fields
}

QueryPoolCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryPoolCreateInfo.html

func NewQueryPoolCreateInfoRef

func NewQueryPoolCreateInfoRef(ref unsafe.Pointer) *QueryPoolCreateInfo

NewQueryPoolCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*QueryPoolCreateInfo) Deref

func (x *QueryPoolCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*QueryPoolCreateInfo) Free

func (x *QueryPoolCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*QueryPoolCreateInfo) PassRef

func (x *QueryPoolCreateInfo) PassRef() (*C.VkQueryPoolCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (QueryPoolCreateInfo) PassValue

func (x QueryPoolCreateInfo) PassValue() (C.VkQueryPoolCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*QueryPoolCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type QueryResultFlagBits

type QueryResultFlagBits int32

QueryResultFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryResultFlagBits.html

const (
	QueryResult64Bit               QueryResultFlagBits = 1
	QueryResultWaitBit             QueryResultFlagBits = 2
	QueryResultWithAvailabilityBit QueryResultFlagBits = 4
	QueryResultPartialBit          QueryResultFlagBits = 8
	QueryResultFlagBitsMaxEnum     QueryResultFlagBits = 2147483647
)

QueryResultFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryResultFlagBits.html

type QueryType

type QueryType int32

QueryType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryType.html

const (
	QueryTypeOcclusion               QueryType = iota
	QueryTypePipelineStatistics      QueryType = 1
	QueryTypeTimestamp               QueryType = 2
	QueryTypeTransformFeedbackStream QueryType = 1000028004
	QueryTypeCompactedSizeNvx        QueryType = 1000165000
	QueryTypeBeginRange              QueryType = 0
	QueryTypeEndRange                QueryType = 2
	QueryTypeRangeSize               QueryType = 3
	QueryTypeMaxEnum                 QueryType = 2147483647
)

QueryType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueryType.html

type QueueFamilyCheckpointPropertiesNV

type QueueFamilyCheckpointPropertiesNV struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	CheckpointExecutionStageMask PipelineStageFlags
	// contains filtered or unexported fields
}

QueueFamilyCheckpointPropertiesNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFamilyCheckpointPropertiesNV.html

func NewQueueFamilyCheckpointPropertiesNVRef

func NewQueueFamilyCheckpointPropertiesNVRef(ref unsafe.Pointer) *QueueFamilyCheckpointPropertiesNV

NewQueueFamilyCheckpointPropertiesNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*QueueFamilyCheckpointPropertiesNV) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*QueueFamilyCheckpointPropertiesNV) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*QueueFamilyCheckpointPropertiesNV) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (QueueFamilyCheckpointPropertiesNV) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*QueueFamilyCheckpointPropertiesNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type QueueFamilyProperties

type QueueFamilyProperties struct {
	QueueFlags                  QueueFlags
	QueueCount                  uint32
	TimestampValidBits          uint32
	MinImageTransferGranularity Extent3D
	// contains filtered or unexported fields
}

QueueFamilyProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFamilyProperties.html

func NewQueueFamilyPropertiesRef

func NewQueueFamilyPropertiesRef(ref unsafe.Pointer) *QueueFamilyProperties

NewQueueFamilyPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*QueueFamilyProperties) Deref

func (x *QueueFamilyProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*QueueFamilyProperties) Free

func (x *QueueFamilyProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*QueueFamilyProperties) PassRef

func (x *QueueFamilyProperties) PassRef() (*C.VkQueueFamilyProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (QueueFamilyProperties) PassValue

func (x QueueFamilyProperties) PassValue() (C.VkQueueFamilyProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*QueueFamilyProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type QueueFamilyProperties2

type QueueFamilyProperties2 struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	QueueFamilyProperties QueueFamilyProperties
	// contains filtered or unexported fields
}

QueueFamilyProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFamilyProperties2.html

func NewQueueFamilyProperties2Ref

func NewQueueFamilyProperties2Ref(ref unsafe.Pointer) *QueueFamilyProperties2

NewQueueFamilyProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*QueueFamilyProperties2) Deref

func (x *QueueFamilyProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*QueueFamilyProperties2) Free

func (x *QueueFamilyProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*QueueFamilyProperties2) PassRef

func (x *QueueFamilyProperties2) PassRef() (*C.VkQueueFamilyProperties2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (QueueFamilyProperties2) PassValue

func (x QueueFamilyProperties2) PassValue() (C.VkQueueFamilyProperties2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*QueueFamilyProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type QueueFlagBits

type QueueFlagBits int32

QueueFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFlagBits.html

const (
	QueueGraphicsBit      QueueFlagBits = 1
	QueueComputeBit       QueueFlagBits = 2
	QueueTransferBit      QueueFlagBits = 4
	QueueSparseBindingBit QueueFlagBits = 8
	QueueProtectedBit     QueueFlagBits = 16
	QueueFlagBitsMaxEnum  QueueFlagBits = 2147483647
)

QueueFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueFlagBits.html

type QueueGlobalPriority

type QueueGlobalPriority int32

QueueGlobalPriority as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueGlobalPriorityEXT.html

const (
	QueueGlobalPriorityLow        QueueGlobalPriority = 128
	QueueGlobalPriorityMedium     QueueGlobalPriority = 256
	QueueGlobalPriorityHigh       QueueGlobalPriority = 512
	QueueGlobalPriorityRealtime   QueueGlobalPriority = 1024
	QueueGlobalPriorityBeginRange QueueGlobalPriority = 128
	QueueGlobalPriorityEndRange   QueueGlobalPriority = 1024
	QueueGlobalPriorityRangeSize  QueueGlobalPriority = 897
	QueueGlobalPriorityMaxEnum    QueueGlobalPriority = 2147483647
)

QueueGlobalPriority enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkQueueGlobalPriorityEXT.html

type RasterizationOrderAMD

type RasterizationOrderAMD int32

RasterizationOrderAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkRasterizationOrderAMD

const (
	RasterizationOrderStrictAmd     RasterizationOrderAMD = iota
	RasterizationOrderRelaxedAmd    RasterizationOrderAMD = 1
	RasterizationOrderBeginRangeAmd RasterizationOrderAMD = 0
	RasterizationOrderEndRangeAmd   RasterizationOrderAMD = 1
	RasterizationOrderRangeSizeAmd  RasterizationOrderAMD = 2
	RasterizationOrderMaxEnumAmd    RasterizationOrderAMD = 2147483647
)

RasterizationOrderAMD enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkRasterizationOrderAMD

type RawString

type RawString string

RawString reperesents a string backed by data on the C side.

func (RawString) Copy

func (raw RawString) Copy() string

Copy returns a Go-managed copy of raw string.

type RaytracingPipelineCreateInfoNVX

type RaytracingPipelineCreateInfoNVX struct {
	SType              StructureType
	PNext              unsafe.Pointer
	Flags              PipelineCreateFlags
	StageCount         uint32
	PStages            []PipelineShaderStageCreateInfo
	PGroupNumbers      []uint32
	MaxRecursionDepth  uint32
	Layout             PipelineLayout
	BasePipelineHandle Pipeline
	BasePipelineIndex  int32
	// contains filtered or unexported fields
}

RaytracingPipelineCreateInfoNVX as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkRaytracingPipelineCreateInfoNVX

func NewRaytracingPipelineCreateInfoNVXRef

func NewRaytracingPipelineCreateInfoNVXRef(ref unsafe.Pointer) *RaytracingPipelineCreateInfoNVX

NewRaytracingPipelineCreateInfoNVXRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RaytracingPipelineCreateInfoNVX) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RaytracingPipelineCreateInfoNVX) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RaytracingPipelineCreateInfoNVX) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RaytracingPipelineCreateInfoNVX) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RaytracingPipelineCreateInfoNVX) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type Rect2D

type Rect2D struct {
	Offset Offset2D
	Extent Extent2D
	// contains filtered or unexported fields
}

Rect2D as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRect2D.html

func NewRect2DRef

func NewRect2DRef(ref unsafe.Pointer) *Rect2D

NewRect2DRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Rect2D) Deref

func (x *Rect2D) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Rect2D) Free

func (x *Rect2D) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Rect2D) PassRef

func (x *Rect2D) PassRef() (*C.VkRect2D, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Rect2D) PassValue

func (x Rect2D) PassValue() (C.VkRect2D, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Rect2D) Ref

func (x *Rect2D) Ref() *C.VkRect2D

Ref returns the underlying reference to C object or nil if struct is nil.

type RectLayer

type RectLayer struct {
	Offset Offset2D
	Extent Extent2D
	Layer  uint32
	// contains filtered or unexported fields
}

RectLayer as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkRectLayerKHR

func NewRectLayerRef

func NewRectLayerRef(ref unsafe.Pointer) *RectLayer

NewRectLayerRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RectLayer) Deref

func (x *RectLayer) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RectLayer) Free

func (x *RectLayer) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RectLayer) PassRef

func (x *RectLayer) PassRef() (*C.VkRectLayerKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RectLayer) PassValue

func (x RectLayer) PassValue() (C.VkRectLayerKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RectLayer) Ref

func (x *RectLayer) Ref() *C.VkRectLayerKHR

Ref returns the underlying reference to C object or nil if struct is nil.

type RefreshCycleDurationGOOGLE

type RefreshCycleDurationGOOGLE struct {
	RefreshDuration uint64
	// contains filtered or unexported fields
}

RefreshCycleDurationGOOGLE as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRefreshCycleDurationGOOGLE.html

func NewRefreshCycleDurationGOOGLERef

func NewRefreshCycleDurationGOOGLERef(ref unsafe.Pointer) *RefreshCycleDurationGOOGLE

NewRefreshCycleDurationGOOGLERef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RefreshCycleDurationGOOGLE) Deref

func (x *RefreshCycleDurationGOOGLE) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RefreshCycleDurationGOOGLE) Free

func (x *RefreshCycleDurationGOOGLE) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RefreshCycleDurationGOOGLE) PassRef

func (x *RefreshCycleDurationGOOGLE) PassRef() (*C.VkRefreshCycleDurationGOOGLE, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RefreshCycleDurationGOOGLE) PassValue

func (x RefreshCycleDurationGOOGLE) PassValue() (C.VkRefreshCycleDurationGOOGLE, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RefreshCycleDurationGOOGLE) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassBeginInfo

type RenderPassBeginInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	RenderPass      RenderPass
	Framebuffer     Framebuffer
	RenderArea      Rect2D
	ClearValueCount uint32
	PClearValues    []ClearValue
	// contains filtered or unexported fields
}

RenderPassBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassBeginInfo.html

func NewRenderPassBeginInfoRef

func NewRenderPassBeginInfoRef(ref unsafe.Pointer) *RenderPassBeginInfo

NewRenderPassBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassBeginInfo) Deref

func (x *RenderPassBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassBeginInfo) Free

func (x *RenderPassBeginInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassBeginInfo) PassRef

func (x *RenderPassBeginInfo) PassRef() (*C.VkRenderPassBeginInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassBeginInfo) PassValue

func (x RenderPassBeginInfo) PassValue() (C.VkRenderPassBeginInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassCreateFlags

type RenderPassCreateFlags uint32

RenderPassCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassCreateFlags.html

type RenderPassCreateInfo

type RenderPassCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           RenderPassCreateFlags
	AttachmentCount uint32
	PAttachments    []AttachmentDescription
	SubpassCount    uint32
	PSubpasses      []SubpassDescription
	DependencyCount uint32
	PDependencies   []SubpassDependency
	// contains filtered or unexported fields
}

RenderPassCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassCreateInfo.html

func NewRenderPassCreateInfoRef

func NewRenderPassCreateInfoRef(ref unsafe.Pointer) *RenderPassCreateInfo

NewRenderPassCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassCreateInfo) Deref

func (x *RenderPassCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassCreateInfo) Free

func (x *RenderPassCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassCreateInfo) PassRef

func (x *RenderPassCreateInfo) PassRef() (*C.VkRenderPassCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassCreateInfo) PassValue

func (x RenderPassCreateInfo) PassValue() (C.VkRenderPassCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassCreateInfo2

type RenderPassCreateInfo2 struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   RenderPassCreateFlags
	AttachmentCount         uint32
	PAttachments            []AttachmentDescription2
	SubpassCount            uint32
	PSubpasses              []SubpassDescription2
	DependencyCount         uint32
	PDependencies           []SubpassDependency2
	CorrelatedViewMaskCount uint32
	PCorrelatedViewMasks    []uint32
	// contains filtered or unexported fields
}

RenderPassCreateInfo2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkRenderPassCreateInfo2KHR

func NewRenderPassCreateInfo2Ref

func NewRenderPassCreateInfo2Ref(ref unsafe.Pointer) *RenderPassCreateInfo2

NewRenderPassCreateInfo2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassCreateInfo2) Deref

func (x *RenderPassCreateInfo2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassCreateInfo2) Free

func (x *RenderPassCreateInfo2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassCreateInfo2) PassRef

func (x *RenderPassCreateInfo2) PassRef() (*C.VkRenderPassCreateInfo2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassCreateInfo2) PassValue

func (x RenderPassCreateInfo2) PassValue() (C.VkRenderPassCreateInfo2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassCreateInfo2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassInputAttachmentAspectCreateInfo

type RenderPassInputAttachmentAspectCreateInfo struct {
	SType                StructureType
	PNext                unsafe.Pointer
	AspectReferenceCount uint32
	PAspectReferences    []InputAttachmentAspectReference
	// contains filtered or unexported fields
}

RenderPassInputAttachmentAspectCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassInputAttachmentAspectCreateInfo.html

func NewRenderPassInputAttachmentAspectCreateInfoRef

func NewRenderPassInputAttachmentAspectCreateInfoRef(ref unsafe.Pointer) *RenderPassInputAttachmentAspectCreateInfo

NewRenderPassInputAttachmentAspectCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassInputAttachmentAspectCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassInputAttachmentAspectCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassInputAttachmentAspectCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassInputAttachmentAspectCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassInputAttachmentAspectCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassMultiviewCreateInfo

type RenderPassMultiviewCreateInfo struct {
	SType                StructureType
	PNext                unsafe.Pointer
	SubpassCount         uint32
	PViewMasks           []uint32
	DependencyCount      uint32
	PViewOffsets         []int32
	CorrelationMaskCount uint32
	PCorrelationMasks    []uint32
	// contains filtered or unexported fields
}

RenderPassMultiviewCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassMultiviewCreateInfo.html

func NewRenderPassMultiviewCreateInfoRef

func NewRenderPassMultiviewCreateInfoRef(ref unsafe.Pointer) *RenderPassMultiviewCreateInfo

NewRenderPassMultiviewCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassMultiviewCreateInfo) Deref

func (x *RenderPassMultiviewCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassMultiviewCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassMultiviewCreateInfo) PassRef

func (x *RenderPassMultiviewCreateInfo) PassRef() (*C.VkRenderPassMultiviewCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassMultiviewCreateInfo) PassValue

func (x RenderPassMultiviewCreateInfo) PassValue() (C.VkRenderPassMultiviewCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassMultiviewCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type RenderPassSampleLocationsBeginInfo

type RenderPassSampleLocationsBeginInfo struct {
	SType                                 StructureType
	PNext                                 unsafe.Pointer
	AttachmentInitialSampleLocationsCount uint32
	PAttachmentInitialSampleLocations     []AttachmentSampleLocations
	PostSubpassSampleLocationsCount       uint32
	PPostSubpassSampleLocations           []SubpassSampleLocations
	// contains filtered or unexported fields
}

RenderPassSampleLocationsBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkRenderPassSampleLocationsBeginInfoEXT.html

func NewRenderPassSampleLocationsBeginInfoRef

func NewRenderPassSampleLocationsBeginInfoRef(ref unsafe.Pointer) *RenderPassSampleLocationsBeginInfo

NewRenderPassSampleLocationsBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*RenderPassSampleLocationsBeginInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*RenderPassSampleLocationsBeginInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*RenderPassSampleLocationsBeginInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (RenderPassSampleLocationsBeginInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*RenderPassSampleLocationsBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type Result

type Result int32

Result as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkResult.html

const (
	Success                                  Result = iota
	NotReady                                 Result = 1
	Timeout                                  Result = 2
	EventSet                                 Result = 3
	EventReset                               Result = 4
	Incomplete                               Result = 5
	ErrorOutOfHostMemory                     Result = -1
	ErrorOutOfDeviceMemory                   Result = -2
	ErrorInitializationFailed                Result = -3
	ErrorDeviceLost                          Result = -4
	ErrorMemoryMapFailed                     Result = -5
	ErrorLayerNotPresent                     Result = -6
	ErrorExtensionNotPresent                 Result = -7
	ErrorFeatureNotPresent                   Result = -8
	ErrorIncompatibleDriver                  Result = -9
	ErrorTooManyObjects                      Result = -10
	ErrorFormatNotSupported                  Result = -11
	ErrorFragmentedPool                      Result = -12
	ErrorOutOfPoolMemory                     Result = -1000069000
	ErrorInvalidExternalHandle               Result = -1000072003
	ErrorSurfaceLost                         Result = -1000000000
	ErrorNativeWindowInUse                   Result = -1000000001
	Suboptimal                               Result = 1000001003
	ErrorOutOfDate                           Result = -1000001004
	ErrorIncompatibleDisplay                 Result = -1000003001
	ErrorValidationFailed                    Result = -1000011001
	ErrorInvalidShaderNv                     Result = -1000012000
	ErrorInvalidDrmFormatModifierPlaneLayout Result = -1000158000
	ErrorFragmentation                       Result = -1000161000
	ErrorNotPermitted                        Result = -1000174001
	ResultBeginRange                         Result = -12
	ResultEndRange                           Result = 5
	ResultRangeSize                          Result = 18
	ResultMaxEnum                            Result = 2147483647
)

Result enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkResult.html

func AcquireNextImage

func AcquireNextImage(device Device, swapchain Swapchain, timeout uint64, semaphore Semaphore, fence Fence, pImageIndex *uint32) Result

AcquireNextImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkAcquireNextImageKHR

func AllocateCommandBuffers

func AllocateCommandBuffers(device Device, pAllocateInfo *CommandBufferAllocateInfo, pCommandBuffers []CommandBuffer) Result

AllocateCommandBuffers function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateCommandBuffers.html

func AllocateDescriptorSets

func AllocateDescriptorSets(device Device, pAllocateInfo *DescriptorSetAllocateInfo, pDescriptorSets *DescriptorSet) Result

AllocateDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateDescriptorSets.html

func AllocateMemory

func AllocateMemory(device Device, pAllocateInfo *MemoryAllocateInfo, pAllocator *AllocationCallbacks, pMemory *DeviceMemory) Result

AllocateMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkAllocateMemory.html

func BeginCommandBuffer

func BeginCommandBuffer(commandBuffer CommandBuffer, pBeginInfo *CommandBufferBeginInfo) Result

BeginCommandBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkBeginCommandBuffer.html

func BindBufferMemory

func BindBufferMemory(device Device, buffer Buffer, memory DeviceMemory, memoryOffset DeviceSize) Result

BindBufferMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkBindBufferMemory.html

func BindImageMemory

func BindImageMemory(device Device, image Image, memory DeviceMemory, memoryOffset DeviceSize) Result

BindImageMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkBindImageMemory.html

func CreateBuffer

func CreateBuffer(device Device, pCreateInfo *BufferCreateInfo, pAllocator *AllocationCallbacks, pBuffer *Buffer) Result

CreateBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateBuffer.html

func CreateBufferView

func CreateBufferView(device Device, pCreateInfo *BufferViewCreateInfo, pAllocator *AllocationCallbacks, pView *BufferView) Result

CreateBufferView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateBufferView.html

func CreateCommandPool

func CreateCommandPool(device Device, pCreateInfo *CommandPoolCreateInfo, pAllocator *AllocationCallbacks, pCommandPool *CommandPool) Result

CreateCommandPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateCommandPool.html

func CreateComputePipelines

func CreateComputePipelines(device Device, pipelineCache PipelineCache, createInfoCount uint32, pCreateInfos []ComputePipelineCreateInfo, pAllocator *AllocationCallbacks, pPipelines []Pipeline) Result

CreateComputePipelines function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateComputePipelines.html

func CreateDebugReportCallback

func CreateDebugReportCallback(instance Instance, pCreateInfo *DebugReportCallbackCreateInfo, pAllocator *AllocationCallbacks, pCallback *DebugReportCallback) Result

CreateDebugReportCallback function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateDebugReportCallbackEXT.html

func CreateDescriptorPool

func CreateDescriptorPool(device Device, pCreateInfo *DescriptorPoolCreateInfo, pAllocator *AllocationCallbacks, pDescriptorPool *DescriptorPool) Result

CreateDescriptorPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateDescriptorPool.html

func CreateDescriptorSetLayout

func CreateDescriptorSetLayout(device Device, pCreateInfo *DescriptorSetLayoutCreateInfo, pAllocator *AllocationCallbacks, pSetLayout *DescriptorSetLayout) Result

CreateDescriptorSetLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateDescriptorSetLayout.html

func CreateDevice

func CreateDevice(physicalDevice PhysicalDevice, pCreateInfo *DeviceCreateInfo, pAllocator *AllocationCallbacks, pDevice *Device) Result

CreateDevice function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateDevice.html

func CreateDisplayMode

func CreateDisplayMode(physicalDevice PhysicalDevice, display Display, pCreateInfo *DisplayModeCreateInfo, pAllocator *AllocationCallbacks, pMode *DisplayMode) Result

CreateDisplayMode function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCreateDisplayModeKHR

func CreateDisplayPlaneSurface

func CreateDisplayPlaneSurface(instance Instance, pCreateInfo *DisplaySurfaceCreateInfo, pAllocator *AllocationCallbacks, pSurface *Surface) Result

CreateDisplayPlaneSurface function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCreateDisplayPlaneSurfaceKHR

func CreateEvent

func CreateEvent(device Device, pCreateInfo *EventCreateInfo, pAllocator *AllocationCallbacks, pEvent *Event) Result

CreateEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateEvent.html

func CreateFence

func CreateFence(device Device, pCreateInfo *FenceCreateInfo, pAllocator *AllocationCallbacks, pFence *Fence) Result

CreateFence function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateFence.html

func CreateFramebuffer

func CreateFramebuffer(device Device, pCreateInfo *FramebufferCreateInfo, pAllocator *AllocationCallbacks, pFramebuffer *Framebuffer) Result

CreateFramebuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateFramebuffer.html

func CreateGraphicsPipelines

func CreateGraphicsPipelines(device Device, pipelineCache PipelineCache, createInfoCount uint32, pCreateInfos []GraphicsPipelineCreateInfo, pAllocator *AllocationCallbacks, pPipelines []Pipeline) Result

CreateGraphicsPipelines function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateGraphicsPipelines.html

func CreateImage

func CreateImage(device Device, pCreateInfo *ImageCreateInfo, pAllocator *AllocationCallbacks, pImage *Image) Result

CreateImage function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateImage.html

func CreateImageView

func CreateImageView(device Device, pCreateInfo *ImageViewCreateInfo, pAllocator *AllocationCallbacks, pView *ImageView) Result

CreateImageView function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateImageView.html

func CreateInstance

func CreateInstance(pCreateInfo *InstanceCreateInfo, pAllocator *AllocationCallbacks, pInstance *Instance) Result

CreateInstance function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateInstance.html

func CreatePipelineCache

func CreatePipelineCache(device Device, pCreateInfo *PipelineCacheCreateInfo, pAllocator *AllocationCallbacks, pPipelineCache *PipelineCache) Result

CreatePipelineCache function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreatePipelineCache.html

func CreatePipelineLayout

func CreatePipelineLayout(device Device, pCreateInfo *PipelineLayoutCreateInfo, pAllocator *AllocationCallbacks, pPipelineLayout *PipelineLayout) Result

CreatePipelineLayout function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreatePipelineLayout.html

func CreateQueryPool

func CreateQueryPool(device Device, pCreateInfo *QueryPoolCreateInfo, pAllocator *AllocationCallbacks, pQueryPool *QueryPool) Result

CreateQueryPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateQueryPool.html

func CreateRenderPass

func CreateRenderPass(device Device, pCreateInfo *RenderPassCreateInfo, pAllocator *AllocationCallbacks, pRenderPass *RenderPass) Result

CreateRenderPass function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateRenderPass.html

func CreateSampler

func CreateSampler(device Device, pCreateInfo *SamplerCreateInfo, pAllocator *AllocationCallbacks, pSampler *Sampler) Result

CreateSampler function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateSampler.html

func CreateSemaphore

func CreateSemaphore(device Device, pCreateInfo *SemaphoreCreateInfo, pAllocator *AllocationCallbacks, pSemaphore *Semaphore) Result

CreateSemaphore function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateSemaphore.html

func CreateShaderModule

func CreateShaderModule(device Device, pCreateInfo *ShaderModuleCreateInfo, pAllocator *AllocationCallbacks, pShaderModule *ShaderModule) Result

CreateShaderModule function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCreateShaderModule.html

func CreateSharedSwapchains

func CreateSharedSwapchains(device Device, swapchainCount uint32, pCreateInfos []SwapchainCreateInfo, pAllocator *AllocationCallbacks, pSwapchains *Swapchain) Result

CreateSharedSwapchains function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCreateSharedSwapchainsKHR

func CreateSwapchain

func CreateSwapchain(device Device, pCreateInfo *SwapchainCreateInfo, pAllocator *AllocationCallbacks, pSwapchain *Swapchain) Result

CreateSwapchain function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkCreateSwapchainKHR

func DeviceWaitIdle

func DeviceWaitIdle(device Device) Result

DeviceWaitIdle function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkDeviceWaitIdle.html

func EndCommandBuffer

func EndCommandBuffer(commandBuffer CommandBuffer) Result

EndCommandBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEndCommandBuffer.html

func EnumerateDeviceExtensionProperties

func EnumerateDeviceExtensionProperties(physicalDevice PhysicalDevice, pLayerName string, pPropertyCount *uint32, pProperties []ExtensionProperties) Result

EnumerateDeviceExtensionProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumerateDeviceExtensionProperties.html

func EnumerateDeviceLayerProperties

func EnumerateDeviceLayerProperties(physicalDevice PhysicalDevice, pPropertyCount *uint32, pProperties []LayerProperties) Result

EnumerateDeviceLayerProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumerateDeviceLayerProperties.html

func EnumerateInstanceExtensionProperties

func EnumerateInstanceExtensionProperties(pLayerName string, pPropertyCount *uint32, pProperties []ExtensionProperties) Result

EnumerateInstanceExtensionProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumerateInstanceExtensionProperties.html

func EnumerateInstanceLayerProperties

func EnumerateInstanceLayerProperties(pPropertyCount *uint32, pProperties []LayerProperties) Result

EnumerateInstanceLayerProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumerateInstanceLayerProperties.html

func EnumeratePhysicalDevices

func EnumeratePhysicalDevices(instance Instance, pPhysicalDeviceCount *uint32, pPhysicalDevices []PhysicalDevice) Result

EnumeratePhysicalDevices function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkEnumeratePhysicalDevices.html

func FlushMappedMemoryRanges

func FlushMappedMemoryRanges(device Device, memoryRangeCount uint32, pMemoryRanges []MappedMemoryRange) Result

FlushMappedMemoryRanges function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFlushMappedMemoryRanges.html

func FreeDescriptorSets

func FreeDescriptorSets(device Device, descriptorPool DescriptorPool, descriptorSetCount uint32, pDescriptorSets *DescriptorSet) Result

FreeDescriptorSets function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkFreeDescriptorSets.html

func GetDisplayModeProperties

func GetDisplayModeProperties(physicalDevice PhysicalDevice, display Display, pPropertyCount *uint32, pProperties []DisplayModeProperties) Result

GetDisplayModeProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetDisplayModePropertiesKHR

func GetDisplayPlaneCapabilities

func GetDisplayPlaneCapabilities(physicalDevice PhysicalDevice, mode DisplayMode, planeIndex uint32, pCapabilities *DisplayPlaneCapabilities) Result

GetDisplayPlaneCapabilities function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetDisplayPlaneCapabilitiesKHR

func GetDisplayPlaneSupportedDisplays

func GetDisplayPlaneSupportedDisplays(physicalDevice PhysicalDevice, planeIndex uint32, pDisplayCount *uint32, pDisplays []Display) Result

GetDisplayPlaneSupportedDisplays function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetDisplayPlaneSupportedDisplaysKHR

func GetEventStatus

func GetEventStatus(device Device, event Event) Result

GetEventStatus function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetEventStatus.html

func GetFenceStatus

func GetFenceStatus(device Device, fence Fence) Result

GetFenceStatus function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetFenceStatus.html

func GetPastPresentationTimingGOOGLE

func GetPastPresentationTimingGOOGLE(device Device, swapchain Swapchain, pPresentationTimingCount *uint32, pPresentationTimings *PastPresentationTimingGOOGLE) Result

GetPastPresentationTimingGOOGLE function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPastPresentationTimingGOOGLE.html

func GetPhysicalDeviceDisplayPlaneProperties

func GetPhysicalDeviceDisplayPlaneProperties(physicalDevice PhysicalDevice, pPropertyCount *uint32, pProperties []DisplayPlaneProperties) Result

GetPhysicalDeviceDisplayPlaneProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceDisplayPlanePropertiesKHR

func GetPhysicalDeviceDisplayProperties

func GetPhysicalDeviceDisplayProperties(physicalDevice PhysicalDevice, pPropertyCount *uint32, pProperties []DisplayProperties) Result

GetPhysicalDeviceDisplayProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceDisplayPropertiesKHR

func GetPhysicalDeviceImageFormatProperties

func GetPhysicalDeviceImageFormatProperties(physicalDevice PhysicalDevice, format Format, kind ImageType, tiling ImageTiling, usage ImageUsageFlags, flags ImageCreateFlags, pImageFormatProperties *ImageFormatProperties) Result

GetPhysicalDeviceImageFormatProperties function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPhysicalDeviceImageFormatProperties.html

func GetPhysicalDeviceSurfaceCapabilities

func GetPhysicalDeviceSurfaceCapabilities(physicalDevice PhysicalDevice, surface Surface, pSurfaceCapabilities *SurfaceCapabilities) Result

GetPhysicalDeviceSurfaceCapabilities function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceSurfaceCapabilitiesKHR

func GetPhysicalDeviceSurfaceFormats

func GetPhysicalDeviceSurfaceFormats(physicalDevice PhysicalDevice, surface Surface, pSurfaceFormatCount *uint32, pSurfaceFormats []SurfaceFormat) Result

GetPhysicalDeviceSurfaceFormats function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceSurfaceFormatsKHR

func GetPhysicalDeviceSurfacePresentModes

func GetPhysicalDeviceSurfacePresentModes(physicalDevice PhysicalDevice, surface Surface, pPresentModeCount *uint32, pPresentModes []PresentMode) Result

GetPhysicalDeviceSurfacePresentModes function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceSurfacePresentModesKHR

func GetPhysicalDeviceSurfaceSupport

func GetPhysicalDeviceSurfaceSupport(physicalDevice PhysicalDevice, queueFamilyIndex uint32, surface Surface, pSupported *Bool32) Result

GetPhysicalDeviceSurfaceSupport function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetPhysicalDeviceSurfaceSupportKHR

func GetPipelineCacheData

func GetPipelineCacheData(device Device, pipelineCache PipelineCache, pDataSize *uint, pData unsafe.Pointer) Result

GetPipelineCacheData function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetPipelineCacheData.html

func GetQueryPoolResults

func GetQueryPoolResults(device Device, queryPool QueryPool, firstQuery uint32, queryCount uint32, dataSize uint, pData unsafe.Pointer, stride DeviceSize, flags QueryResultFlags) Result

GetQueryPoolResults function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetQueryPoolResults.html

func GetRefreshCycleDurationGOOGLE

func GetRefreshCycleDurationGOOGLE(device Device, swapchain Swapchain, pDisplayTimingProperties *RefreshCycleDurationGOOGLE) Result

GetRefreshCycleDurationGOOGLE function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkGetRefreshCycleDurationGOOGLE.html

func GetSwapchainImages

func GetSwapchainImages(device Device, swapchain Swapchain, pSwapchainImageCount *uint32, pSwapchainImages []Image) Result

GetSwapchainImages function as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkGetSwapchainImagesKHR

func InvalidateMappedMemoryRanges

func InvalidateMappedMemoryRanges(device Device, memoryRangeCount uint32, pMemoryRanges []MappedMemoryRange) Result

InvalidateMappedMemoryRanges function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkInvalidateMappedMemoryRanges.html

func MapMemory

func MapMemory(device Device, memory DeviceMemory, offset DeviceSize, size DeviceSize, flags MemoryMapFlags, ppData *unsafe.Pointer) Result

MapMemory function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkMapMemory.html

func MergePipelineCaches

func MergePipelineCaches(device Device, dstCache PipelineCache, srcCacheCount uint32, pSrcCaches []PipelineCache) Result

MergePipelineCaches function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkMergePipelineCaches.html

func QueueBindSparse

func QueueBindSparse(queue Queue, bindInfoCount uint32, pBindInfo []BindSparseInfo, fence Fence) Result

QueueBindSparse function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkQueueBindSparse.html

func QueueSubmit

func QueueSubmit(queue Queue, submitCount uint32, pSubmits []SubmitInfo, fence Fence) Result

QueueSubmit function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkQueueSubmit.html

func QueueWaitIdle

func QueueWaitIdle(queue Queue) Result

QueueWaitIdle function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkQueueWaitIdle.html

func ResetCommandBuffer

func ResetCommandBuffer(commandBuffer CommandBuffer, flags CommandBufferResetFlags) Result

ResetCommandBuffer function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkResetCommandBuffer.html

func ResetCommandPool

func ResetCommandPool(device Device, commandPool CommandPool, flags CommandPoolResetFlags) Result

ResetCommandPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkResetCommandPool.html

func ResetDescriptorPool

func ResetDescriptorPool(device Device, descriptorPool DescriptorPool, flags DescriptorPoolResetFlags) Result

ResetDescriptorPool function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkResetDescriptorPool.html

func ResetEvent

func ResetEvent(device Device, event Event) Result

ResetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkResetEvent.html

func ResetFences

func ResetFences(device Device, fenceCount uint32, pFences []Fence) Result

ResetFences function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkResetFences.html

func SetEvent

func SetEvent(device Device, event Event) Result

SetEvent function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkSetEvent.html

func WaitForFences

func WaitForFences(device Device, fenceCount uint32, pFences []Fence, waitAll Bool32, timeout uint64) Result

WaitForFences function as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkWaitForFences.html

type SampleCountFlagBits

type SampleCountFlagBits int32

SampleCountFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleCountFlagBits.html

const (
	SampleCount1Bit            SampleCountFlagBits = 1
	SampleCount2Bit            SampleCountFlagBits = 2
	SampleCount4Bit            SampleCountFlagBits = 4
	SampleCount8Bit            SampleCountFlagBits = 8
	SampleCount16Bit           SampleCountFlagBits = 16
	SampleCount32Bit           SampleCountFlagBits = 32
	SampleCount64Bit           SampleCountFlagBits = 64
	SampleCountFlagBitsMaxEnum SampleCountFlagBits = 2147483647
)

SampleCountFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleCountFlagBits.html

type SampleLocation

type SampleLocation struct {
	X float32
	Y float32
	// contains filtered or unexported fields
}

SampleLocation as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleLocationEXT.html

func NewSampleLocationRef

func NewSampleLocationRef(ref unsafe.Pointer) *SampleLocation

NewSampleLocationRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SampleLocation) Deref

func (x *SampleLocation) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SampleLocation) Free

func (x *SampleLocation) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SampleLocation) PassRef

func (x *SampleLocation) PassRef() (*C.VkSampleLocationEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SampleLocation) PassValue

func (x SampleLocation) PassValue() (C.VkSampleLocationEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SampleLocation) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SampleLocationsInfo

type SampleLocationsInfo struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	SampleLocationsPerPixel SampleCountFlagBits
	SampleLocationGridSize  Extent2D
	SampleLocationsCount    uint32
	PSampleLocations        []SampleLocation
	// contains filtered or unexported fields
}

SampleLocationsInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSampleLocationsInfoEXT.html

func NewSampleLocationsInfoRef

func NewSampleLocationsInfoRef(ref unsafe.Pointer) *SampleLocationsInfo

NewSampleLocationsInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SampleLocationsInfo) Deref

func (x *SampleLocationsInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SampleLocationsInfo) Free

func (x *SampleLocationsInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SampleLocationsInfo) PassRef

func (x *SampleLocationsInfo) PassRef() (*C.VkSampleLocationsInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SampleLocationsInfo) PassValue

func (x SampleLocationsInfo) PassValue() (C.VkSampleLocationsInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SampleLocationsInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerAddressMode

type SamplerAddressMode int32

SamplerAddressMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerAddressMode.html

const (
	SamplerAddressModeRepeat            SamplerAddressMode = iota
	SamplerAddressModeMirroredRepeat    SamplerAddressMode = 1
	SamplerAddressModeClampToEdge       SamplerAddressMode = 2
	SamplerAddressModeClampToBorder     SamplerAddressMode = 3
	SamplerAddressModeMirrorClampToEdge SamplerAddressMode = 4
	SamplerAddressModeBeginRange        SamplerAddressMode = 0
	SamplerAddressModeEndRange          SamplerAddressMode = 3
	SamplerAddressModeRangeSize         SamplerAddressMode = 4
	SamplerAddressModeMaxEnum           SamplerAddressMode = 2147483647
)

SamplerAddressMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerAddressMode.html

type SamplerCreateInfo

type SamplerCreateInfo struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   SamplerCreateFlags
	MagFilter               Filter
	MinFilter               Filter
	MipmapMode              SamplerMipmapMode
	AddressModeU            SamplerAddressMode
	AddressModeV            SamplerAddressMode
	AddressModeW            SamplerAddressMode
	MipLodBias              float32
	AnisotropyEnable        Bool32
	MaxAnisotropy           float32
	CompareEnable           Bool32
	CompareOp               CompareOp
	MinLod                  float32
	MaxLod                  float32
	BorderColor             BorderColor
	UnnormalizedCoordinates Bool32
	// contains filtered or unexported fields
}

SamplerCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerCreateInfo.html

func NewSamplerCreateInfoRef

func NewSamplerCreateInfoRef(ref unsafe.Pointer) *SamplerCreateInfo

NewSamplerCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SamplerCreateInfo) Deref

func (x *SamplerCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SamplerCreateInfo) Free

func (x *SamplerCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SamplerCreateInfo) PassRef

func (x *SamplerCreateInfo) PassRef() (*C.VkSamplerCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SamplerCreateInfo) PassValue

func (x SamplerCreateInfo) PassValue() (C.VkSamplerCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SamplerCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerMipmapMode

type SamplerMipmapMode int32

SamplerMipmapMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerMipmapMode.html

const (
	SamplerMipmapModeNearest    SamplerMipmapMode = iota
	SamplerMipmapModeLinear     SamplerMipmapMode = 1
	SamplerMipmapModeBeginRange SamplerMipmapMode = 0
	SamplerMipmapModeEndRange   SamplerMipmapMode = 1
	SamplerMipmapModeRangeSize  SamplerMipmapMode = 2
	SamplerMipmapModeMaxEnum    SamplerMipmapMode = 2147483647
)

SamplerMipmapMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerMipmapMode.html

type SamplerReductionMode

type SamplerReductionMode int32

SamplerReductionMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerReductionModeEXT.html

const (
	SamplerReductionModeWeightedAverage SamplerReductionMode = iota
	SamplerReductionModeMin             SamplerReductionMode = 1
	SamplerReductionModeMax             SamplerReductionMode = 2
	SamplerReductionModeBeginRange      SamplerReductionMode = 0
	SamplerReductionModeEndRange        SamplerReductionMode = 2
	SamplerReductionModeRangeSize       SamplerReductionMode = 3
	SamplerReductionModeMaxEnum         SamplerReductionMode = 2147483647
)

SamplerReductionMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerReductionModeEXT.html

type SamplerReductionModeCreateInfo

type SamplerReductionModeCreateInfo struct {
	SType         StructureType
	PNext         unsafe.Pointer
	ReductionMode SamplerReductionMode
	// contains filtered or unexported fields
}

SamplerReductionModeCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerReductionModeCreateInfoEXT.html

func NewSamplerReductionModeCreateInfoRef

func NewSamplerReductionModeCreateInfoRef(ref unsafe.Pointer) *SamplerReductionModeCreateInfo

NewSamplerReductionModeCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SamplerReductionModeCreateInfo) Deref

func (x *SamplerReductionModeCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SamplerReductionModeCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SamplerReductionModeCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SamplerReductionModeCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SamplerReductionModeCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerYcbcrConversionCreateInfo

type SamplerYcbcrConversionCreateInfo struct {
	SType                       StructureType
	PNext                       unsafe.Pointer
	Format                      Format
	YcbcrModel                  SamplerYcbcrModelConversion
	YcbcrRange                  SamplerYcbcrRange
	Components                  ComponentMapping
	XChromaOffset               ChromaLocation
	YChromaOffset               ChromaLocation
	ChromaFilter                Filter
	ForceExplicitReconstruction Bool32
	// contains filtered or unexported fields
}

SamplerYcbcrConversionCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrConversionCreateInfo.html

func NewSamplerYcbcrConversionCreateInfoRef

func NewSamplerYcbcrConversionCreateInfoRef(ref unsafe.Pointer) *SamplerYcbcrConversionCreateInfo

NewSamplerYcbcrConversionCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SamplerYcbcrConversionCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SamplerYcbcrConversionCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SamplerYcbcrConversionCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SamplerYcbcrConversionCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SamplerYcbcrConversionCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerYcbcrConversionImageFormatProperties

type SamplerYcbcrConversionImageFormatProperties struct {
	SType                               StructureType
	PNext                               unsafe.Pointer
	CombinedImageSamplerDescriptorCount uint32
	// contains filtered or unexported fields
}

SamplerYcbcrConversionImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrConversionImageFormatProperties.html

func NewSamplerYcbcrConversionImageFormatPropertiesRef

func NewSamplerYcbcrConversionImageFormatPropertiesRef(ref unsafe.Pointer) *SamplerYcbcrConversionImageFormatProperties

NewSamplerYcbcrConversionImageFormatPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SamplerYcbcrConversionImageFormatProperties) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SamplerYcbcrConversionImageFormatProperties) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SamplerYcbcrConversionImageFormatProperties) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SamplerYcbcrConversionImageFormatProperties) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SamplerYcbcrConversionImageFormatProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerYcbcrConversionInfo

type SamplerYcbcrConversionInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Conversion SamplerYcbcrConversion
	// contains filtered or unexported fields
}

SamplerYcbcrConversionInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrConversionInfo.html

func NewSamplerYcbcrConversionInfoRef

func NewSamplerYcbcrConversionInfoRef(ref unsafe.Pointer) *SamplerYcbcrConversionInfo

NewSamplerYcbcrConversionInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SamplerYcbcrConversionInfo) Deref

func (x *SamplerYcbcrConversionInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SamplerYcbcrConversionInfo) Free

func (x *SamplerYcbcrConversionInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SamplerYcbcrConversionInfo) PassRef

func (x *SamplerYcbcrConversionInfo) PassRef() (*C.VkSamplerYcbcrConversionInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SamplerYcbcrConversionInfo) PassValue

func (x SamplerYcbcrConversionInfo) PassValue() (C.VkSamplerYcbcrConversionInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SamplerYcbcrConversionInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SamplerYcbcrModelConversion

type SamplerYcbcrModelConversion int32

SamplerYcbcrModelConversion as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrModelConversion.html

const (
	SamplerYcbcrModelConversionRgbIdentity   SamplerYcbcrModelConversion = iota
	SamplerYcbcrModelConversionYcbcrIdentity SamplerYcbcrModelConversion = 1
	SamplerYcbcrModelConversionYcbcr709      SamplerYcbcrModelConversion = 2
	SamplerYcbcrModelConversionYcbcr601      SamplerYcbcrModelConversion = 3
	SamplerYcbcrModelConversionYcbcr2020     SamplerYcbcrModelConversion = 4
	SamplerYcbcrModelConversionBeginRange    SamplerYcbcrModelConversion = 0
	SamplerYcbcrModelConversionEndRange      SamplerYcbcrModelConversion = 4
	SamplerYcbcrModelConversionRangeSize     SamplerYcbcrModelConversion = 5
	SamplerYcbcrModelConversionMaxEnum       SamplerYcbcrModelConversion = 2147483647
)

SamplerYcbcrModelConversion enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrModelConversion.html

type SamplerYcbcrRange

type SamplerYcbcrRange int32

SamplerYcbcrRange as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrRange.html

const (
	SamplerYcbcrRangeItuFull    SamplerYcbcrRange = iota
	SamplerYcbcrRangeItuNarrow  SamplerYcbcrRange = 1
	SamplerYcbcrRangeBeginRange SamplerYcbcrRange = 0
	SamplerYcbcrRangeEndRange   SamplerYcbcrRange = 1
	SamplerYcbcrRangeRangeSize  SamplerYcbcrRange = 2
	SamplerYcbcrRangeMaxEnum    SamplerYcbcrRange = 2147483647
)

SamplerYcbcrRange enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSamplerYcbcrRange.html

type SemaphoreCreateFlags

type SemaphoreCreateFlags uint32

SemaphoreCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreCreateFlags.html

type SemaphoreCreateInfo

type SemaphoreCreateInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	Flags SemaphoreCreateFlags
	// contains filtered or unexported fields
}

SemaphoreCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreCreateInfo.html

func NewSemaphoreCreateInfoRef

func NewSemaphoreCreateInfoRef(ref unsafe.Pointer) *SemaphoreCreateInfo

NewSemaphoreCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SemaphoreCreateInfo) Deref

func (x *SemaphoreCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SemaphoreCreateInfo) Free

func (x *SemaphoreCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SemaphoreCreateInfo) PassRef

func (x *SemaphoreCreateInfo) PassRef() (*C.VkSemaphoreCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SemaphoreCreateInfo) PassValue

func (x SemaphoreCreateInfo) PassValue() (C.VkSemaphoreCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SemaphoreCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SemaphoreGetFdInfo

type SemaphoreGetFdInfo struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Semaphore  Semaphore
	HandleType ExternalSemaphoreHandleTypeFlagBits
	// contains filtered or unexported fields
}

SemaphoreGetFdInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSemaphoreGetFdInfoKHR

func NewSemaphoreGetFdInfoRef

func NewSemaphoreGetFdInfoRef(ref unsafe.Pointer) *SemaphoreGetFdInfo

NewSemaphoreGetFdInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SemaphoreGetFdInfo) Deref

func (x *SemaphoreGetFdInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SemaphoreGetFdInfo) Free

func (x *SemaphoreGetFdInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SemaphoreGetFdInfo) PassRef

func (x *SemaphoreGetFdInfo) PassRef() (*C.VkSemaphoreGetFdInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SemaphoreGetFdInfo) PassValue

func (x SemaphoreGetFdInfo) PassValue() (C.VkSemaphoreGetFdInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SemaphoreGetFdInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SemaphoreImportFlagBits

type SemaphoreImportFlagBits int32

SemaphoreImportFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreImportFlagBits.html

const (
	SemaphoreImportTemporaryBit    SemaphoreImportFlagBits = 1
	SemaphoreImportFlagBitsMaxEnum SemaphoreImportFlagBits = 2147483647
)

SemaphoreImportFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreImportFlagBits.html

type SemaphoreImportFlags

type SemaphoreImportFlags uint32

SemaphoreImportFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSemaphoreImportFlags.html

type ShaderInfoTypeAMD

type ShaderInfoTypeAMD int32

ShaderInfoTypeAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkShaderInfoTypeAMD

const (
	ShaderInfoTypeStatisticsAmd  ShaderInfoTypeAMD = iota
	ShaderInfoTypeBinaryAmd      ShaderInfoTypeAMD = 1
	ShaderInfoTypeDisassemblyAmd ShaderInfoTypeAMD = 2
	ShaderInfoTypeBeginRangeAmd  ShaderInfoTypeAMD = 0
	ShaderInfoTypeEndRangeAmd    ShaderInfoTypeAMD = 2
	ShaderInfoTypeRangeSizeAmd   ShaderInfoTypeAMD = 3
	ShaderInfoTypeMaxEnumAmd     ShaderInfoTypeAMD = 2147483647
)

ShaderInfoTypeAMD enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkShaderInfoTypeAMD

type ShaderModuleCreateFlags

type ShaderModuleCreateFlags uint32

ShaderModuleCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModuleCreateFlags.html

type ShaderModuleCreateInfo

type ShaderModuleCreateInfo struct {
	SType    StructureType
	PNext    unsafe.Pointer
	Flags    ShaderModuleCreateFlags
	CodeSize uint
	PCode    []uint32
	// contains filtered or unexported fields
}

ShaderModuleCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModuleCreateInfo.html

func NewShaderModuleCreateInfoRef

func NewShaderModuleCreateInfoRef(ref unsafe.Pointer) *ShaderModuleCreateInfo

NewShaderModuleCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ShaderModuleCreateInfo) Deref

func (x *ShaderModuleCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ShaderModuleCreateInfo) Free

func (x *ShaderModuleCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ShaderModuleCreateInfo) PassRef

func (x *ShaderModuleCreateInfo) PassRef() (*C.VkShaderModuleCreateInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ShaderModuleCreateInfo) PassValue

func (x ShaderModuleCreateInfo) PassValue() (C.VkShaderModuleCreateInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ShaderModuleCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ShaderModuleValidationCacheCreateInfo

type ShaderModuleValidationCacheCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	ValidationCache ValidationCache
	// contains filtered or unexported fields
}

ShaderModuleValidationCacheCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderModuleValidationCacheCreateInfoEXT.html

func NewShaderModuleValidationCacheCreateInfoRef

func NewShaderModuleValidationCacheCreateInfoRef(ref unsafe.Pointer) *ShaderModuleValidationCacheCreateInfo

NewShaderModuleValidationCacheCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ShaderModuleValidationCacheCreateInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ShaderModuleValidationCacheCreateInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ShaderModuleValidationCacheCreateInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ShaderModuleValidationCacheCreateInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ShaderModuleValidationCacheCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ShaderResourceUsageAMD

type ShaderResourceUsageAMD struct {
	NumUsedVgprs             uint32
	NumUsedSgprs             uint32
	LdsSizePerLocalWorkGroup uint32
	LdsUsageSizeInBytes      uint
	ScratchMemUsageInBytes   uint
	// contains filtered or unexported fields
}

ShaderResourceUsageAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkShaderResourceUsageAMD

func NewShaderResourceUsageAMDRef

func NewShaderResourceUsageAMDRef(ref unsafe.Pointer) *ShaderResourceUsageAMD

NewShaderResourceUsageAMDRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ShaderResourceUsageAMD) Deref

func (x *ShaderResourceUsageAMD) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ShaderResourceUsageAMD) Free

func (x *ShaderResourceUsageAMD) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ShaderResourceUsageAMD) PassRef

func (x *ShaderResourceUsageAMD) PassRef() (*C.VkShaderResourceUsageAMD, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ShaderResourceUsageAMD) PassValue

func (x ShaderResourceUsageAMD) PassValue() (C.VkShaderResourceUsageAMD, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ShaderResourceUsageAMD) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ShaderStageFlagBits

type ShaderStageFlagBits int32

ShaderStageFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderStageFlagBits.html

const (
	ShaderStageVertexBit                 ShaderStageFlagBits = 1
	ShaderStageTessellationControlBit    ShaderStageFlagBits = 2
	ShaderStageTessellationEvaluationBit ShaderStageFlagBits = 4
	ShaderStageGeometryBit               ShaderStageFlagBits = 8
	ShaderStageFragmentBit               ShaderStageFlagBits = 16
	ShaderStageComputeBit                ShaderStageFlagBits = 32
	ShaderStageAllGraphics               ShaderStageFlagBits = 31
	ShaderStageAll                       ShaderStageFlagBits = 2147483647
	ShaderStageRaygenBitNvx              ShaderStageFlagBits = 256
	ShaderStageAnyHitBitNvx              ShaderStageFlagBits = 512
	ShaderStageClosestHitBitNvx          ShaderStageFlagBits = 1024
	ShaderStageMissBitNvx                ShaderStageFlagBits = 2048
	ShaderStageIntersectionBitNvx        ShaderStageFlagBits = 4096
	ShaderStageCallableBitNvx            ShaderStageFlagBits = 8192
	ShaderStageTaskBitNv                 ShaderStageFlagBits = 64
	ShaderStageMeshBitNv                 ShaderStageFlagBits = 128
	ShaderStageFlagBitsMaxEnum           ShaderStageFlagBits = 2147483647
)

ShaderStageFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShaderStageFlagBits.html

type ShaderStatisticsInfoAMD

type ShaderStatisticsInfoAMD struct {
	ShaderStageMask      ShaderStageFlags
	ResourceUsage        ShaderResourceUsageAMD
	NumPhysicalVgprs     uint32
	NumPhysicalSgprs     uint32
	NumAvailableVgprs    uint32
	NumAvailableSgprs    uint32
	ComputeWorkGroupSize [3]uint32
	// contains filtered or unexported fields
}

ShaderStatisticsInfoAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkShaderStatisticsInfoAMD

func NewShaderStatisticsInfoAMDRef

func NewShaderStatisticsInfoAMDRef(ref unsafe.Pointer) *ShaderStatisticsInfoAMD

NewShaderStatisticsInfoAMDRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ShaderStatisticsInfoAMD) Deref

func (x *ShaderStatisticsInfoAMD) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ShaderStatisticsInfoAMD) Free

func (x *ShaderStatisticsInfoAMD) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ShaderStatisticsInfoAMD) PassRef

func (x *ShaderStatisticsInfoAMD) PassRef() (*C.VkShaderStatisticsInfoAMD, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ShaderStatisticsInfoAMD) PassValue

func (x ShaderStatisticsInfoAMD) PassValue() (C.VkShaderStatisticsInfoAMD, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ShaderStatisticsInfoAMD) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ShadingRatePaletteEntryNV

type ShadingRatePaletteEntryNV int32

ShadingRatePaletteEntryNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShadingRatePaletteEntryNV.html

const (
	ShadingRatePaletteEntryNoInvocationsNv           ShadingRatePaletteEntryNV = iota
	ShadingRatePaletteEntry16InvocationsPerPixelNv   ShadingRatePaletteEntryNV = 1
	ShadingRatePaletteEntry8InvocationsPerPixelNv    ShadingRatePaletteEntryNV = 2
	ShadingRatePaletteEntry4InvocationsPerPixelNv    ShadingRatePaletteEntryNV = 3
	ShadingRatePaletteEntry2InvocationsPerPixelNv    ShadingRatePaletteEntryNV = 4
	ShadingRatePaletteEntry1InvocationPerPixelNv     ShadingRatePaletteEntryNV = 5
	ShadingRatePaletteEntry1InvocationPer2x1PixelsNv ShadingRatePaletteEntryNV = 6
	ShadingRatePaletteEntry1InvocationPer1x2PixelsNv ShadingRatePaletteEntryNV = 7
	ShadingRatePaletteEntry1InvocationPer2x2PixelsNv ShadingRatePaletteEntryNV = 8
	ShadingRatePaletteEntry1InvocationPer4x2PixelsNv ShadingRatePaletteEntryNV = 9
	ShadingRatePaletteEntry1InvocationPer2x4PixelsNv ShadingRatePaletteEntryNV = 10
	ShadingRatePaletteEntry1InvocationPer4x4PixelsNv ShadingRatePaletteEntryNV = 11
	ShadingRatePaletteEntryBeginRangeNv              ShadingRatePaletteEntryNV = 0
	ShadingRatePaletteEntryEndRangeNv                ShadingRatePaletteEntryNV = 11
	ShadingRatePaletteEntryRangeSizeNv               ShadingRatePaletteEntryNV = 12
	ShadingRatePaletteEntryMaxEnumNv                 ShadingRatePaletteEntryNV = 2147483647
)

ShadingRatePaletteEntryNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShadingRatePaletteEntryNV.html

type ShadingRatePaletteNV

type ShadingRatePaletteNV struct {
	ShadingRatePaletteEntryCount uint32
	PShadingRatePaletteEntries   []ShadingRatePaletteEntryNV
	// contains filtered or unexported fields
}

ShadingRatePaletteNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkShadingRatePaletteNV.html

func NewShadingRatePaletteNVRef

func NewShadingRatePaletteNVRef(ref unsafe.Pointer) *ShadingRatePaletteNV

NewShadingRatePaletteNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ShadingRatePaletteNV) Deref

func (x *ShadingRatePaletteNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ShadingRatePaletteNV) Free

func (x *ShadingRatePaletteNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ShadingRatePaletteNV) PassRef

func (x *ShadingRatePaletteNV) PassRef() (*C.VkShadingRatePaletteNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ShadingRatePaletteNV) PassValue

func (x ShadingRatePaletteNV) PassValue() (C.VkShadingRatePaletteNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ShadingRatePaletteNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SharedPresentSurfaceCapabilities

type SharedPresentSurfaceCapabilities struct {
	SType                            StructureType
	PNext                            unsafe.Pointer
	SharedPresentSupportedUsageFlags ImageUsageFlags
	// contains filtered or unexported fields
}

SharedPresentSurfaceCapabilities as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSharedPresentSurfaceCapabilitiesKHR

func NewSharedPresentSurfaceCapabilitiesRef

func NewSharedPresentSurfaceCapabilitiesRef(ref unsafe.Pointer) *SharedPresentSurfaceCapabilities

NewSharedPresentSurfaceCapabilitiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SharedPresentSurfaceCapabilities) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SharedPresentSurfaceCapabilities) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SharedPresentSurfaceCapabilities) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SharedPresentSurfaceCapabilities) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SharedPresentSurfaceCapabilities) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SharingMode

type SharingMode int32

SharingMode as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSharingMode.html

const (
	SharingModeExclusive  SharingMode = iota
	SharingModeConcurrent SharingMode = 1
	SharingModeBeginRange SharingMode = 0
	SharingModeEndRange   SharingMode = 1
	SharingModeRangeSize  SharingMode = 2
	SharingModeMaxEnum    SharingMode = 2147483647
)

SharingMode enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSharingMode.html

type SparseBufferMemoryBindInfo

type SparseBufferMemoryBindInfo struct {
	Buffer    Buffer
	BindCount uint32
	PBinds    []SparseMemoryBind
	// contains filtered or unexported fields
}

SparseBufferMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseBufferMemoryBindInfo.html

func NewSparseBufferMemoryBindInfoRef

func NewSparseBufferMemoryBindInfoRef(ref unsafe.Pointer) *SparseBufferMemoryBindInfo

NewSparseBufferMemoryBindInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseBufferMemoryBindInfo) Deref

func (x *SparseBufferMemoryBindInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseBufferMemoryBindInfo) Free

func (x *SparseBufferMemoryBindInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseBufferMemoryBindInfo) PassRef

func (x *SparseBufferMemoryBindInfo) PassRef() (*C.VkSparseBufferMemoryBindInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseBufferMemoryBindInfo) PassValue

func (x SparseBufferMemoryBindInfo) PassValue() (C.VkSparseBufferMemoryBindInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseBufferMemoryBindInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageFormatFlagBits

type SparseImageFormatFlagBits int32

SparseImageFormatFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatFlagBits.html

const (
	SparseImageFormatSingleMiptailBit        SparseImageFormatFlagBits = 1
	SparseImageFormatAlignedMipSizeBit       SparseImageFormatFlagBits = 2
	SparseImageFormatNonstandardBlockSizeBit SparseImageFormatFlagBits = 4
	SparseImageFormatFlagBitsMaxEnum         SparseImageFormatFlagBits = 2147483647
)

SparseImageFormatFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatFlagBits.html

type SparseImageFormatFlags

type SparseImageFormatFlags uint32

SparseImageFormatFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatFlags.html

type SparseImageFormatProperties

type SparseImageFormatProperties struct {
	AspectMask       ImageAspectFlags
	ImageGranularity Extent3D
	Flags            SparseImageFormatFlags
	// contains filtered or unexported fields
}

SparseImageFormatProperties as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatProperties.html

func NewSparseImageFormatPropertiesRef

func NewSparseImageFormatPropertiesRef(ref unsafe.Pointer) *SparseImageFormatProperties

NewSparseImageFormatPropertiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageFormatProperties) Deref

func (x *SparseImageFormatProperties) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageFormatProperties) Free

func (x *SparseImageFormatProperties) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageFormatProperties) PassRef

func (x *SparseImageFormatProperties) PassRef() (*C.VkSparseImageFormatProperties, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageFormatProperties) PassValue

func (x SparseImageFormatProperties) PassValue() (C.VkSparseImageFormatProperties, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageFormatProperties) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageFormatProperties2

type SparseImageFormatProperties2 struct {
	SType      StructureType
	PNext      unsafe.Pointer
	Properties SparseImageFormatProperties
	// contains filtered or unexported fields
}

SparseImageFormatProperties2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageFormatProperties2.html

func NewSparseImageFormatProperties2Ref

func NewSparseImageFormatProperties2Ref(ref unsafe.Pointer) *SparseImageFormatProperties2

NewSparseImageFormatProperties2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageFormatProperties2) Deref

func (x *SparseImageFormatProperties2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageFormatProperties2) Free

func (x *SparseImageFormatProperties2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageFormatProperties2) PassRef

func (x *SparseImageFormatProperties2) PassRef() (*C.VkSparseImageFormatProperties2, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageFormatProperties2) PassValue

func (x SparseImageFormatProperties2) PassValue() (C.VkSparseImageFormatProperties2, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageFormatProperties2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageMemoryBind

type SparseImageMemoryBind struct {
	Subresource  ImageSubresource
	Offset       Offset3D
	Extent       Extent3D
	Memory       DeviceMemory
	MemoryOffset DeviceSize
	Flags        SparseMemoryBindFlags
	// contains filtered or unexported fields
}

SparseImageMemoryBind as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryBind.html

func NewSparseImageMemoryBindRef

func NewSparseImageMemoryBindRef(ref unsafe.Pointer) *SparseImageMemoryBind

NewSparseImageMemoryBindRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageMemoryBind) Deref

func (x *SparseImageMemoryBind) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageMemoryBind) Free

func (x *SparseImageMemoryBind) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageMemoryBind) PassRef

func (x *SparseImageMemoryBind) PassRef() (*C.VkSparseImageMemoryBind, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageMemoryBind) PassValue

func (x SparseImageMemoryBind) PassValue() (C.VkSparseImageMemoryBind, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageMemoryBind) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageMemoryBindInfo

type SparseImageMemoryBindInfo struct {
	Image     Image
	BindCount uint32
	PBinds    []SparseImageMemoryBind
	// contains filtered or unexported fields
}

SparseImageMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryBindInfo.html

func NewSparseImageMemoryBindInfoRef

func NewSparseImageMemoryBindInfoRef(ref unsafe.Pointer) *SparseImageMemoryBindInfo

NewSparseImageMemoryBindInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageMemoryBindInfo) Deref

func (x *SparseImageMemoryBindInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageMemoryBindInfo) Free

func (x *SparseImageMemoryBindInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageMemoryBindInfo) PassRef

func (x *SparseImageMemoryBindInfo) PassRef() (*C.VkSparseImageMemoryBindInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageMemoryBindInfo) PassValue

func (x SparseImageMemoryBindInfo) PassValue() (C.VkSparseImageMemoryBindInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageMemoryBindInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageMemoryRequirements

type SparseImageMemoryRequirements struct {
	FormatProperties     SparseImageFormatProperties
	ImageMipTailFirstLod uint32
	ImageMipTailSize     DeviceSize
	ImageMipTailOffset   DeviceSize
	ImageMipTailStride   DeviceSize
	// contains filtered or unexported fields
}

SparseImageMemoryRequirements as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryRequirements.html

func NewSparseImageMemoryRequirementsRef

func NewSparseImageMemoryRequirementsRef(ref unsafe.Pointer) *SparseImageMemoryRequirements

NewSparseImageMemoryRequirementsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageMemoryRequirements) Deref

func (x *SparseImageMemoryRequirements) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageMemoryRequirements) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageMemoryRequirements) PassRef

func (x *SparseImageMemoryRequirements) PassRef() (*C.VkSparseImageMemoryRequirements, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageMemoryRequirements) PassValue

func (x SparseImageMemoryRequirements) PassValue() (C.VkSparseImageMemoryRequirements, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageMemoryRequirements) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageMemoryRequirements2

type SparseImageMemoryRequirements2 struct {
	SType              StructureType
	PNext              unsafe.Pointer
	MemoryRequirements SparseImageMemoryRequirements
	// contains filtered or unexported fields
}

SparseImageMemoryRequirements2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageMemoryRequirements2.html

func NewSparseImageMemoryRequirements2Ref

func NewSparseImageMemoryRequirements2Ref(ref unsafe.Pointer) *SparseImageMemoryRequirements2

NewSparseImageMemoryRequirements2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageMemoryRequirements2) Deref

func (x *SparseImageMemoryRequirements2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageMemoryRequirements2) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageMemoryRequirements2) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageMemoryRequirements2) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageMemoryRequirements2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseImageOpaqueMemoryBindInfo

type SparseImageOpaqueMemoryBindInfo struct {
	Image     Image
	BindCount uint32
	PBinds    []SparseMemoryBind
	// contains filtered or unexported fields
}

SparseImageOpaqueMemoryBindInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseImageOpaqueMemoryBindInfo.html

func NewSparseImageOpaqueMemoryBindInfoRef

func NewSparseImageOpaqueMemoryBindInfoRef(ref unsafe.Pointer) *SparseImageOpaqueMemoryBindInfo

NewSparseImageOpaqueMemoryBindInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseImageOpaqueMemoryBindInfo) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseImageOpaqueMemoryBindInfo) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseImageOpaqueMemoryBindInfo) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseImageOpaqueMemoryBindInfo) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseImageOpaqueMemoryBindInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseMemoryBind

type SparseMemoryBind struct {
	ResourceOffset DeviceSize
	Size           DeviceSize
	Memory         DeviceMemory
	MemoryOffset   DeviceSize
	Flags          SparseMemoryBindFlags
	// contains filtered or unexported fields
}

SparseMemoryBind as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBind.html

func NewSparseMemoryBindRef

func NewSparseMemoryBindRef(ref unsafe.Pointer) *SparseMemoryBind

NewSparseMemoryBindRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SparseMemoryBind) Deref

func (x *SparseMemoryBind) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SparseMemoryBind) Free

func (x *SparseMemoryBind) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SparseMemoryBind) PassRef

func (x *SparseMemoryBind) PassRef() (*C.VkSparseMemoryBind, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SparseMemoryBind) PassValue

func (x SparseMemoryBind) PassValue() (C.VkSparseMemoryBind, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SparseMemoryBind) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SparseMemoryBindFlagBits

type SparseMemoryBindFlagBits int32

SparseMemoryBindFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBindFlagBits.html

const (
	SparseMemoryBindMetadataBit     SparseMemoryBindFlagBits = 1
	SparseMemoryBindFlagBitsMaxEnum SparseMemoryBindFlagBits = 2147483647
)

SparseMemoryBindFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBindFlagBits.html

type SparseMemoryBindFlags

type SparseMemoryBindFlags uint32

SparseMemoryBindFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSparseMemoryBindFlags.html

type SpecializationInfo

type SpecializationInfo struct {
	MapEntryCount uint32
	PMapEntries   []SpecializationMapEntry
	DataSize      uint
	PData         unsafe.Pointer
	// contains filtered or unexported fields
}

SpecializationInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSpecializationInfo.html

func NewSpecializationInfoRef

func NewSpecializationInfoRef(ref unsafe.Pointer) *SpecializationInfo

NewSpecializationInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SpecializationInfo) Deref

func (x *SpecializationInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SpecializationInfo) Free

func (x *SpecializationInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SpecializationInfo) PassRef

func (x *SpecializationInfo) PassRef() (*C.VkSpecializationInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SpecializationInfo) PassValue

func (x SpecializationInfo) PassValue() (C.VkSpecializationInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SpecializationInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SpecializationMapEntry

type SpecializationMapEntry struct {
	ConstantID uint32
	Offset     uint32
	Size       uint
	// contains filtered or unexported fields
}

SpecializationMapEntry as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSpecializationMapEntry.html

func NewSpecializationMapEntryRef

func NewSpecializationMapEntryRef(ref unsafe.Pointer) *SpecializationMapEntry

NewSpecializationMapEntryRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SpecializationMapEntry) Deref

func (x *SpecializationMapEntry) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SpecializationMapEntry) Free

func (x *SpecializationMapEntry) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SpecializationMapEntry) PassRef

func (x *SpecializationMapEntry) PassRef() (*C.VkSpecializationMapEntry, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SpecializationMapEntry) PassValue

func (x SpecializationMapEntry) PassValue() (C.VkSpecializationMapEntry, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SpecializationMapEntry) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type StencilFaceFlagBits

type StencilFaceFlagBits int32

StencilFaceFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilFaceFlagBits.html

const (
	StencilFaceFrontBit        StencilFaceFlagBits = 1
	StencilFaceBackBit         StencilFaceFlagBits = 2
	StencilFrontAndBack        StencilFaceFlagBits = 3
	StencilFaceFlagBitsMaxEnum StencilFaceFlagBits = 2147483647
)

StencilFaceFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilFaceFlagBits.html

type StencilOp

type StencilOp int32

StencilOp as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilOp.html

const (
	StencilOpKeep              StencilOp = iota
	StencilOpZero              StencilOp = 1
	StencilOpReplace           StencilOp = 2
	StencilOpIncrementAndClamp StencilOp = 3
	StencilOpDecrementAndClamp StencilOp = 4
	StencilOpInvert            StencilOp = 5
	StencilOpIncrementAndWrap  StencilOp = 6
	StencilOpDecrementAndWrap  StencilOp = 7
	StencilOpBeginRange        StencilOp = 0
	StencilOpEndRange          StencilOp = 7
	StencilOpRangeSize         StencilOp = 8
	StencilOpMaxEnum           StencilOp = 2147483647
)

StencilOp enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilOp.html

type StencilOpState

type StencilOpState struct {
	FailOp      StencilOp
	PassOp      StencilOp
	DepthFailOp StencilOp
	CompareOp   CompareOp
	CompareMask uint32
	WriteMask   uint32
	Reference   uint32
	// contains filtered or unexported fields
}

StencilOpState as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStencilOpState.html

func NewStencilOpStateRef

func NewStencilOpStateRef(ref unsafe.Pointer) *StencilOpState

NewStencilOpStateRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*StencilOpState) Deref

func (x *StencilOpState) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*StencilOpState) Free

func (x *StencilOpState) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*StencilOpState) PassRef

func (x *StencilOpState) PassRef() (*C.VkStencilOpState, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (StencilOpState) PassValue

func (x StencilOpState) PassValue() (C.VkStencilOpState, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*StencilOpState) Ref

func (x *StencilOpState) Ref() *C.VkStencilOpState

Ref returns the underlying reference to C object or nil if struct is nil.

type StructureType

type StructureType int32

StructureType as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStructureType.html

const (
	StructureTypeApplicationInfo                                       StructureType = iota
	StructureTypeInstanceCreateInfo                                    StructureType = 1
	StructureTypeDeviceQueueCreateInfo                                 StructureType = 2
	StructureTypeDeviceCreateInfo                                      StructureType = 3
	StructureTypeSubmitInfo                                            StructureType = 4
	StructureTypeMemoryAllocateInfo                                    StructureType = 5
	StructureTypeMappedMemoryRange                                     StructureType = 6
	StructureTypeBindSparseInfo                                        StructureType = 7
	StructureTypeFenceCreateInfo                                       StructureType = 8
	StructureTypeSemaphoreCreateInfo                                   StructureType = 9
	StructureTypeEventCreateInfo                                       StructureType = 10
	StructureTypeQueryPoolCreateInfo                                   StructureType = 11
	StructureTypeBufferCreateInfo                                      StructureType = 12
	StructureTypeBufferViewCreateInfo                                  StructureType = 13
	StructureTypeImageCreateInfo                                       StructureType = 14
	StructureTypeImageViewCreateInfo                                   StructureType = 15
	StructureTypeShaderModuleCreateInfo                                StructureType = 16
	StructureTypePipelineCacheCreateInfo                               StructureType = 17
	StructureTypePipelineShaderStageCreateInfo                         StructureType = 18
	StructureTypePipelineVertexInputStateCreateInfo                    StructureType = 19
	StructureTypePipelineInputAssemblyStateCreateInfo                  StructureType = 20
	StructureTypePipelineTessellationStateCreateInfo                   StructureType = 21
	StructureTypePipelineViewportStateCreateInfo                       StructureType = 22
	StructureTypePipelineRasterizationStateCreateInfo                  StructureType = 23
	StructureTypePipelineMultisampleStateCreateInfo                    StructureType = 24
	StructureTypePipelineDepthStencilStateCreateInfo                   StructureType = 25
	StructureTypePipelineColorBlendStateCreateInfo                     StructureType = 26
	StructureTypePipelineDynamicStateCreateInfo                        StructureType = 27
	StructureTypeGraphicsPipelineCreateInfo                            StructureType = 28
	StructureTypeComputePipelineCreateInfo                             StructureType = 29
	StructureTypePipelineLayoutCreateInfo                              StructureType = 30
	StructureTypeSamplerCreateInfo                                     StructureType = 31
	StructureTypeDescriptorSetLayoutCreateInfo                         StructureType = 32
	StructureTypeDescriptorPoolCreateInfo                              StructureType = 33
	StructureTypeDescriptorSetAllocateInfo                             StructureType = 34
	StructureTypeWriteDescriptorSet                                    StructureType = 35
	StructureTypeCopyDescriptorSet                                     StructureType = 36
	StructureTypeFramebufferCreateInfo                                 StructureType = 37
	StructureTypeRenderPassCreateInfo                                  StructureType = 38
	StructureTypeCommandPoolCreateInfo                                 StructureType = 39
	StructureTypeCommandBufferAllocateInfo                             StructureType = 40
	StructureTypeCommandBufferInheritanceInfo                          StructureType = 41
	StructureTypeCommandBufferBeginInfo                                StructureType = 42
	StructureTypeRenderPassBeginInfo                                   StructureType = 43
	StructureTypeBufferMemoryBarrier                                   StructureType = 44
	StructureTypeImageMemoryBarrier                                    StructureType = 45
	StructureTypeMemoryBarrier                                         StructureType = 46
	StructureTypeLoaderInstanceCreateInfo                              StructureType = 47
	StructureTypeLoaderDeviceCreateInfo                                StructureType = 48
	StructureTypePhysicalDeviceSubgroupProperties                      StructureType = 1000094000
	StructureTypeBindBufferMemoryInfo                                  StructureType = 1000157000
	StructureTypeBindImageMemoryInfo                                   StructureType = 1000157001
	StructureTypePhysicalDevice16bitStorageFeatures                    StructureType = 1000083000
	StructureTypeMemoryDedicatedRequirements                           StructureType = 1000127000
	StructureTypeMemoryDedicatedAllocateInfo                           StructureType = 1000127001
	StructureTypeMemoryAllocateFlagsInfo                               StructureType = 1000060000
	StructureTypeDeviceGroupRenderPassBeginInfo                        StructureType = 1000060003
	StructureTypeDeviceGroupCommandBufferBeginInfo                     StructureType = 1000060004
	StructureTypeDeviceGroupSubmitInfo                                 StructureType = 1000060005
	StructureTypeDeviceGroupBindSparseInfo                             StructureType = 1000060006
	StructureTypeBindBufferMemoryDeviceGroupInfo                       StructureType = 1000060013
	StructureTypeBindImageMemoryDeviceGroupInfo                        StructureType = 1000060014
	StructureTypePhysicalDeviceGroupProperties                         StructureType = 1000070000
	StructureTypeDeviceGroupDeviceCreateInfo                           StructureType = 1000070001
	StructureTypeBufferMemoryRequirementsInfo2                         StructureType = 1000146000
	StructureTypeImageMemoryRequirementsInfo2                          StructureType = 1000146001
	StructureTypeImageSparseMemoryRequirementsInfo2                    StructureType = 1000146002
	StructureTypeMemoryRequirements2                                   StructureType = 1000146003
	StructureTypeSparseImageMemoryRequirements2                        StructureType = 1000146004
	StructureTypePhysicalDeviceFeatures2                               StructureType = 1000059000
	StructureTypePhysicalDeviceProperties2                             StructureType = 1000059001
	StructureTypeFormatProperties2                                     StructureType = 1000059002
	StructureTypeImageFormatProperties2                                StructureType = 1000059003
	StructureTypePhysicalDeviceImageFormatInfo2                        StructureType = 1000059004
	StructureTypeQueueFamilyProperties2                                StructureType = 1000059005
	StructureTypePhysicalDeviceMemoryProperties2                       StructureType = 1000059006
	StructureTypeSparseImageFormatProperties2                          StructureType = 1000059007
	StructureTypePhysicalDeviceSparseImageFormatInfo2                  StructureType = 1000059008
	StructureTypePhysicalDevicePointClippingProperties                 StructureType = 1000117000
	StructureTypeRenderPassInputAttachmentAspectCreateInfo             StructureType = 1000117001
	StructureTypeImageViewUsageCreateInfo                              StructureType = 1000117002
	StructureTypePipelineTessellationDomainOriginStateCreateInfo       StructureType = 1000117003
	StructureTypeRenderPassMultiviewCreateInfo                         StructureType = 1000053000
	StructureTypePhysicalDeviceMultiviewFeatures                       StructureType = 1000053001
	StructureTypePhysicalDeviceMultiviewProperties                     StructureType = 1000053002
	StructureTypePhysicalDeviceVariablePointerFeatures                 StructureType = 1000120000
	StructureTypeProtectedSubmitInfo                                   StructureType = 1000145000
	StructureTypePhysicalDeviceProtectedMemoryFeatures                 StructureType = 1000145001
	StructureTypePhysicalDeviceProtectedMemoryProperties               StructureType = 1000145002
	StructureTypeDeviceQueueInfo2                                      StructureType = 1000145003
	StructureTypeSamplerYcbcrConversionCreateInfo                      StructureType = 1000156000
	StructureTypeSamplerYcbcrConversionInfo                            StructureType = 1000156001
	StructureTypeBindImagePlaneMemoryInfo                              StructureType = 1000156002
	StructureTypeImagePlaneMemoryRequirementsInfo                      StructureType = 1000156003
	StructureTypePhysicalDeviceSamplerYcbcrConversionFeatures          StructureType = 1000156004
	StructureTypeSamplerYcbcrConversionImageFormatProperties           StructureType = 1000156005
	StructureTypeDescriptorUpdateTemplateCreateInfo                    StructureType = 1000085000
	StructureTypePhysicalDeviceExternalImageFormatInfo                 StructureType = 1000071000
	StructureTypeExternalImageFormatProperties                         StructureType = 1000071001
	StructureTypePhysicalDeviceExternalBufferInfo                      StructureType = 1000071002
	StructureTypeExternalBufferProperties                              StructureType = 1000071003
	StructureTypePhysicalDeviceIdProperties                            StructureType = 1000071004
	StructureTypeExternalMemoryBufferCreateInfo                        StructureType = 1000072000
	StructureTypeExternalMemoryImageCreateInfo                         StructureType = 1000072001
	StructureTypeExportMemoryAllocateInfo                              StructureType = 1000072002
	StructureTypePhysicalDeviceExternalFenceInfo                       StructureType = 1000112000
	StructureTypeExternalFenceProperties                               StructureType = 1000112001
	StructureTypeExportFenceCreateInfo                                 StructureType = 1000113000
	StructureTypeExportSemaphoreCreateInfo                             StructureType = 1000077000
	StructureTypePhysicalDeviceExternalSemaphoreInfo                   StructureType = 1000076000
	StructureTypeExternalSemaphoreProperties                           StructureType = 1000076001
	StructureTypePhysicalDeviceMaintenance3Properties                  StructureType = 1000168000
	StructureTypeDescriptorSetLayoutSupport                            StructureType = 1000168001
	StructureTypePhysicalDeviceShaderDrawParameterFeatures             StructureType = 1000063000
	StructureTypeSwapchainCreateInfo                                   StructureType = 1000001000
	StructureTypePresentInfo                                           StructureType = 1000001001
	StructureTypeDeviceGroupPresentCapabilities                        StructureType = 1000060007
	StructureTypeImageSwapchainCreateInfo                              StructureType = 1000060008
	StructureTypeBindImageMemorySwapchainInfo                          StructureType = 1000060009
	StructureTypeAcquireNextImageInfo                                  StructureType = 1000060010
	StructureTypeDeviceGroupPresentInfo                                StructureType = 1000060011
	StructureTypeDeviceGroupSwapchainCreateInfo                        StructureType = 1000060012
	StructureTypeDisplayModeCreateInfo                                 StructureType = 1000002000
	StructureTypeDisplaySurfaceCreateInfo                              StructureType = 1000002001
	StructureTypeDisplayPresentInfo                                    StructureType = 1000003000
	StructureTypeXlibSurfaceCreateInfo                                 StructureType = 1000004000
	StructureTypeXcbSurfaceCreateInfo                                  StructureType = 1000005000
	StructureTypeWaylandSurfaceCreateInfo                              StructureType = 1000006000
	StructureTypeMirSurfaceCreateInfo                                  StructureType = 1000007000
	StructureTypeAndroidSurfaceCreateInfo                              StructureType = 1000008000
	StructureTypeWin32SurfaceCreateInfo                                StructureType = 1000009000
	StructureTypeDebugReportCallbackCreateInfo                         StructureType = 1000011000
	StructureTypePipelineRasterizationStateRasterizationOrderAmd       StructureType = 1000018000
	StructureTypeDebugMarkerObjectNameInfo                             StructureType = 1000022000
	StructureTypeDebugMarkerObjectTagInfo                              StructureType = 1000022001
	StructureTypeDebugMarkerMarkerInfo                                 StructureType = 1000022002
	StructureTypeDedicatedAllocationImageCreateInfoNv                  StructureType = 1000026000
	StructureTypeDedicatedAllocationBufferCreateInfoNv                 StructureType = 1000026001
	StructureTypeDedicatedAllocationMemoryAllocateInfoNv               StructureType = 1000026002
	StructureTypePhysicalDeviceTransformFeedbackFeatures               StructureType = 1000028000
	StructureTypePhysicalDeviceTransformFeedbackProperties             StructureType = 1000028001
	StructureTypePipelineRasterizationStateStreamCreateInfo            StructureType = 1000028002
	StructureTypeTextureLodGatherFormatPropertiesAmd                   StructureType = 1000041000
	StructureTypePhysicalDeviceCornerSampledImageFeaturesNv            StructureType = 1000050000
	StructureTypeExternalMemoryImageCreateInfoNv                       StructureType = 1000056000
	StructureTypeExportMemoryAllocateInfoNv                            StructureType = 1000056001
	StructureTypeImportMemoryWin32HandleInfoNv                         StructureType = 1000057000
	StructureTypeExportMemoryWin32HandleInfoNv                         StructureType = 1000057001
	StructureTypeWin32KeyedMutexAcquireReleaseInfoNv                   StructureType = 1000058000
	StructureTypeValidationFlags                                       StructureType = 1000061000
	StructureTypeViSurfaceCreateInfoNn                                 StructureType = 1000062000
	StructureTypeImageViewAstcDecodeMode                               StructureType = 1000067000
	StructureTypePhysicalDeviceAstcDecodeFeatures                      StructureType = 1000067001
	StructureTypeImportMemoryWin32HandleInfo                           StructureType = 1000073000
	StructureTypeExportMemoryWin32HandleInfo                           StructureType = 1000073001
	StructureTypeMemoryWin32HandleProperties                           StructureType = 1000073002
	StructureTypeMemoryGetWin32HandleInfo                              StructureType = 1000073003
	StructureTypeImportMemoryFdInfo                                    StructureType = 1000074000
	StructureTypeMemoryFdProperties                                    StructureType = 1000074001
	StructureTypeMemoryGetFdInfo                                       StructureType = 1000074002
	StructureTypeWin32KeyedMutexAcquireReleaseInfo                     StructureType = 1000075000
	StructureTypeImportSemaphoreWin32HandleInfo                        StructureType = 1000078000
	StructureTypeExportSemaphoreWin32HandleInfo                        StructureType = 1000078001
	StructureTypeD3d12FenceSubmitInfo                                  StructureType = 1000078002
	StructureTypeSemaphoreGetWin32HandleInfo                           StructureType = 1000078003
	StructureTypeImportSemaphoreFdInfo                                 StructureType = 1000079000
	StructureTypeSemaphoreGetFdInfo                                    StructureType = 1000079001
	StructureTypePhysicalDevicePushDescriptorProperties                StructureType = 1000080000
	StructureTypeCommandBufferInheritanceConditionalRenderingInfo      StructureType = 1000081000
	StructureTypePhysicalDeviceConditionalRenderingFeatures            StructureType = 1000081001
	StructureTypeConditionalRenderingBeginInfo                         StructureType = 1000081002
	StructureTypePresentRegions                                        StructureType = 1000084000
	StructureTypeObjectTableCreateInfoNvx                              StructureType = 1000086000
	StructureTypeIndirectCommandsLayoutCreateInfoNvx                   StructureType = 1000086001
	StructureTypeCmdProcessCommandsInfoNvx                             StructureType = 1000086002
	StructureTypeCmdReserveSpaceForCommandsInfoNvx                     StructureType = 1000086003
	StructureTypeDeviceGeneratedCommandsLimitsNvx                      StructureType = 1000086004
	StructureTypeDeviceGeneratedCommandsFeaturesNvx                    StructureType = 1000086005
	StructureTypePipelineViewportWScalingStateCreateInfoNv             StructureType = 1000087000
	StructureTypeSurfaceCapabilities2                                  StructureType = 1000090000
	StructureTypeDisplayPowerInfo                                      StructureType = 1000091000
	StructureTypeDeviceEventInfo                                       StructureType = 1000091001
	StructureTypeDisplayEventInfo                                      StructureType = 1000091002
	StructureTypeSwapchainCounterCreateInfo                            StructureType = 1000091003
	StructureTypePresentTimesInfoGoogle                                StructureType = 1000092000
	StructureTypePhysicalDeviceMultiviewPerViewAttributesPropertiesNvx StructureType = 1000097000
	StructureTypePipelineViewportSwizzleStateCreateInfoNv              StructureType = 1000098000
	StructureTypePhysicalDeviceDiscardRectangleProperties              StructureType = 1000099000
	StructureTypePipelineDiscardRectangleStateCreateInfo               StructureType = 1000099001
	StructureTypePhysicalDeviceConservativeRasterizationProperties     StructureType = 1000101000
	StructureTypePipelineRasterizationConservativeStateCreateInfo      StructureType = 1000101001
	StructureTypeHdrMetadata                                           StructureType = 1000105000
	StructureTypeAttachmentDescription2                                StructureType = 1000109000
	StructureTypeAttachmentReference2                                  StructureType = 1000109001
	StructureTypeSubpassDescription2                                   StructureType = 1000109002
	StructureTypeSubpassDependency2                                    StructureType = 1000109003
	StructureTypeRenderPassCreateInfo2                                 StructureType = 1000109004
	StructureTypeSubpassBeginInfo                                      StructureType = 1000109005
	StructureTypeSubpassEndInfo                                        StructureType = 1000109006
	StructureTypeSharedPresentSurfaceCapabilities                      StructureType = 1000111000
	StructureTypeImportFenceWin32HandleInfo                            StructureType = 1000114000
	StructureTypeExportFenceWin32HandleInfo                            StructureType = 1000114001
	StructureTypeFenceGetWin32HandleInfo                               StructureType = 1000114002
	StructureTypeImportFenceFdInfo                                     StructureType = 1000115000
	StructureTypeFenceGetFdInfo                                        StructureType = 1000115001
	StructureTypePhysicalDeviceSurfaceInfo2                            StructureType = 1000119000
	StructureTypeSurfaceFormat2                                        StructureType = 1000119002
	StructureTypeDisplayProperties2                                    StructureType = 1000121000
	StructureTypeDisplayPlaneProperties2                               StructureType = 1000121001
	StructureTypeDisplayModeProperties2                                StructureType = 1000121002
	StructureTypeDisplayPlaneInfo2                                     StructureType = 1000121003
	StructureTypeDisplayPlaneCapabilities2                             StructureType = 1000121004
	StructureTypeIosSurfaceCreateInfoMvk                               StructureType = 1000122000
	StructureTypeMacosSurfaceCreateInfoMvk                             StructureType = 1000123000
	StructureTypeDebugUtilsObjectNameInfo                              StructureType = 1000128000
	StructureTypeDebugUtilsObjectTagInfo                               StructureType = 1000128001
	StructureTypeDebugUtilsLabel                                       StructureType = 1000128002
	StructureTypeDebugUtilsMessengerCallbackData                       StructureType = 1000128003
	StructureTypeDebugUtilsMessengerCreateInfo                         StructureType = 1000128004
	StructureTypeAndroidHardwareBufferUsageAndroid                     StructureType = 1000129000
	StructureTypeAndroidHardwareBufferPropertiesAndroid                StructureType = 1000129001
	StructureTypeAndroidHardwareBufferFormatPropertiesAndroid          StructureType = 1000129002
	StructureTypeImportAndroidHardwareBufferInfoAndroid                StructureType = 1000129003
	StructureTypeMemoryGetAndroidHardwareBufferInfoAndroid             StructureType = 1000129004
	StructureTypeExternalFormatAndroid                                 StructureType = 1000129005
	StructureTypePhysicalDeviceSamplerFilterMinmaxProperties           StructureType = 1000130000
	StructureTypeSamplerReductionModeCreateInfo                        StructureType = 1000130001
	StructureTypePhysicalDeviceInlineUniformBlockFeatures              StructureType = 1000138000
	StructureTypePhysicalDeviceInlineUniformBlockProperties            StructureType = 1000138001
	StructureTypeWriteDescriptorSetInlineUniformBlock                  StructureType = 1000138002
	StructureTypeDescriptorPoolInlineUniformBlockCreateInfo            StructureType = 1000138003
	StructureTypeSampleLocationsInfo                                   StructureType = 1000143000
	StructureTypeRenderPassSampleLocationsBeginInfo                    StructureType = 1000143001
	StructureTypePipelineSampleLocationsStateCreateInfo                StructureType = 1000143002
	StructureTypePhysicalDeviceSampleLocationsProperties               StructureType = 1000143003
	StructureTypeMultisampleProperties                                 StructureType = 1000143004
	StructureTypeImageFormatListCreateInfo                             StructureType = 1000147000
	StructureTypePhysicalDeviceBlendOperationAdvancedFeatures          StructureType = 1000148000
	StructureTypePhysicalDeviceBlendOperationAdvancedProperties        StructureType = 1000148001
	StructureTypePipelineColorBlendAdvancedStateCreateInfo             StructureType = 1000148002
	StructureTypePipelineCoverageToColorStateCreateInfoNv              StructureType = 1000149000
	StructureTypePipelineCoverageModulationStateCreateInfoNv           StructureType = 1000152000
	StructureTypeDrmFormatModifierPropertiesList                       StructureType = 1000158000
	StructureTypeDrmFormatModifierProperties                           StructureType = 1000158001
	StructureTypePhysicalDeviceImageDrmFormatModifierInfo              StructureType = 1000158002
	StructureTypeImageDrmFormatModifierListCreateInfo                  StructureType = 1000158003
	StructureTypeImageExcplicitDrmFormatModifierCreateInfo             StructureType = 1000158004
	StructureTypeImageDrmFormatModifierProperties                      StructureType = 1000158005
	StructureTypeValidationCacheCreateInfo                             StructureType = 1000160000
	StructureTypeShaderModuleValidationCacheCreateInfo                 StructureType = 1000160001
	StructureTypeDescriptorSetLayoutBindingFlagsCreateInfo             StructureType = 1000161000
	StructureTypePhysicalDeviceDescriptorIndexingFeatures              StructureType = 1000161001
	StructureTypePhysicalDeviceDescriptorIndexingProperties            StructureType = 1000161002
	StructureTypeDescriptorSetVariableDescriptorCountAllocateInfo      StructureType = 1000161003
	StructureTypeDescriptorSetVariableDescriptorCountLayoutSupport     StructureType = 1000161004
	StructureTypePipelineViewportShadingRateImageStateCreateInfoNv     StructureType = 1000164000
	StructureTypePhysicalDeviceShadingRateImageFeaturesNv              StructureType = 1000164001
	StructureTypePhysicalDeviceShadingRateImagePropertiesNv            StructureType = 1000164002
	StructureTypePipelineViewportCoarseSampleOrderStateCreateInfoNv    StructureType = 1000164005
	StructureTypeRaytracingPipelineCreateInfoNvx                       StructureType = 1000165000
	StructureTypeAccelerationStructureCreateInfoNvx                    StructureType = 1000165001
	StructureTypeGeometryInstanceNvx                                   StructureType = 1000165002
	StructureTypeGeometryNvx                                           StructureType = 1000165003
	StructureTypeGeometryTrianglesNvx                                  StructureType = 1000165004
	StructureTypeGeometryAabbNvx                                       StructureType = 1000165005
	StructureTypeBindAccelerationStructureMemoryInfoNvx                StructureType = 1000165006
	StructureTypeDescriptorAccelerationStructureInfoNvx                StructureType = 1000165007
	StructureTypeAccelerationStructureMemoryRequirementsInfoNvx        StructureType = 1000165008
	StructureTypePhysicalDeviceRaytracingPropertiesNvx                 StructureType = 1000165009
	StructureTypeHitShaderModuleCreateInfoNvx                          StructureType = 1000165010
	StructureTypePhysicalDeviceRepresentativeFragmentTestFeaturesNv    StructureType = 1000166000
	StructureTypePipelineRepresentativeFragmentTestStateCreateInfoNv   StructureType = 1000166001
	StructureTypeDeviceQueueGlobalPriorityCreateInfo                   StructureType = 1000174000
	StructureTypePhysicalDevice8bitStorageFeatures                     StructureType = 1000177000
	StructureTypeImportMemoryHostPointerInfo                           StructureType = 1000178000
	StructureTypeMemoryHostPointerProperties                           StructureType = 1000178001
	StructureTypePhysicalDeviceExternalMemoryHostProperties            StructureType = 1000178002
	StructureTypePhysicalDeviceShaderAtomicInt64Features               StructureType = 1000180000
	StructureTypeCalibratedTimestampInfo                               StructureType = 1000184000
	StructureTypePhysicalDeviceShaderCorePropertiesAmd                 StructureType = 1000185000
	StructureTypePhysicalDeviceVertexAttributeDivisorProperties        StructureType = 1000190000
	StructureTypePipelineVertexInputDivisorStateCreateInfo             StructureType = 1000190001
	StructureTypePhysicalDeviceVertexAttributeDivisorFeatures          StructureType = 1000190002
	StructureTypePhysicalDeviceDriverProperties                        StructureType = 1000196000
	StructureTypePhysicalDeviceComputeShaderDerivativesFeaturesNv      StructureType = 1000201000
	StructureTypePhysicalDeviceMeshShaderFeaturesNv                    StructureType = 1000202000
	StructureTypePhysicalDeviceMeshShaderPropertiesNv                  StructureType = 1000202001
	StructureTypePhysicalDeviceFragmentShaderBarycentricFeaturesNv     StructureType = 1000203000
	StructureTypePhysicalDeviceShaderImageFootprintFeaturesNv          StructureType = 1000204000
	StructureTypePipelineViewportExclusiveScissorStateCreateInfoNv     StructureType = 1000205000
	StructureTypePhysicalDeviceExclusiveScissorFeaturesNv              StructureType = 1000205002
	StructureTypeCheckpointDataNv                                      StructureType = 1000206000
	StructureTypeQueueFamilyCheckpointPropertiesNv                     StructureType = 1000206001
	StructureTypePhysicalDeviceVulkanMemoryModelFeatures               StructureType = 1000211000
	StructureTypePhysicalDevicePciBusInfoProperties                    StructureType = 1000212000
	StructureTypeImagepipeSurfaceCreateInfoFuchsia                     StructureType = 1000214000
	StructureTypeDebugReportCreateInfo                                 StructureType = 1000011000
	StructureTypeBeginRange                                            StructureType = 0
	StructureTypeEndRange                                              StructureType = 48
	StructureTypeRangeSize                                             StructureType = 49
	StructureTypeMaxEnum                                               StructureType = 2147483647
)

StructureType enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkStructureType.html

type SubgroupFeatureFlagBits

type SubgroupFeatureFlagBits int32

SubgroupFeatureFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubgroupFeatureFlagBits.html

const (
	SubgroupFeatureBasicBit           SubgroupFeatureFlagBits = 1
	SubgroupFeatureVoteBit            SubgroupFeatureFlagBits = 2
	SubgroupFeatureArithmeticBit      SubgroupFeatureFlagBits = 4
	SubgroupFeatureBallotBit          SubgroupFeatureFlagBits = 8
	SubgroupFeatureShuffleBit         SubgroupFeatureFlagBits = 16
	SubgroupFeatureShuffleRelativeBit SubgroupFeatureFlagBits = 32
	SubgroupFeatureClusteredBit       SubgroupFeatureFlagBits = 64
	SubgroupFeatureQuadBit            SubgroupFeatureFlagBits = 128
	SubgroupFeaturePartitionedBitNv   SubgroupFeatureFlagBits = 256
	SubgroupFeatureFlagBitsMaxEnum    SubgroupFeatureFlagBits = 2147483647
)

SubgroupFeatureFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubgroupFeatureFlagBits.html

type SubgroupFeatureFlags

type SubgroupFeatureFlags uint32

SubgroupFeatureFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubgroupFeatureFlags.html

type SubmitInfo

type SubmitInfo struct {
	SType                StructureType
	PNext                unsafe.Pointer
	WaitSemaphoreCount   uint32
	PWaitSemaphores      []Semaphore
	PWaitDstStageMask    []PipelineStageFlags
	CommandBufferCount   uint32
	PCommandBuffers      []CommandBuffer
	SignalSemaphoreCount uint32
	PSignalSemaphores    []Semaphore
	// contains filtered or unexported fields
}

SubmitInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubmitInfo.html

func NewSubmitInfoRef

func NewSubmitInfoRef(ref unsafe.Pointer) *SubmitInfo

NewSubmitInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubmitInfo) Deref

func (x *SubmitInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubmitInfo) Free

func (x *SubmitInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubmitInfo) PassRef

func (x *SubmitInfo) PassRef() (*C.VkSubmitInfo, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubmitInfo) PassValue

func (x SubmitInfo) PassValue() (C.VkSubmitInfo, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubmitInfo) Ref

func (x *SubmitInfo) Ref() *C.VkSubmitInfo

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassBeginInfo

type SubpassBeginInfo struct {
	SType    StructureType
	PNext    unsafe.Pointer
	Contents SubpassContents
	// contains filtered or unexported fields
}

SubpassBeginInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSubpassBeginInfoKHR

func NewSubpassBeginInfoRef

func NewSubpassBeginInfoRef(ref unsafe.Pointer) *SubpassBeginInfo

NewSubpassBeginInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassBeginInfo) Deref

func (x *SubpassBeginInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassBeginInfo) Free

func (x *SubpassBeginInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassBeginInfo) PassRef

func (x *SubpassBeginInfo) PassRef() (*C.VkSubpassBeginInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassBeginInfo) PassValue

func (x SubpassBeginInfo) PassValue() (C.VkSubpassBeginInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassBeginInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassContents

type SubpassContents int32

SubpassContents as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassContents.html

const (
	SubpassContentsInline                  SubpassContents = iota
	SubpassContentsSecondaryCommandBuffers SubpassContents = 1
	SubpassContentsBeginRange              SubpassContents = 0
	SubpassContentsEndRange                SubpassContents = 1
	SubpassContentsRangeSize               SubpassContents = 2
	SubpassContentsMaxEnum                 SubpassContents = 2147483647
)

SubpassContents enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassContents.html

type SubpassDependency

type SubpassDependency struct {
	SrcSubpass      uint32
	DstSubpass      uint32
	SrcStageMask    PipelineStageFlags
	DstStageMask    PipelineStageFlags
	SrcAccessMask   AccessFlags
	DstAccessMask   AccessFlags
	DependencyFlags DependencyFlags
	// contains filtered or unexported fields
}

SubpassDependency as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDependency.html

func NewSubpassDependencyRef

func NewSubpassDependencyRef(ref unsafe.Pointer) *SubpassDependency

NewSubpassDependencyRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassDependency) Deref

func (x *SubpassDependency) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassDependency) Free

func (x *SubpassDependency) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassDependency) PassRef

func (x *SubpassDependency) PassRef() (*C.VkSubpassDependency, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassDependency) PassValue

func (x SubpassDependency) PassValue() (C.VkSubpassDependency, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassDependency) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassDependency2

type SubpassDependency2 struct {
	SType           StructureType
	PNext           unsafe.Pointer
	SrcSubpass      uint32
	DstSubpass      uint32
	SrcStageMask    PipelineStageFlags
	DstStageMask    PipelineStageFlags
	SrcAccessMask   AccessFlags
	DstAccessMask   AccessFlags
	DependencyFlags DependencyFlags
	ViewOffset      int32
	// contains filtered or unexported fields
}

SubpassDependency2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSubpassDependency2KHR

func NewSubpassDependency2Ref

func NewSubpassDependency2Ref(ref unsafe.Pointer) *SubpassDependency2

NewSubpassDependency2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassDependency2) Deref

func (x *SubpassDependency2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassDependency2) Free

func (x *SubpassDependency2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassDependency2) PassRef

func (x *SubpassDependency2) PassRef() (*C.VkSubpassDependency2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassDependency2) PassValue

func (x SubpassDependency2) PassValue() (C.VkSubpassDependency2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassDependency2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassDescription

type SubpassDescription struct {
	Flags                   SubpassDescriptionFlags
	PipelineBindPoint       PipelineBindPoint
	InputAttachmentCount    uint32
	PInputAttachments       []AttachmentReference
	ColorAttachmentCount    uint32
	PColorAttachments       []AttachmentReference
	PResolveAttachments     []AttachmentReference
	PDepthStencilAttachment *AttachmentReference
	PreserveAttachmentCount uint32
	PPreserveAttachments    []uint32
	// contains filtered or unexported fields
}

SubpassDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDescription.html

func NewSubpassDescriptionRef

func NewSubpassDescriptionRef(ref unsafe.Pointer) *SubpassDescription

NewSubpassDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassDescription) Deref

func (x *SubpassDescription) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassDescription) Free

func (x *SubpassDescription) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassDescription) PassRef

func (x *SubpassDescription) PassRef() (*C.VkSubpassDescription, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassDescription) PassValue

func (x SubpassDescription) PassValue() (C.VkSubpassDescription, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassDescription) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassDescription2

type SubpassDescription2 struct {
	SType                   StructureType
	PNext                   unsafe.Pointer
	Flags                   SubpassDescriptionFlags
	PipelineBindPoint       PipelineBindPoint
	ViewMask                uint32
	InputAttachmentCount    uint32
	PInputAttachments       []AttachmentReference2
	ColorAttachmentCount    uint32
	PColorAttachments       []AttachmentReference2
	PResolveAttachments     []AttachmentReference2
	PDepthStencilAttachment []AttachmentReference2
	PreserveAttachmentCount uint32
	PPreserveAttachments    []uint32
	// contains filtered or unexported fields
}

SubpassDescription2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSubpassDescription2KHR

func NewSubpassDescription2Ref

func NewSubpassDescription2Ref(ref unsafe.Pointer) *SubpassDescription2

NewSubpassDescription2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassDescription2) Deref

func (x *SubpassDescription2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassDescription2) Free

func (x *SubpassDescription2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassDescription2) PassRef

func (x *SubpassDescription2) PassRef() (*C.VkSubpassDescription2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassDescription2) PassValue

func (x SubpassDescription2) PassValue() (C.VkSubpassDescription2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassDescription2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassDescriptionFlagBits

type SubpassDescriptionFlagBits int32

SubpassDescriptionFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDescriptionFlagBits.html

const (
	SubpassDescriptionPerViewAttributesBitNvx    SubpassDescriptionFlagBits = 1
	SubpassDescriptionPerViewPositionXOnlyBitNvx SubpassDescriptionFlagBits = 2
	SubpassDescriptionFlagBitsMaxEnum            SubpassDescriptionFlagBits = 2147483647
)

SubpassDescriptionFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDescriptionFlagBits.html

type SubpassDescriptionFlags

type SubpassDescriptionFlags uint32

SubpassDescriptionFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassDescriptionFlags.html

type SubpassEndInfo

type SubpassEndInfo struct {
	SType StructureType
	PNext unsafe.Pointer
	// contains filtered or unexported fields
}

SubpassEndInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSubpassEndInfoKHR

func NewSubpassEndInfoRef

func NewSubpassEndInfoRef(ref unsafe.Pointer) *SubpassEndInfo

NewSubpassEndInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassEndInfo) Deref

func (x *SubpassEndInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassEndInfo) Free

func (x *SubpassEndInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassEndInfo) PassRef

func (x *SubpassEndInfo) PassRef() (*C.VkSubpassEndInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassEndInfo) PassValue

func (x SubpassEndInfo) PassValue() (C.VkSubpassEndInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassEndInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubpassSampleLocations

type SubpassSampleLocations struct {
	SubpassIndex        uint32
	SampleLocationsInfo SampleLocationsInfo
	// contains filtered or unexported fields
}

SubpassSampleLocations as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubpassSampleLocationsEXT.html

func NewSubpassSampleLocationsRef

func NewSubpassSampleLocationsRef(ref unsafe.Pointer) *SubpassSampleLocations

NewSubpassSampleLocationsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubpassSampleLocations) Deref

func (x *SubpassSampleLocations) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubpassSampleLocations) Free

func (x *SubpassSampleLocations) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubpassSampleLocations) PassRef

func (x *SubpassSampleLocations) PassRef() (*C.VkSubpassSampleLocationsEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubpassSampleLocations) PassValue

func (x SubpassSampleLocations) PassValue() (C.VkSubpassSampleLocationsEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubpassSampleLocations) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SubresourceLayout

type SubresourceLayout struct {
	Offset     DeviceSize
	Size       DeviceSize
	RowPitch   DeviceSize
	ArrayPitch DeviceSize
	DepthPitch DeviceSize
	// contains filtered or unexported fields
}

SubresourceLayout as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSubresourceLayout.html

func NewSubresourceLayoutRef

func NewSubresourceLayoutRef(ref unsafe.Pointer) *SubresourceLayout

NewSubresourceLayoutRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SubresourceLayout) Deref

func (x *SubresourceLayout) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SubresourceLayout) Free

func (x *SubresourceLayout) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SubresourceLayout) PassRef

func (x *SubresourceLayout) PassRef() (*C.VkSubresourceLayout, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SubresourceLayout) PassValue

func (x SubresourceLayout) PassValue() (C.VkSubresourceLayout, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SubresourceLayout) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type Surface

type Surface C.VkSurfaceKHR

Surface as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceKHR

func SurfaceFromPointer

func SurfaceFromPointer(surface uintptr) Surface

SurfaceFromPointer casts a pointer to a Vulkan surface into a Surface.

type SurfaceCapabilities

type SurfaceCapabilities struct {
	MinImageCount           uint32
	MaxImageCount           uint32
	CurrentExtent           Extent2D
	MinImageExtent          Extent2D
	MaxImageExtent          Extent2D
	MaxImageArrayLayers     uint32
	SupportedTransforms     SurfaceTransformFlags
	CurrentTransform        SurfaceTransformFlagBits
	SupportedCompositeAlpha CompositeAlphaFlags
	SupportedUsageFlags     ImageUsageFlags
	// contains filtered or unexported fields
}

SurfaceCapabilities as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceCapabilitiesKHR

func NewSurfaceCapabilitiesRef

func NewSurfaceCapabilitiesRef(ref unsafe.Pointer) *SurfaceCapabilities

NewSurfaceCapabilitiesRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SurfaceCapabilities) Deref

func (x *SurfaceCapabilities) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SurfaceCapabilities) Free

func (x *SurfaceCapabilities) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SurfaceCapabilities) PassRef

func (x *SurfaceCapabilities) PassRef() (*C.VkSurfaceCapabilitiesKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SurfaceCapabilities) PassValue

func (x SurfaceCapabilities) PassValue() (C.VkSurfaceCapabilitiesKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SurfaceCapabilities) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SurfaceCapabilities2

type SurfaceCapabilities2 struct {
	SType               StructureType
	PNext               unsafe.Pointer
	SurfaceCapabilities SurfaceCapabilities
	// contains filtered or unexported fields
}

SurfaceCapabilities2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceCapabilities2KHR

func NewSurfaceCapabilities2Ref

func NewSurfaceCapabilities2Ref(ref unsafe.Pointer) *SurfaceCapabilities2

NewSurfaceCapabilities2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SurfaceCapabilities2) Deref

func (x *SurfaceCapabilities2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SurfaceCapabilities2) Free

func (x *SurfaceCapabilities2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SurfaceCapabilities2) PassRef

func (x *SurfaceCapabilities2) PassRef() (*C.VkSurfaceCapabilities2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SurfaceCapabilities2) PassValue

func (x SurfaceCapabilities2) PassValue() (C.VkSurfaceCapabilities2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SurfaceCapabilities2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SurfaceCounterFlagBits

type SurfaceCounterFlagBits int32

SurfaceCounterFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSurfaceCounterFlagBitsEXT.html

const (
	SurfaceCounterVblank          SurfaceCounterFlagBits = 1
	SurfaceCounterFlagBitsMaxEnum SurfaceCounterFlagBits = 2147483647
)

SurfaceCounterFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSurfaceCounterFlagBitsEXT.html

type SurfaceFormat

type SurfaceFormat struct {
	Format     Format
	ColorSpace ColorSpace
	// contains filtered or unexported fields
}

SurfaceFormat as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceFormatKHR

func NewSurfaceFormatRef

func NewSurfaceFormatRef(ref unsafe.Pointer) *SurfaceFormat

NewSurfaceFormatRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SurfaceFormat) Deref

func (x *SurfaceFormat) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SurfaceFormat) Free

func (x *SurfaceFormat) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SurfaceFormat) PassRef

func (x *SurfaceFormat) PassRef() (*C.VkSurfaceFormatKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SurfaceFormat) PassValue

func (x SurfaceFormat) PassValue() (C.VkSurfaceFormatKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SurfaceFormat) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SurfaceFormat2

type SurfaceFormat2 struct {
	SType         StructureType
	PNext         unsafe.Pointer
	SurfaceFormat SurfaceFormat
	// contains filtered or unexported fields
}

SurfaceFormat2 as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceFormat2KHR

func NewSurfaceFormat2Ref

func NewSurfaceFormat2Ref(ref unsafe.Pointer) *SurfaceFormat2

NewSurfaceFormat2Ref creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SurfaceFormat2) Deref

func (x *SurfaceFormat2) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SurfaceFormat2) Free

func (x *SurfaceFormat2) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SurfaceFormat2) PassRef

func (x *SurfaceFormat2) PassRef() (*C.VkSurfaceFormat2KHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SurfaceFormat2) PassValue

func (x SurfaceFormat2) PassValue() (C.VkSurfaceFormat2KHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SurfaceFormat2) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SurfaceTransformFlagBits

type SurfaceTransformFlagBits int32

SurfaceTransformFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceTransformFlagBitsKHR

const (
	SurfaceTransformIdentityBit                  SurfaceTransformFlagBits = 1
	SurfaceTransformRotate90Bit                  SurfaceTransformFlagBits = 2
	SurfaceTransformRotate180Bit                 SurfaceTransformFlagBits = 4
	SurfaceTransformRotate270Bit                 SurfaceTransformFlagBits = 8
	SurfaceTransformHorizontalMirrorBit          SurfaceTransformFlagBits = 16
	SurfaceTransformHorizontalMirrorRotate90Bit  SurfaceTransformFlagBits = 32
	SurfaceTransformHorizontalMirrorRotate180Bit SurfaceTransformFlagBits = 64
	SurfaceTransformHorizontalMirrorRotate270Bit SurfaceTransformFlagBits = 128
	SurfaceTransformInheritBit                   SurfaceTransformFlagBits = 256
	SurfaceTransformFlagBitsMaxEnum              SurfaceTransformFlagBits = 2147483647
)

SurfaceTransformFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSurfaceTransformFlagBitsKHR

type SwapchainCounterCreateInfo

type SwapchainCounterCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	SurfaceCounters SurfaceCounterFlags
	// contains filtered or unexported fields
}

SwapchainCounterCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSwapchainCounterCreateInfoEXT.html

func NewSwapchainCounterCreateInfoRef

func NewSwapchainCounterCreateInfoRef(ref unsafe.Pointer) *SwapchainCounterCreateInfo

NewSwapchainCounterCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SwapchainCounterCreateInfo) Deref

func (x *SwapchainCounterCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SwapchainCounterCreateInfo) Free

func (x *SwapchainCounterCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SwapchainCounterCreateInfo) PassRef

func (x *SwapchainCounterCreateInfo) PassRef() (*C.VkSwapchainCounterCreateInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SwapchainCounterCreateInfo) PassValue

func (x SwapchainCounterCreateInfo) PassValue() (C.VkSwapchainCounterCreateInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SwapchainCounterCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SwapchainCreateFlagBits

type SwapchainCreateFlagBits int32

SwapchainCreateFlagBits as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSwapchainCreateFlagBitsKHR

const (
	SwapchainCreateSplitInstanceBindRegionsBit SwapchainCreateFlagBits = 1
	SwapchainCreateProtectedBit                SwapchainCreateFlagBits = 2
	SwapchainCreateFlagBitsMaxEnum             SwapchainCreateFlagBits = 2147483647
)

SwapchainCreateFlagBits enumeration from https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSwapchainCreateFlagBitsKHR

type SwapchainCreateInfo

type SwapchainCreateInfo struct {
	SType                 StructureType
	PNext                 unsafe.Pointer
	Flags                 SwapchainCreateFlags
	Surface               Surface
	MinImageCount         uint32
	ImageFormat           Format
	ImageColorSpace       ColorSpace
	ImageExtent           Extent2D
	ImageArrayLayers      uint32
	ImageUsage            ImageUsageFlags
	ImageSharingMode      SharingMode
	QueueFamilyIndexCount uint32
	PQueueFamilyIndices   []uint32
	PreTransform          SurfaceTransformFlagBits
	CompositeAlpha        CompositeAlphaFlagBits
	PresentMode           PresentMode
	Clipped               Bool32
	OldSwapchain          Swapchain
	// contains filtered or unexported fields
}

SwapchainCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/xhtml/vkspec.html#VkSwapchainCreateInfoKHR

func NewSwapchainCreateInfoRef

func NewSwapchainCreateInfoRef(ref unsafe.Pointer) *SwapchainCreateInfo

NewSwapchainCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*SwapchainCreateInfo) Deref

func (x *SwapchainCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*SwapchainCreateInfo) Free

func (x *SwapchainCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*SwapchainCreateInfo) PassRef

func (x *SwapchainCreateInfo) PassRef() (*C.VkSwapchainCreateInfoKHR, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (SwapchainCreateInfo) PassValue

func (x SwapchainCreateInfo) PassValue() (C.VkSwapchainCreateInfoKHR, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*SwapchainCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type SystemAllocationScope

type SystemAllocationScope int32

SystemAllocationScope as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSystemAllocationScope.html

const (
	SystemAllocationScopeCommand    SystemAllocationScope = iota
	SystemAllocationScopeObject     SystemAllocationScope = 1
	SystemAllocationScopeCache      SystemAllocationScope = 2
	SystemAllocationScopeDevice     SystemAllocationScope = 3
	SystemAllocationScopeInstance   SystemAllocationScope = 4
	SystemAllocationScopeBeginRange SystemAllocationScope = 0
	SystemAllocationScopeEndRange   SystemAllocationScope = 4
	SystemAllocationScopeRangeSize  SystemAllocationScope = 5
	SystemAllocationScopeMaxEnum    SystemAllocationScope = 2147483647
)

SystemAllocationScope enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkSystemAllocationScope.html

type TessellationDomainOrigin

type TessellationDomainOrigin int32

TessellationDomainOrigin as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkTessellationDomainOrigin.html

const (
	TessellationDomainOriginUpperLeft  TessellationDomainOrigin = iota
	TessellationDomainOriginLowerLeft  TessellationDomainOrigin = 1
	TessellationDomainOriginBeginRange TessellationDomainOrigin = 0
	TessellationDomainOriginEndRange   TessellationDomainOrigin = 1
	TessellationDomainOriginRangeSize  TessellationDomainOrigin = 2
	TessellationDomainOriginMaxEnum    TessellationDomainOrigin = 2147483647
)

TessellationDomainOrigin enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkTessellationDomainOrigin.html

type TextureLODGatherFormatPropertiesAMD

type TextureLODGatherFormatPropertiesAMD struct {
	SType                           StructureType
	PNext                           unsafe.Pointer
	SupportsTextureGatherLODBiasAMD Bool32
	// contains filtered or unexported fields
}

TextureLODGatherFormatPropertiesAMD as declared in https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#VkTextureLODGatherFormatPropertiesAMD

func NewTextureLODGatherFormatPropertiesAMDRef

func NewTextureLODGatherFormatPropertiesAMDRef(ref unsafe.Pointer) *TextureLODGatherFormatPropertiesAMD

NewTextureLODGatherFormatPropertiesAMDRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*TextureLODGatherFormatPropertiesAMD) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*TextureLODGatherFormatPropertiesAMD) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*TextureLODGatherFormatPropertiesAMD) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (TextureLODGatherFormatPropertiesAMD) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*TextureLODGatherFormatPropertiesAMD) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type TimeDomain

type TimeDomain int32

TimeDomain as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkTimeDomainEXT.html

const (
	TimeDomainDevice                  TimeDomain = iota
	TimeDomainClockMonotonic          TimeDomain = 1
	TimeDomainClockMonotonicRaw       TimeDomain = 2
	TimeDomainQueryPerformanceCounter TimeDomain = 3
	TimeDomainBeginRange              TimeDomain = 0
	TimeDomainEndRange                TimeDomain = 3
	TimeDomainRangeSize               TimeDomain = 4
	TimeDomainMaxEnum                 TimeDomain = 2147483647
)

TimeDomain enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkTimeDomainEXT.html

type ValidationCacheCreateFlags

type ValidationCacheCreateFlags uint32

ValidationCacheCreateFlags type as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCacheCreateFlagsEXT.html

type ValidationCacheCreateInfo

type ValidationCacheCreateInfo struct {
	SType           StructureType
	PNext           unsafe.Pointer
	Flags           ValidationCacheCreateFlags
	InitialDataSize uint
	PInitialData    unsafe.Pointer
	// contains filtered or unexported fields
}

ValidationCacheCreateInfo as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCacheCreateInfoEXT.html

func NewValidationCacheCreateInfoRef

func NewValidationCacheCreateInfoRef(ref unsafe.Pointer) *ValidationCacheCreateInfo

NewValidationCacheCreateInfoRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ValidationCacheCreateInfo) Deref

func (x *ValidationCacheCreateInfo) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ValidationCacheCreateInfo) Free

func (x *ValidationCacheCreateInfo) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ValidationCacheCreateInfo) PassRef

func (x *ValidationCacheCreateInfo) PassRef() (*C.VkValidationCacheCreateInfoEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ValidationCacheCreateInfo) PassValue

func (x ValidationCacheCreateInfo) PassValue() (C.VkValidationCacheCreateInfoEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ValidationCacheCreateInfo) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ValidationCacheHeaderVersion

type ValidationCacheHeaderVersion int32

ValidationCacheHeaderVersion as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCacheHeaderVersionEXT.html

const (
	ValidationCacheHeaderVersionOne        ValidationCacheHeaderVersion = 1
	ValidationCacheHeaderVersionBeginRange ValidationCacheHeaderVersion = 1
	ValidationCacheHeaderVersionEndRange   ValidationCacheHeaderVersion = 1
	ValidationCacheHeaderVersionRangeSize  ValidationCacheHeaderVersion = 1
	ValidationCacheHeaderVersionMaxEnum    ValidationCacheHeaderVersion = 2147483647
)

ValidationCacheHeaderVersion enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCacheHeaderVersionEXT.html

type ValidationCheck

type ValidationCheck int32

ValidationCheck as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCheckEXT.html

const (
	ValidationCheckAll        ValidationCheck = iota
	ValidationCheckShaders    ValidationCheck = 1
	ValidationCheckBeginRange ValidationCheck = 0
	ValidationCheckEndRange   ValidationCheck = 1
	ValidationCheckRangeSize  ValidationCheck = 2
	ValidationCheckMaxEnum    ValidationCheck = 2147483647
)

ValidationCheck enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationCheckEXT.html

type ValidationFlags

type ValidationFlags struct {
	SType                        StructureType
	PNext                        unsafe.Pointer
	DisabledValidationCheckCount uint32
	PDisabledValidationChecks    []ValidationCheck
	// contains filtered or unexported fields
}

ValidationFlags as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkValidationFlagsEXT.html

func NewValidationFlagsRef

func NewValidationFlagsRef(ref unsafe.Pointer) *ValidationFlags

NewValidationFlagsRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ValidationFlags) Deref

func (x *ValidationFlags) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ValidationFlags) Free

func (x *ValidationFlags) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ValidationFlags) PassRef

func (x *ValidationFlags) PassRef() (*C.VkValidationFlagsEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ValidationFlags) PassValue

func (x ValidationFlags) PassValue() (C.VkValidationFlagsEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ValidationFlags) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type VendorId

type VendorId int32

VendorId as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVendorId.html

const (
	VendorIdViv        VendorId = 65537
	VendorIdVsi        VendorId = 65538
	VendorIdKazan      VendorId = 65539
	VendorIdBeginRange VendorId = 65537
	VendorIdEndRange   VendorId = 65539
	VendorIdRangeSize  VendorId = 3
	VendorIdMaxEnum    VendorId = 2147483647
)

VendorId enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVendorId.html

type Version

type Version uint32

func (Version) Major

func (v Version) Major() int

func (Version) Minor

func (v Version) Minor() int

func (Version) Patch

func (v Version) Patch() int

func (Version) String

func (v Version) String() string

type VertexInputAttributeDescription

type VertexInputAttributeDescription struct {
	Location uint32
	Binding  uint32
	Format   Format
	Offset   uint32
	// contains filtered or unexported fields
}

VertexInputAttributeDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVertexInputAttributeDescription.html

func NewVertexInputAttributeDescriptionRef

func NewVertexInputAttributeDescriptionRef(ref unsafe.Pointer) *VertexInputAttributeDescription

NewVertexInputAttributeDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*VertexInputAttributeDescription) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*VertexInputAttributeDescription) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*VertexInputAttributeDescription) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (VertexInputAttributeDescription) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*VertexInputAttributeDescription) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type VertexInputBindingDescription

type VertexInputBindingDescription struct {
	Binding   uint32
	Stride    uint32
	InputRate VertexInputRate
	// contains filtered or unexported fields
}

VertexInputBindingDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVertexInputBindingDescription.html

func NewVertexInputBindingDescriptionRef

func NewVertexInputBindingDescriptionRef(ref unsafe.Pointer) *VertexInputBindingDescription

NewVertexInputBindingDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*VertexInputBindingDescription) Deref

func (x *VertexInputBindingDescription) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*VertexInputBindingDescription) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*VertexInputBindingDescription) PassRef

func (x *VertexInputBindingDescription) PassRef() (*C.VkVertexInputBindingDescription, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (VertexInputBindingDescription) PassValue

func (x VertexInputBindingDescription) PassValue() (C.VkVertexInputBindingDescription, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*VertexInputBindingDescription) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type VertexInputBindingDivisorDescription

type VertexInputBindingDivisorDescription struct {
	Binding uint32
	Divisor uint32
	// contains filtered or unexported fields
}

VertexInputBindingDivisorDescription as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVertexInputBindingDivisorDescriptionEXT.html

func NewVertexInputBindingDivisorDescriptionRef

func NewVertexInputBindingDivisorDescriptionRef(ref unsafe.Pointer) *VertexInputBindingDivisorDescription

NewVertexInputBindingDivisorDescriptionRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*VertexInputBindingDivisorDescription) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*VertexInputBindingDivisorDescription) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*VertexInputBindingDivisorDescription) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (VertexInputBindingDivisorDescription) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*VertexInputBindingDivisorDescription) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type VertexInputRate

type VertexInputRate int32

VertexInputRate as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVertexInputRate.html

const (
	VertexInputRateVertex     VertexInputRate = iota
	VertexInputRateInstance   VertexInputRate = 1
	VertexInputRateBeginRange VertexInputRate = 0
	VertexInputRateEndRange   VertexInputRate = 1
	VertexInputRateRangeSize  VertexInputRate = 2
	VertexInputRateMaxEnum    VertexInputRate = 2147483647
)

VertexInputRate enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkVertexInputRate.html

type Viewport

type Viewport struct {
	X        float32
	Y        float32
	Width    float32
	Height   float32
	MinDepth float32
	MaxDepth float32
	// contains filtered or unexported fields
}

Viewport as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkViewport.html

func NewViewportRef

func NewViewportRef(ref unsafe.Pointer) *Viewport

NewViewportRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*Viewport) Deref

func (x *Viewport) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*Viewport) Free

func (x *Viewport) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*Viewport) PassRef

func (x *Viewport) PassRef() (*C.VkViewport, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (Viewport) PassValue

func (x Viewport) PassValue() (C.VkViewport, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*Viewport) Ref

func (x *Viewport) Ref() *C.VkViewport

Ref returns the underlying reference to C object or nil if struct is nil.

type ViewportCoordinateSwizzleNV

type ViewportCoordinateSwizzleNV int32

ViewportCoordinateSwizzleNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkViewportCoordinateSwizzleNV.html

const (
	ViewportCoordinateSwizzlePositiveXNv  ViewportCoordinateSwizzleNV = iota
	ViewportCoordinateSwizzleNegativeXNv  ViewportCoordinateSwizzleNV = 1
	ViewportCoordinateSwizzlePositiveYNv  ViewportCoordinateSwizzleNV = 2
	ViewportCoordinateSwizzleNegativeYNv  ViewportCoordinateSwizzleNV = 3
	ViewportCoordinateSwizzlePositiveZNv  ViewportCoordinateSwizzleNV = 4
	ViewportCoordinateSwizzleNegativeZNv  ViewportCoordinateSwizzleNV = 5
	ViewportCoordinateSwizzlePositiveWNv  ViewportCoordinateSwizzleNV = 6
	ViewportCoordinateSwizzleNegativeWNv  ViewportCoordinateSwizzleNV = 7
	ViewportCoordinateSwizzleBeginRangeNv ViewportCoordinateSwizzleNV = 0
	ViewportCoordinateSwizzleEndRangeNv   ViewportCoordinateSwizzleNV = 7
	ViewportCoordinateSwizzleRangeSizeNv  ViewportCoordinateSwizzleNV = 8
	ViewportCoordinateSwizzleMaxEnumNv    ViewportCoordinateSwizzleNV = 2147483647
)

ViewportCoordinateSwizzleNV enumeration from https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkViewportCoordinateSwizzleNV.html

type ViewportSwizzleNV

type ViewportSwizzleNV struct {
	X ViewportCoordinateSwizzleNV
	Y ViewportCoordinateSwizzleNV
	Z ViewportCoordinateSwizzleNV
	W ViewportCoordinateSwizzleNV
	// contains filtered or unexported fields
}

ViewportSwizzleNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkViewportSwizzleNV.html

func NewViewportSwizzleNVRef

func NewViewportSwizzleNVRef(ref unsafe.Pointer) *ViewportSwizzleNV

NewViewportSwizzleNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ViewportSwizzleNV) Deref

func (x *ViewportSwizzleNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ViewportSwizzleNV) Free

func (x *ViewportSwizzleNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ViewportSwizzleNV) PassRef

func (x *ViewportSwizzleNV) PassRef() (*C.VkViewportSwizzleNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ViewportSwizzleNV) PassValue

func (x ViewportSwizzleNV) PassValue() (C.VkViewportSwizzleNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ViewportSwizzleNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type ViewportWScalingNV

type ViewportWScalingNV struct {
	Xcoeff float32
	Ycoeff float32
	// contains filtered or unexported fields
}

ViewportWScalingNV as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkViewportWScalingNV.html

func NewViewportWScalingNVRef

func NewViewportWScalingNVRef(ref unsafe.Pointer) *ViewportWScalingNV

NewViewportWScalingNVRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*ViewportWScalingNV) Deref

func (x *ViewportWScalingNV) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*ViewportWScalingNV) Free

func (x *ViewportWScalingNV) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*ViewportWScalingNV) PassRef

func (x *ViewportWScalingNV) PassRef() (*C.VkViewportWScalingNV, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (ViewportWScalingNV) PassValue

func (x ViewportWScalingNV) PassValue() (C.VkViewportWScalingNV, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*ViewportWScalingNV) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type WriteDescriptorSet

type WriteDescriptorSet struct {
	SType            StructureType
	PNext            unsafe.Pointer
	DstSet           DescriptorSet
	DstBinding       uint32
	DstArrayElement  uint32
	DescriptorCount  uint32
	DescriptorType   DescriptorType
	PImageInfo       []DescriptorImageInfo
	PBufferInfo      []DescriptorBufferInfo
	PTexelBufferView []BufferView
	// contains filtered or unexported fields
}

WriteDescriptorSet as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkWriteDescriptorSet.html

func NewWriteDescriptorSetRef

func NewWriteDescriptorSetRef(ref unsafe.Pointer) *WriteDescriptorSet

NewWriteDescriptorSetRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*WriteDescriptorSet) Deref

func (x *WriteDescriptorSet) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*WriteDescriptorSet) Free

func (x *WriteDescriptorSet) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*WriteDescriptorSet) PassRef

func (x *WriteDescriptorSet) PassRef() (*C.VkWriteDescriptorSet, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (WriteDescriptorSet) PassValue

func (x WriteDescriptorSet) PassValue() (C.VkWriteDescriptorSet, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*WriteDescriptorSet) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type WriteDescriptorSetInlineUniformBlock

type WriteDescriptorSetInlineUniformBlock struct {
	SType    StructureType
	PNext    unsafe.Pointer
	DataSize uint32
	PData    unsafe.Pointer
	// contains filtered or unexported fields
}

WriteDescriptorSetInlineUniformBlock as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkWriteDescriptorSetInlineUniformBlockEXT.html

func NewWriteDescriptorSetInlineUniformBlockRef

func NewWriteDescriptorSetInlineUniformBlockRef(ref unsafe.Pointer) *WriteDescriptorSetInlineUniformBlock

NewWriteDescriptorSetInlineUniformBlockRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*WriteDescriptorSetInlineUniformBlock) Deref

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*WriteDescriptorSetInlineUniformBlock) Free

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*WriteDescriptorSetInlineUniformBlock) PassRef

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (WriteDescriptorSetInlineUniformBlock) PassValue

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*WriteDescriptorSetInlineUniformBlock) Ref

Ref returns the underlying reference to C object or nil if struct is nil.

type XYColor

type XYColor struct {
	X float32
	Y float32
	// contains filtered or unexported fields
}

XYColor as declared in https://www.khronos.org/registry/vulkan/specs/1.0/man/html/VkXYColorEXT.html

func NewXYColorRef

func NewXYColorRef(ref unsafe.Pointer) *XYColor

NewXYColorRef creates a new wrapper struct with underlying reference set to the original C object. Returns nil if the provided pointer to C object is nil too.

func (*XYColor) Deref

func (x *XYColor) Deref()

Deref uses the underlying reference to C object and fills the wrapping struct with values. Do not forget to call this method whether you get a struct for C object and want to read its values.

func (*XYColor) Free

func (x *XYColor) Free()

Free invokes alloc map's free mechanism that cleanups any allocated memory using C free. Does nothing if struct is nil or has no allocation map.

func (*XYColor) PassRef

func (x *XYColor) PassRef() (*C.VkXYColorEXT, *cgoAllocMap)

PassRef returns the underlying C object, otherwise it will allocate one and set its values from this wrapping struct, counting allocations into an allocation map.

func (XYColor) PassValue

func (x XYColor) PassValue() (C.VkXYColorEXT, *cgoAllocMap)

PassValue does the same as PassRef except that it will try to dereference the returned pointer.

func (*XYColor) Ref

func (x *XYColor) Ref() *C.VkXYColorEXT

Ref returns the underlying reference to C object or nil if struct is nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL