core1_0

package
v0.0.0-...-d75f8dc Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 10 Imported by: 53

Documentation

Index

Constants

View Source
const (
	BeginInfoOneTimeSubmit      common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT
	BeginInfoRenderPassContinue common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT
	BeginInfoSimultaneousUse    common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT

	QueryPrecise common.QueryControlFlags = C.VK_QUERY_CONTROL_PRECISE_BIT

	QueryStatisticInputAssemblyVertices                   common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT
	QueryStatisticInputAssemblyPrimitives                 common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT
	QueryStatisticVertexShaderInvocations                 common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT
	QueryStatisticGeometryShaderInvocations               common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT
	QueryStatisticGeometryShaderPrimitives                common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT
	QueryStatisticClippingInvocations                     common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT
	QueryStatisticClippingPrimitives                      common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT
	QueryStatisticFragmentShaderInvocations               common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT
	QueryStatisticTessellationControlShaderPatches        common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT
	QueryStatisticTessellationEvaluationShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
	QueryStatisticComputeShaderInvocations                common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT
)
View Source
const (
	SubpassContentsInline                  common.SubpassContents = C.VK_SUBPASS_CONTENTS_INLINE
	SubpassContentsSecondaryCommandBuffers common.SubpassContents = C.VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS
)
View Source
const (
	DataFormatUndefined                    common.DataFormat = C.VK_FORMAT_UNDEFINED
	DataFormatR4G4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R4G4_UNORM_PACK8

	DataFormatR4G4B4A4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R4G4B4A4_UNORM_PACK16
	DataFormatB4G4R4A4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_B4G4R4A4_UNORM_PACK16
	DataFormatR5G6B5UnsignedNormalizedPacked   common.DataFormat = C.VK_FORMAT_R5G6B5_UNORM_PACK16
	DataFormatB5G6R5UnsignedNormalizedPacked   common.DataFormat = C.VK_FORMAT_B5G6R5_UNORM_PACK16
	DataFormatR5G5B5A1UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R5G5B5A1_UNORM_PACK16
	DataFormatB5G5R5A1UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_B5G5R5A1_UNORM_PACK16
	DataFormatA1R5G5B5UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A1R5G5B5_UNORM_PACK16

	DataFormatR8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8_UNORM
	DataFormatR8SignedNormalized   common.DataFormat = C.VK_FORMAT_R8_SNORM
	DataFormatR8UnsignedScaled     common.DataFormat = C.VK_FORMAT_R8_USCALED
	DataFormatR8SignedScaled       common.DataFormat = C.VK_FORMAT_R8_SSCALED
	DataFormatR8UnsignedInt        common.DataFormat = C.VK_FORMAT_R8_UINT
	DataFormatR8SignedInt          common.DataFormat = C.VK_FORMAT_R8_SINT
	DataFormatR8SRGB               common.DataFormat = C.VK_FORMAT_R8_SRGB

	DataFormatR8G8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8_UNORM
	DataFormatR8G8SignedNormalized   common.DataFormat = C.VK_FORMAT_R8G8_SNORM
	DataFormatR8G8UnsignedScaled     common.DataFormat = C.VK_FORMAT_R8G8_USCALED
	DataFormatR8G8SignedScaled       common.DataFormat = C.VK_FORMAT_R8G8_SSCALED
	DataFormatR8G8UnsignedInt        common.DataFormat = C.VK_FORMAT_R8G8_UINT
	DataFormatR8G8SignedInt          common.DataFormat = C.VK_FORMAT_R8G8_SINT
	DataFormatR8G8SRGB               common.DataFormat = C.VK_FORMAT_R8G8_SRGB

	DataFormatR8G8B8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8_UNORM
	DataFormatR8G8B8SignedNormalized   common.DataFormat = C.VK_FORMAT_R8G8B8_SNORM
	DataFormatR8G8B8UnsignedScaled     common.DataFormat = C.VK_FORMAT_R8G8B8_USCALED
	DataFormatR8G8B8SignedScaled       common.DataFormat = C.VK_FORMAT_R8G8B8_SSCALED
	DataFormatR8G8B8UnsignedInt        common.DataFormat = C.VK_FORMAT_R8G8B8_UINT
	DataFormatR8G8B8SignedInt          common.DataFormat = C.VK_FORMAT_R8G8B8_SINT
	DataFormatR8G8B8SRGB               common.DataFormat = C.VK_FORMAT_R8G8B8_SRGB

	DataFormatB8G8R8UnsignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8_UNORM
	DataFormatB8G8R8SignedNormalized   common.DataFormat = C.VK_FORMAT_B8G8R8_SNORM
	DataFormatB8G8R8UnsignedScaled     common.DataFormat = C.VK_FORMAT_B8G8R8_USCALED
	DataFormatB8G8R8SignedScaled       common.DataFormat = C.VK_FORMAT_B8G8R8_SSCALED
	DataFormatB8G8R8UnsignedInt        common.DataFormat = C.VK_FORMAT_B8G8R8_UINT
	DataFormatB8G8R8SignedInt          common.DataFormat = C.VK_FORMAT_B8G8R8_SINT
	DataFormatB8G8R8SRGB               common.DataFormat = C.VK_FORMAT_B8G8R8_SRGB

	DataFormatR8G8B8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8A8_UNORM
	DataFormatR8G8B8A8SignedNormalized   common.DataFormat = C.VK_FORMAT_R8G8B8A8_SNORM
	DataFormatR8G8B8A8UnsignedScaled     common.DataFormat = C.VK_FORMAT_R8G8B8A8_USCALED
	DataFormatR8G8B8A8SignedScaled       common.DataFormat = C.VK_FORMAT_R8G8B8A8_SSCALED
	DataFormatR8G8B8A8UnsignedInt        common.DataFormat = C.VK_FORMAT_R8G8B8A8_UINT
	DataFormatR8G8B8A8SignedInt          common.DataFormat = C.VK_FORMAT_R8G8B8A8_SINT
	DataFormatR8G8B8A8SRGB               common.DataFormat = C.VK_FORMAT_R8G8B8A8_SRGB

	DataFormatB8G8R8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8A8_UNORM
	DataFormatB8G8R8A8SignedNormalized   common.DataFormat = C.VK_FORMAT_B8G8R8A8_SNORM
	DataFormatB8G8R8A8UnsignedScaled     common.DataFormat = C.VK_FORMAT_B8G8R8A8_USCALED
	DataFormatB8G8R8A8SignedScaled       common.DataFormat = C.VK_FORMAT_B8G8R8A8_SSCALED
	DataFormatB8G8R8A8UnsignedInt        common.DataFormat = C.VK_FORMAT_B8G8R8A8_UINT
	DataFormatB8G8R8A8SignedInt          common.DataFormat = C.VK_FORMAT_B8G8R8A8_SINT
	DataFormatB8G8R8A8SRGB               common.DataFormat = C.VK_FORMAT_B8G8R8A8_SRGB

	DataFormatA8B8G8R8UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_UNORM_PACK32
	DataFormatA8B8G8R8SignedNormalizedPacked   common.DataFormat = C.VK_FORMAT_A8B8G8R8_SNORM_PACK32
	DataFormatA8B8G8R8UnsignedScaledPacked     common.DataFormat = C.VK_FORMAT_A8B8G8R8_USCALED_PACK32
	DataFormatA8B8G8R8SignedScaledPacked       common.DataFormat = C.VK_FORMAT_A8B8G8R8_SSCALED_PACK32
	DataFormatA8B8G8R8UnsignedIntPacked        common.DataFormat = C.VK_FORMAT_A8B8G8R8_UINT_PACK32
	DataFormatA8B8G8R8SignedIntPacked          common.DataFormat = C.VK_FORMAT_A8B8G8R8_SINT_PACK32
	DataFormatA8B8G8R8SRGBPacked               common.DataFormat = C.VK_FORMAT_A8B8G8R8_SRGB_PACK32

	DataFormatA2R10G10B10UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_UNORM_PACK32
	DataFormatA2R10G10B10SignedNormalizedPacked   common.DataFormat = C.VK_FORMAT_A2R10G10B10_SNORM_PACK32
	DataFormatA2R10G10B10UnsignedScaledPacked     common.DataFormat = C.VK_FORMAT_A2R10G10B10_USCALED_PACK32
	DataFormatA2R10G10B10SignedScaledPacked       common.DataFormat = C.VK_FORMAT_A2R10G10B10_SSCALED_PACK32
	DataFormatA2R10G10B10UnsignedIntPacked        common.DataFormat = C.VK_FORMAT_A2R10G10B10_UINT_PACK32
	DataFormatA2R10G10B10SignedIntPacked          common.DataFormat = C.VK_FORMAT_A2R10G10B10_SINT_PACK32

	DataFormatA2B10G10R10UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_UNORM_PACK32
	DataFormatA2B10G10R10SignedNormalizedPacked   common.DataFormat = C.VK_FORMAT_A2B10G10R10_SNORM_PACK32
	DataFormatA2B10G10R10UnsignedScaledPacked     common.DataFormat = C.VK_FORMAT_A2B10G10R10_USCALED_PACK32
	DataFormatA2B10G10R10SignedScaledPacked       common.DataFormat = C.VK_FORMAT_A2B10G10R10_SSCALED_PACK32
	DataFormatA2B10G10R10UnsignedIntPacked        common.DataFormat = C.VK_FORMAT_A2B10G10R10_UINT_PACK32
	DataFormatA2B10G10R10SignedIntPacked          common.DataFormat = C.VK_FORMAT_A2B10G10R10_SINT_PACK32

	DataFormatR16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16_UNORM
	DataFormatR16SignedNormalized   common.DataFormat = C.VK_FORMAT_R16_SNORM
	DataFormatR16UnsignedScaled     common.DataFormat = C.VK_FORMAT_R16_USCALED
	DataFormatR16SignedScaled       common.DataFormat = C.VK_FORMAT_R16_SSCALED
	DataFormatR16UnsignedInt        common.DataFormat = C.VK_FORMAT_R16_UINT
	DataFormatR16SignedInt          common.DataFormat = C.VK_FORMAT_R16_SINT
	DataFormatR16SignedFloat        common.DataFormat = C.VK_FORMAT_R16_SFLOAT

	DataFormatR16G16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16_UNORM
	DataFormatR16G16SignedNormalized   common.DataFormat = C.VK_FORMAT_R16G16_SNORM
	DataFormatR16G16UnsignedScaled     common.DataFormat = C.VK_FORMAT_R16G16_USCALED
	DataFormatR16G16SignedScaled       common.DataFormat = C.VK_FORMAT_R16G16_SSCALED
	DataFormatR16G16UnsignedInt        common.DataFormat = C.VK_FORMAT_R16G16_UINT
	DataFormatR16G16SignedInt          common.DataFormat = C.VK_FORMAT_R16G16_SINT
	DataFormatR16G16SignedFloat        common.DataFormat = C.VK_FORMAT_R16G16_SFLOAT

	DataFormatR16G16B16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16_UNORM
	DataFormatR16G16B16SignedNormalized   common.DataFormat = C.VK_FORMAT_R16G16B16_SNORM
	DataFormatR16G16B16UnsignedScaled     common.DataFormat = C.VK_FORMAT_R16G16B16_USCALED
	DataFormatR16G16B16SignedScaled       common.DataFormat = C.VK_FORMAT_R16G16B16_SSCALED
	DataFormatR16G16B16UnsignedInt        common.DataFormat = C.VK_FORMAT_R16G16B16_UINT
	DataFormatR16G16B16SignedInt          common.DataFormat = C.VK_FORMAT_R16G16B16_SINT
	DataFormatR16G16B16SignedFloat        common.DataFormat = C.VK_FORMAT_R16G16B16_SFLOAT

	DataFormatR16G16B16A16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16A16_UNORM
	DataFormatR16G16B16A16SignedNormalized   common.DataFormat = C.VK_FORMAT_R16G16B16A16_SNORM
	DataFormatR16G16B16A16UnsignedScaled     common.DataFormat = C.VK_FORMAT_R16G16B16A16_USCALED
	DataFormatR16G16B16A16SignedScaled       common.DataFormat = C.VK_FORMAT_R16G16B16A16_SSCALED
	DataFormatR16G16B16A16UnsignedInt        common.DataFormat = C.VK_FORMAT_R16G16B16A16_UINT
	DataFormatR16G16B16A16SignedInt          common.DataFormat = C.VK_FORMAT_R16G16B16A16_SINT
	DataFormatR16G16B16A16SignedFloat        common.DataFormat = C.VK_FORMAT_R16G16B16A16_SFLOAT

	DataFormatR32UnsignedInt          common.DataFormat = C.VK_FORMAT_R32_UINT
	DataFormatR32SignedInt            common.DataFormat = C.VK_FORMAT_R32_SINT
	DataFormatR32SignedFloat          common.DataFormat = C.VK_FORMAT_R32_SFLOAT
	DataFormatR32G32UnsignedInt       common.DataFormat = C.VK_FORMAT_R32G32_UINT
	DataFormatR32G32SignedInt         common.DataFormat = C.VK_FORMAT_R32G32_SINT
	DataFormatR32G32SignedFloat       common.DataFormat = C.VK_FORMAT_R32G32_SFLOAT
	DataFormatR32G32B32UnsignedInt    common.DataFormat = C.VK_FORMAT_R32G32B32_UINT
	DataFormatR32G32B32SignedInt      common.DataFormat = C.VK_FORMAT_R32G32B32_SINT
	DataFormatR32G32B32SignedFloat    common.DataFormat = C.VK_FORMAT_R32G32B32_SFLOAT
	DataFormatR32G32B32A32UnsignedInt common.DataFormat = C.VK_FORMAT_R32G32B32A32_UINT
	DataFormatR32G32B32A32SignedInt   common.DataFormat = C.VK_FORMAT_R32G32B32A32_SINT
	DataFormatR32G32B32A32SignedFloat common.DataFormat = C.VK_FORMAT_R32G32B32A32_SFLOAT

	DataFormatR64UnsignedInt          common.DataFormat = C.VK_FORMAT_R64_UINT
	DataFormatR64SignedInt            common.DataFormat = C.VK_FORMAT_R64_SINT
	DataFormatR64SignedFloat          common.DataFormat = C.VK_FORMAT_R64_SFLOAT
	DataFormatR64G64UnsignedInt       common.DataFormat = C.VK_FORMAT_R64G64_UINT
	DataFormatR64G64SignedInt         common.DataFormat = C.VK_FORMAT_R64G64_SINT
	DataFormatR64G64SignedFloat       common.DataFormat = C.VK_FORMAT_R64G64_SFLOAT
	DataFormatR64G64B64UnsignedInt    common.DataFormat = C.VK_FORMAT_R64G64B64_UINT
	DataFormatR64G64B64SignedInt      common.DataFormat = C.VK_FORMAT_R64G64B64_SINT
	DataFormatR64G64B64SignedFloat    common.DataFormat = C.VK_FORMAT_R64G64B64_SFLOAT
	DataFormatR64G64B64A64UnsignedInt common.DataFormat = C.VK_FORMAT_R64G64B64A64_UINT
	DataFormatR64G64B64A64SignedInt   common.DataFormat = C.VK_FORMAT_R64G64B64A64_SINT
	DataFormatR64G64B64A64SignedFloat common.DataFormat = C.VK_FORMAT_R64G64B64A64_SFLOAT

	DataFormatB10G11R11UnsignedFloatPacked  common.DataFormat = C.VK_FORMAT_B10G11R11_UFLOAT_PACK32
	DataFormatE5B9G9R9UnsignedFloatPacked   common.DataFormat = C.VK_FORMAT_E5B9G9R9_UFLOAT_PACK32
	DataFormatD16UnsignedNormalized         common.DataFormat = C.VK_FORMAT_D16_UNORM
	DataFormatD24X8UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_X8_D24_UNORM_PACK32
	DataFormatD32SignedFloat                common.DataFormat = C.VK_FORMAT_D32_SFLOAT
	DataFormatS8UnsignedInt                 common.DataFormat = C.VK_FORMAT_S8_UINT

	DataFormatD16UnsignedNormalizedS8UnsignedInt common.DataFormat = C.VK_FORMAT_D16_UNORM_S8_UINT
	DataFormatD24UnsignedNormalizedS8UnsignedInt common.DataFormat = C.VK_FORMAT_D24_UNORM_S8_UINT
	DataFormatD32SignedFloatS8UnsignedInt        common.DataFormat = C.VK_FORMAT_D32_SFLOAT_S8_UINT

	DataFormatBC1_RGBUnsignedNormalized  common.DataFormat = C.VK_FORMAT_BC1_RGB_UNORM_BLOCK
	DataFormatBC1_RGBsRGB                common.DataFormat = C.VK_FORMAT_BC1_RGB_SRGB_BLOCK
	DataFormatBC1_RGBAUnsignedNormalized common.DataFormat = C.VK_FORMAT_BC1_RGBA_UNORM_BLOCK
	DataFormatBC1_RGBAsRGB               common.DataFormat = C.VK_FORMAT_BC1_RGBA_SRGB_BLOCK

	DataFormatBC2_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC2_UNORM_BLOCK
	DataFormatBC2_sRGB               common.DataFormat = C.VK_FORMAT_BC2_SRGB_BLOCK

	DataFormatBC3_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC3_UNORM_BLOCK
	DataFormatBC3_sRGB               common.DataFormat = C.VK_FORMAT_BC3_SRGB_BLOCK

	DataFormatBC4_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC4_UNORM_BLOCK
	DataFormatBC4_SignedNormalized   common.DataFormat = C.VK_FORMAT_BC4_SNORM_BLOCK

	DataFormatBC5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC5_UNORM_BLOCK
	DataFormatBC5_SignedNormalized   common.DataFormat = C.VK_FORMAT_BC5_SNORM_BLOCK

	DataFormatBC6_UnsignedFloat common.DataFormat = C.VK_FORMAT_BC6H_UFLOAT_BLOCK
	DataFormatBC6_SignedFloat   common.DataFormat = C.VK_FORMAT_BC6H_SFLOAT_BLOCK

	DataFormatBC7_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC7_UNORM_BLOCK
	DataFormatBC7_sRGB               common.DataFormat = C.VK_FORMAT_BC7_SRGB_BLOCK

	DataFormatETC2_R8G8B8UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK
	DataFormatETC2_R8G8B8sRGB                 common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK
	DataFormatETC2_R8G8B8A1UnsignedNormalized common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK
	DataFormatETC2_R8G8B8A1sRGB               common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK
	DataFormatETC2_R8G8B8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK
	DataFormatETC2_R8G8B8A8sRGB               common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK

	DataFormatEAC_R11UnsignedNormalized    common.DataFormat = C.VK_FORMAT_EAC_R11_UNORM_BLOCK
	DataFormatEAC_R11SignedNormalized      common.DataFormat = C.VK_FORMAT_EAC_R11_SNORM_BLOCK
	DataFormatEAC_R11G11UnsignedNormalized common.DataFormat = C.VK_FORMAT_EAC_R11G11_UNORM_BLOCK
	DataFormatEAC_R11G11SignedNormalized   common.DataFormat = C.VK_FORMAT_EAC_R11G11_SNORM_BLOCK

	DataFormatASTC4x4_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_4x4_UNORM_BLOCK
	DataFormatASTC4x4_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_4x4_SRGB_BLOCK
	DataFormatASTC5x4_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_5x4_UNORM_BLOCK
	DataFormatASTC5x4_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_5x4_SRGB_BLOCK
	DataFormatASTC5x5_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_5x5_UNORM_BLOCK
	DataFormatASTC5x5_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_5x5_SRGB_BLOCK
	DataFormatASTC6x5_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_6x5_UNORM_BLOCK
	DataFormatASTC6x5_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_6x5_SRGB_BLOCK
	DataFormatASTC6x6_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_6x6_UNORM_BLOCK
	DataFormatASTC6x6_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_6x6_SRGB_BLOCK
	DataFormatASTC8x5_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_8x5_UNORM_BLOCK
	DataFormatASTC8x5_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_8x5_SRGB_BLOCK
	DataFormatASTC8x6_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_8x6_UNORM_BLOCK
	DataFormatASTC8x6_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_8x6_SRGB_BLOCK
	DataFormatASTC8x8_UnsignedNormalized   common.DataFormat = C.VK_FORMAT_ASTC_8x8_UNORM_BLOCK
	DataFormatASTC8x8_sRGB                 common.DataFormat = C.VK_FORMAT_ASTC_8x8_SRGB_BLOCK
	DataFormatASTC10x5_UnsignedNormalized  common.DataFormat = C.VK_FORMAT_ASTC_10x5_UNORM_BLOCK
	DataFormatASTC10x5_sRGB                common.DataFormat = C.VK_FORMAT_ASTC_10x5_SRGB_BLOCK
	DataFormatASTC10x6_UnsignedNormalized  common.DataFormat = C.VK_FORMAT_ASTC_10x6_UNORM_BLOCK
	DataFormatASTC10x6_sRGB                common.DataFormat = C.VK_FORMAT_ASTC_10x6_SRGB_BLOCK
	DataFormatASTC10x8_UnsignedNormalized  common.DataFormat = C.VK_FORMAT_ASTC_10x8_UNORM_BLOCK
	DataFormatASTC10x8_sRGB                common.DataFormat = C.VK_FORMAT_ASTC_10x8_SRGB_BLOCK
	DataFormatASTC10x10_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_10x10_UNORM_BLOCK
	DataFormatASTC10x10_sRGB               common.DataFormat = C.VK_FORMAT_ASTC_10x10_SRGB_BLOCK
	DataFormatASTC12x10_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_12x10_UNORM_BLOCK
	DataFormatASTC12x10_sRGB               common.DataFormat = C.VK_FORMAT_ASTC_12x10_SRGB_BLOCK
	DataFormatASTC12x12_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_12x12_UNORM_BLOCK
	DataFormatASTC12x12_sRGB               common.DataFormat = C.VK_FORMAT_ASTC_12x12_SRGB_BLOCK
)
View Source
const (
	ImageCreateSparseBinding   common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_BINDING_BIT
	ImageCreateSparseResidency common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
	ImageCreateSparseAliased   common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_ALIASED_BIT
	ImageCreateMutableFormat   common.ImageCreateFlags = C.VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT
	ImageCreateCubeCompatible  common.ImageCreateFlags = C.VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT

	ImageLayoutUndefined                     common.ImageLayout = C.VK_IMAGE_LAYOUT_UNDEFINED
	ImageLayoutGeneral                       common.ImageLayout = C.VK_IMAGE_LAYOUT_GENERAL
	ImageLayoutColorAttachmentOptimal        common.ImageLayout = C.VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL
	ImageLayoutDepthStencilAttachmentOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL
	ImageLayoutDepthStencilReadOnlyOptimal   common.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL
	ImageLayoutShaderReadOnlyOptimal         common.ImageLayout = C.VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL
	ImageLayoutTransferSrcOptimal            common.ImageLayout = C.VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL
	ImageLayoutTransferDstOptimal            common.ImageLayout = C.VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL
	ImageLayoutPreInitialized                common.ImageLayout = C.VK_IMAGE_LAYOUT_PREINITIALIZED

	ImageTilingOptimal common.ImageTiling = C.VK_IMAGE_TILING_OPTIMAL
	ImageTilingLinear  common.ImageTiling = C.VK_IMAGE_TILING_LINEAR

	ImageType1D common.ImageType = C.VK_IMAGE_TYPE_1D
	ImageType2D common.ImageType = C.VK_IMAGE_TYPE_2D
	ImageType3D common.ImageType = C.VK_IMAGE_TYPE_3D

	ImageUsageTransferSrc            common.ImageUsages = C.VK_IMAGE_USAGE_TRANSFER_SRC_BIT
	ImageUsageTransferDst            common.ImageUsages = C.VK_IMAGE_USAGE_TRANSFER_DST_BIT
	ImageUsageSampled                common.ImageUsages = C.VK_IMAGE_USAGE_SAMPLED_BIT
	ImageUsageStorage                common.ImageUsages = C.VK_IMAGE_USAGE_STORAGE_BIT
	ImageUsageColorAttachment        common.ImageUsages = C.VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
	ImageUsageDepthStencilAttachment common.ImageUsages = C.VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
	ImageUsageTransientAttachment    common.ImageUsages = C.VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT
	ImageUsageInputAttachment        common.ImageUsages = C.VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT

	Samples1  common.SampleCounts = C.VK_SAMPLE_COUNT_1_BIT
	Samples2  common.SampleCounts = C.VK_SAMPLE_COUNT_2_BIT
	Samples4  common.SampleCounts = C.VK_SAMPLE_COUNT_4_BIT
	Samples8  common.SampleCounts = C.VK_SAMPLE_COUNT_8_BIT
	Samples16 common.SampleCounts = C.VK_SAMPLE_COUNT_16_BIT
	Samples32 common.SampleCounts = C.VK_SAMPLE_COUNT_32_BIT
	Samples64 common.SampleCounts = C.VK_SAMPLE_COUNT_64_BIT
)
View Source
const (
	PipelineStatisticInputAssemblyVertices                   common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT
	PipelineStatisticInputAssemblyPrimitives                 common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT
	PipelineStatisticVertexShaderInvocations                 common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT
	PipelineStatisticGeometryShaderInvocations               common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT
	PipelineStatisticGeometryShaderPrimitives                common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT
	PipelineStatisticClippingInvocations                     common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT
	PipelineStatisticClippingPrimitives                      common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT
	PipelineStatisticFragmentShaderInvocations               common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT
	PipelineStatisticTessellationControlShaderPatches        common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT
	PipelineStatisticTessellationEvaluationShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT
	PipelineStatisticComputeShaderInvocations                common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT

	QueryTypeOcclusion          common.QueryType = C.VK_QUERY_TYPE_OCCLUSION
	QueryTypePipelineStatistics common.QueryType = C.VK_QUERY_TYPE_PIPELINE_STATISTICS
	QueryTypeTimestamp          common.QueryType = C.VK_QUERY_TYPE_TIMESTAMP

	QueryResult64Bit            common.QueryResultFlags = C.VK_QUERY_RESULT_64_BIT
	QueryResultWait             common.QueryResultFlags = C.VK_QUERY_RESULT_WAIT_BIT
	QueryResultWithAvailability common.QueryResultFlags = C.VK_QUERY_RESULT_WITH_AVAILABILITY_BIT
	QueryResultPartial          common.QueryResultFlags = C.VK_QUERY_RESULT_PARTIAL_BIT
)
View Source
const (
	PipelineStageTopOfPipe                    common.PipelineStages = C.VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT
	PipelineStageDrawIndirect                 common.PipelineStages = C.VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT
	PipelineStageVertexInput                  common.PipelineStages = C.VK_PIPELINE_STAGE_VERTEX_INPUT_BIT
	PipelineStageVertexShader                 common.PipelineStages = C.VK_PIPELINE_STAGE_VERTEX_SHADER_BIT
	PipelineStageTessellationControlShader    common.PipelineStages = C.VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT
	PipelineStageTessellationEvaluationShader common.PipelineStages = C.VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT
	PipelineStageGeometryShader               common.PipelineStages = C.VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT
	PipelineStageFragmentShader               common.PipelineStages = C.VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT
	PipelineStageEarlyFragmentTests           common.PipelineStages = C.VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT
	PipelineStageLateFragmentTests            common.PipelineStages = C.VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT
	PipelineStageColorAttachmentOutput        common.PipelineStages = C.VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT
	PipelineStageComputeShader                common.PipelineStages = C.VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
	PipelineStageTransfer                     common.PipelineStages = C.VK_PIPELINE_STAGE_TRANSFER_BIT
	PipelineStageBottomOfPipe                 common.PipelineStages = C.VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT
	PipelineStageHost                         common.PipelineStages = C.VK_PIPELINE_STAGE_HOST_BIT
	PipelineStageAllGraphics                  common.PipelineStages = C.VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT
	PipelineStageAllCommands                  common.PipelineStages = C.VK_PIPELINE_STAGE_ALL_COMMANDS_BIT
)
View Source
const (
	BorderColorFloatTransparentBlack common.BorderColor = C.VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK
	BorderColorIntTransparentBlack   common.BorderColor = C.VK_BORDER_COLOR_INT_TRANSPARENT_BLACK
	BorderColorFloatOpaqueBlack      common.BorderColor = C.VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK
	BorderColorIntOpaqueBlack        common.BorderColor = C.VK_BORDER_COLOR_INT_OPAQUE_BLACK
	BorderColorFloatOpaqueWhite      common.BorderColor = C.VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE
	BorderColorIntOpaqueWhite        common.BorderColor = C.VK_BORDER_COLOR_INT_OPAQUE_WHITE

	CompareNever          common.CompareOp = C.VK_COMPARE_OP_NEVER
	CompareLess           common.CompareOp = C.VK_COMPARE_OP_LESS
	CompareEqual          common.CompareOp = C.VK_COMPARE_OP_EQUAL
	CompareLessOrEqual    common.CompareOp = C.VK_COMPARE_OP_LESS_OR_EQUAL
	CompareGreater        common.CompareOp = C.VK_COMPARE_OP_GREATER
	CompareNotEqual       common.CompareOp = C.VK_COMPARE_OP_NOT_EQUAL
	CompareGreaterOrEqual common.CompareOp = C.VK_COMPARE_OP_GREATER_OR_EQUAL
	CompareAlways         common.CompareOp = C.VK_COMPARE_OP_ALWAYS

	FilterNearest common.Filter = C.VK_FILTER_NEAREST
	FilterLinear  common.Filter = C.VK_FILTER_LINEAR

	MipmapNearest common.MipmapMode = C.VK_SAMPLER_MIPMAP_MODE_NEAREST
	MipmapLinear  common.MipmapMode = C.VK_SAMPLER_MIPMAP_MODE_LINEAR

	SamplerAddressModeRepeat         common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_REPEAT
	SamplerAddressModeMirroredRepeat common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT
	SamplerAddressModeClampToEdge    common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE
	SamplerAddressModeClampToBorder  common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER
)
View Source
const (
	BlendZero                  common.BlendFactor = C.VK_BLEND_FACTOR_ZERO
	BlendOne                   common.BlendFactor = C.VK_BLEND_FACTOR_ONE
	BlendSrcColor              common.BlendFactor = C.VK_BLEND_FACTOR_SRC_COLOR
	BlendOneMinusSrcColor      common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR
	BlendDstColor              common.BlendFactor = C.VK_BLEND_FACTOR_DST_COLOR
	BlendOneMinusDstColor      common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR
	BlendSrcAlpha              common.BlendFactor = C.VK_BLEND_FACTOR_SRC_ALPHA
	BlendOneMinusSrcAlpha      common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
	BlendDstAlpha              common.BlendFactor = C.VK_BLEND_FACTOR_DST_ALPHA
	BlendOneMinusDstAlpha      common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA
	BlendConstantColor         common.BlendFactor = C.VK_BLEND_FACTOR_CONSTANT_COLOR
	BlendOneMinusConstantColor common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR
	BlendConstantAlpha         common.BlendFactor = C.VK_BLEND_FACTOR_CONSTANT_ALPHA
	BlendOneMinusConstantAlpha common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
	BlendSrcAlphaSaturate      common.BlendFactor = C.VK_BLEND_FACTOR_SRC_ALPHA_SATURATE
	BlendSrc1Color             common.BlendFactor = C.VK_BLEND_FACTOR_SRC1_COLOR
	BlendOneMinusSrc1Color     common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR
	BlendSrc1Alpha             common.BlendFactor = C.VK_BLEND_FACTOR_SRC1_ALPHA
	BlendOneMinusSrc1Alpha     common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA

	BlendOpAdd      common.BlendOp = C.VK_BLEND_OP_ADD
	BlendOpSubtract common.BlendOp = C.VK_BLEND_OP_SUBTRACT
	BlendOpMin      common.BlendOp = C.VK_BLEND_OP_MIN
	BlendOpMax      common.BlendOp = C.VK_BLEND_OP_MAX

	LogicOpClear        common.LogicOp = C.VK_LOGIC_OP_CLEAR
	LogicOpAnd          common.LogicOp = C.VK_LOGIC_OP_AND
	LogicOpAndReverse   common.LogicOp = C.VK_LOGIC_OP_AND_REVERSE
	LogicOpCopy         common.LogicOp = C.VK_LOGIC_OP_COPY
	LogicOpAndInverted  common.LogicOp = C.VK_LOGIC_OP_AND_INVERTED
	LogicOpNoop         common.LogicOp = C.VK_LOGIC_OP_NO_OP
	LogicOpXor          common.LogicOp = C.VK_LOGIC_OP_XOR
	LogicOpOr           common.LogicOp = C.VK_LOGIC_OP_OR
	LogicOpNor          common.LogicOp = C.VK_LOGIC_OP_NOR
	LogicOpEquivalent   common.LogicOp = C.VK_LOGIC_OP_EQUIVALENT
	LogicOpInvert       common.LogicOp = C.VK_LOGIC_OP_INVERT
	LogicOpOrReverse    common.LogicOp = C.VK_LOGIC_OP_OR_REVERSE
	LogicOpCopyInverted common.LogicOp = C.VK_LOGIC_OP_COPY_INVERTED
	LogicOpOrInverted   common.LogicOp = C.VK_LOGIC_OP_OR_INVERTED
	LogicOpNand         common.LogicOp = C.VK_LOGIC_OP_NAND
	LogicOpSet          common.LogicOp = C.VK_LOGIC_OP_SET
)
View Source
const (
	VKSuccess                   common.VkResult = C.VK_SUCCESS
	VKNotReady                  common.VkResult = C.VK_NOT_READY
	VKTimeout                   common.VkResult = C.VK_TIMEOUT
	VKEventSet                  common.VkResult = C.VK_EVENT_SET
	VKEventReset                common.VkResult = C.VK_EVENT_RESET
	VKIncomplete                common.VkResult = C.VK_INCOMPLETE
	VKErrorOutOfHostMemory      common.VkResult = C.VK_ERROR_OUT_OF_HOST_MEMORY
	VKErrorOutOfDeviceMemory    common.VkResult = C.VK_ERROR_OUT_OF_DEVICE_MEMORY
	VKErrorInitializationFailed common.VkResult = C.VK_ERROR_INITIALIZATION_FAILED
	VKErrorDeviceLost           common.VkResult = C.VK_ERROR_DEVICE_LOST
	VKErrorMemoryMapFailed      common.VkResult = C.VK_ERROR_MEMORY_MAP_FAILED
	VKErrorLayerNotPresent      common.VkResult = C.VK_ERROR_LAYER_NOT_PRESENT
	VKErrorExtensionNotPresent  common.VkResult = C.VK_ERROR_EXTENSION_NOT_PRESENT
	VKErrorFeatureNotPresent    common.VkResult = C.VK_ERROR_FEATURE_NOT_PRESENT
	VKErrorIncompatibleDriver   common.VkResult = C.VK_ERROR_INCOMPATIBLE_DRIVER
	VKErrorTooManyObjects       common.VkResult = C.VK_ERROR_TOO_MANY_OBJECTS
	VKErrorFormatNotSupported   common.VkResult = C.VK_ERROR_FORMAT_NOT_SUPPORTED
	VKErrorFragmentedPool       common.VkResult = C.VK_ERROR_FRAGMENTED_POOL
	VKErrorUnknown              common.VkResult = C.VK_ERROR_UNKNOWN
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentDescription

type AttachmentDescription struct {
	Flags   common.AttachmentDescriptionFlags
	Format  common.DataFormat
	Samples common.SampleCounts

	LoadOp         common.AttachmentLoadOp
	StoreOp        common.AttachmentStoreOp
	StencilLoadOp  common.AttachmentLoadOp
	StencilStoreOp common.AttachmentStoreOp

	InitialLayout common.ImageLayout
	FinalLayout   common.ImageLayout
}

type BeginOptions

type BeginOptions struct {
	Flags           common.BeginInfoFlags
	InheritanceInfo *InheritanceOptions

	common.HaveNext
}

func (BeginOptions) PopulateCPointer

func (o BeginOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (BeginOptions) PopulateOutData

func (o BeginOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type BindSparseOptions

type BindSparseOptions struct {
	WaitSemaphores   []Semaphore
	SignalSemaphores []Semaphore

	BufferBinds      []SparseBufferMemoryBindInfo
	ImageOpaqueBinds []SparseImageOpaqueMemoryBindInfo
	ImageBinds       []SparseImageMemoryBindInfo

	common.HaveNext
}

func (BindSparseOptions) PopulateCPointer

func (b BindSparseOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (BindSparseOptions) PopulateOutData

func (o BindSparseOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Buffer

type Buffer interface {
	Handle() driver.VkBuffer
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	MemoryRequirements() *MemoryRequirements
	BindBufferMemory(memory DeviceMemory, offset int) (common.VkResult, error)
}

type BufferCopy

type BufferCopy struct {
	SrcOffset int
	DstOffset int
	Size      int
}

func (BufferCopy) PopulateCPointer

func (c BufferCopy) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type BufferCreateOptions

type BufferCreateOptions struct {
	Flags              common.BufferCreateFlags
	BufferSize         int
	Usage              common.BufferUsages
	SharingMode        common.SharingMode
	QueueFamilyIndices []int

	common.HaveNext
}

func (BufferCreateOptions) PopulateCPointer

func (o BufferCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (BufferCreateOptions) PopulateOutData

func (o BufferCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type BufferImageCopy

type BufferImageCopy struct {
	BufferOffset      int
	BufferRowLength   int
	BufferImageHeight int

	ImageSubresource common.ImageSubresourceLayers
	ImageOffset      common.Offset3D
	ImageExtent      common.Extent3D
}

func (BufferImageCopy) PopulateCPointer

func (c BufferImageCopy) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type BufferMemoryBarrierOptions

type BufferMemoryBarrierOptions struct {
	SrcAccessMask common.AccessFlags
	DstAccessMask common.AccessFlags

	SrcQueueFamilyIndex int
	DstQueueFamilyIndex int

	Buffer Buffer

	Offset int
	Size   int

	common.HaveNext
}

func (BufferMemoryBarrierOptions) PopulateCPointer

func (o BufferMemoryBarrierOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (BufferMemoryBarrierOptions) PopulateOutData

func (o BufferMemoryBarrierOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type BufferView

type BufferView interface {
	Handle() driver.VkBufferView
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type BufferViewCreateOptions

type BufferViewCreateOptions struct {
	Buffer Buffer
	Format common.DataFormat
	Offset int
	Range  int

	common.HaveNext
}

func (BufferViewCreateOptions) PopulateCPointer

func (o BufferViewCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (BufferViewCreateOptions) PopulateOutData

func (o BufferViewCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ClearAttachment

type ClearAttachment struct {
	AspectMask      common.ImageAspectFlags
	ColorAttachment int
	ClearValue      common.ClearValue
}

func (ClearAttachment) PopulateCPointer

func (c ClearAttachment) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type ClearRect

type ClearRect struct {
	Rect           common.Rect2D
	BaseArrayLayer int
	LayerCount     int
}

func (ClearRect) PopulateCPointer

func (r ClearRect) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type ColorBlendAttachment

type ColorBlendAttachment struct {
	BlendEnabled bool

	SrcColor     common.BlendFactor
	DstColor     common.BlendFactor
	ColorBlendOp common.BlendOp

	SrcAlpha     common.BlendFactor
	DstAlpha     common.BlendFactor
	AlphaBlendOp common.BlendOp

	WriteMask common.ColorComponents
}

type ColorBlendStateOptions

type ColorBlendStateOptions struct {
	LogicOpEnabled bool
	LogicOp        common.LogicOp

	BlendConstants [4]float32
	Attachments    []ColorBlendAttachment

	common.HaveNext
}

func (ColorBlendStateOptions) PopulateCPointer

func (o ColorBlendStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ColorBlendStateOptions) PopulateOutData

func (o ColorBlendStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type CommandBuffer

type CommandBuffer interface {
	Handle() driver.VkCommandBuffer
	Driver() driver.Driver
	DeviceHandle() driver.VkDevice
	CommandPoolHandle() driver.VkCommandPool
	APIVersion() common.APIVersion

	Free()
	Begin(o BeginOptions) (common.VkResult, error)
	End() (common.VkResult, error)
	Reset(flags common.CommandBufferResetFlags) (common.VkResult, error)
	CommandsRecorded() int
	DrawsRecorded() int
	DispatchesRecorded() int

	CmdBeginRenderPass(contents common.SubpassContents, o RenderPassBeginOptions) error
	CmdEndRenderPass()
	CmdBindPipeline(bindPoint common.PipelineBindPoint, pipeline Pipeline)
	CmdDraw(vertexCount, instanceCount int, firstVertex, firstInstance uint32)
	CmdDrawIndexed(indexCount, instanceCount int, firstIndex uint32, vertexOffset int, firstInstance uint32)
	CmdBindVertexBuffers(buffers []Buffer, bufferOffsets []int)
	CmdBindIndexBuffer(buffer Buffer, offset int, indexType common.IndexType)
	CmdCopyBuffer(srcBuffer Buffer, dstBuffer Buffer, copyRegions []BufferCopy) error
	CmdBindDescriptorSets(bindPoint common.PipelineBindPoint, layout PipelineLayout, sets []DescriptorSet, dynamicOffsets []int)
	CmdPipelineBarrier(srcStageMask, dstStageMask common.PipelineStages, dependencies common.DependencyFlags, memoryBarriers []MemoryBarrierOptions, bufferMemoryBarriers []BufferMemoryBarrierOptions, imageMemoryBarriers []ImageMemoryBarrierOptions) error
	CmdCopyBufferToImage(buffer Buffer, image Image, layout common.ImageLayout, regions []BufferImageCopy) error
	CmdBlitImage(sourceImage Image, sourceImageLayout common.ImageLayout, destinationImage Image, destinationImageLayout common.ImageLayout, regions []ImageBlit, filter common.Filter) error
	CmdPushConstants(layout PipelineLayout, stageFlags common.ShaderStages, offset int, valueBytes []byte)
	CmdSetViewport(viewports []common.Viewport)
	CmdSetScissor(scissors []common.Rect2D)
	CmdCopyImage(srcImage Image, srcImageLayout common.ImageLayout, dstImage Image, dstImageLayout common.ImageLayout, regions []ImageCopy) error
	CmdNextSubpass(contents common.SubpassContents)
	CmdWaitEvents(events []Event, srcStageMask common.PipelineStages, dstStageMask common.PipelineStages, memoryBarriers []MemoryBarrierOptions, bufferMemoryBarriers []BufferMemoryBarrierOptions, imageMemoryBarriers []ImageMemoryBarrierOptions) error
	CmdSetEvent(event Event, stageMask common.PipelineStages)
	CmdClearColorImage(image Image, imageLayout common.ImageLayout, color common.ClearColorValue, ranges []common.ImageSubresourceRange)
	CmdResetQueryPool(queryPool QueryPool, startQuery, queryCount int)
	CmdBeginQuery(queryPool QueryPool, query int, flags common.QueryControlFlags)
	CmdEndQuery(queryPool QueryPool, query int)
	CmdCopyQueryPoolResults(queryPool QueryPool, firstQuery, queryCount int, dstBuffer Buffer, dstOffset, stride int, flags common.QueryResultFlags)
	CmdExecuteCommands(commandBuffers []CommandBuffer)
	CmdClearAttachments(attachments []ClearAttachment, rects []ClearRect) error
	CmdClearDepthStencilImage(image Image, imageLayout common.ImageLayout, depthStencil *common.ClearValueDepthStencil, ranges []common.ImageSubresourceRange)
	CmdCopyImageToBuffer(srcImage Image, srcImageLayout common.ImageLayout, dstBuffer Buffer, regions []BufferImageCopy) error
	CmdDispatch(groupCountX, groupCountY, groupCountZ int)
	CmdDispatchIndirect(buffer Buffer, offset int)
	CmdDrawIndexedIndirect(buffer Buffer, offset int, drawCount, stride int)
	CmdDrawIndirect(buffer Buffer, offset int, drawCount, stride int)
	CmdFillBuffer(dstBuffer Buffer, dstOffset int, size int, data uint32)
	CmdResetEvent(event Event, stageMask common.PipelineStages)
	CmdResolveImage(srcImage Image, srcImageLayout common.ImageLayout, dstImage Image, dstImageLayout common.ImageLayout, regions []ImageResolve) error
	CmdSetBlendConstants(blendConstants [4]float32)
	CmdSetDepthBias(depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor float32)
	CmdSetDepthBounds(min, max float32)
	CmdSetLineWidth(lineWidth float32)
	CmdSetStencilCompareMask(faceMask common.StencilFaces, compareMask uint32)
	CmdSetStencilReference(faceMask common.StencilFaces, reference uint32)
	CmdSetStencilWriteMask(faceMask common.StencilFaces, writeMask uint32)
	CmdUpdateBuffer(dstBuffer Buffer, dstOffset int, dataSize int, data []byte)
	CmdWriteTimestamp(pipelineStage common.PipelineStages, queryPool QueryPool, query int)
}

type CommandBufferAllocateOptions

type CommandBufferAllocateOptions struct {
	Level       common.CommandBufferLevel
	BufferCount int
	CommandPool CommandPool

	common.HaveNext
}

func (CommandBufferAllocateOptions) PopulateCPointer

func (o CommandBufferAllocateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (CommandBufferAllocateOptions) PopulateOutData

func (o CommandBufferAllocateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type CommandPool

type CommandPool interface {
	Handle() driver.VkCommandPool
	DeviceHandle() driver.VkDevice
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	Reset(flags common.CommandPoolResetFlags) (common.VkResult, error)
}

type CommandPoolCreateOptions

type CommandPoolCreateOptions struct {
	GraphicsQueueFamily *int
	Flags               common.CommandPoolCreateFlags

	common.HaveNext
}

func (CommandPoolCreateOptions) PopulateCPointer

func (o CommandPoolCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (CommandPoolCreateOptions) PopulateOutData

func (o CommandPoolCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ComputePipelineCreateOptions

type ComputePipelineCreateOptions struct {
	Flags  common.PipelineCreateFlags
	Shader ShaderStageOptions
	Layout PipelineLayout

	BasePipeline      Pipeline
	BasePipelineIndex int

	common.HaveNext
}

func (ComputePipelineCreateOptions) PopulateCPointer

func (o ComputePipelineCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ComputePipelineCreateOptions) PopulateOutData

func (o ComputePipelineCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type CopyDescriptorSetOptions

type CopyDescriptorSetOptions struct {
	Source             DescriptorSet
	SourceBinding      int
	SourceArrayElement int

	Destination             DescriptorSet
	DestinationBinding      int
	DestinationArrayElement int

	Count int

	common.HaveNext
}

func (CopyDescriptorSetOptions) PopulateCPointer

func (o CopyDescriptorSetOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (CopyDescriptorSetOptions) PopulateOutData

func (o CopyDescriptorSetOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DepthStencilStateOptions

type DepthStencilStateOptions struct {
	DepthTestEnable  bool
	DepthWriteEnable bool
	DepthCompareOp   common.CompareOp

	DepthBoundsTestEnable bool
	StencilTestEnable     bool

	FrontStencilState StencilOpState
	BackStencilState  StencilOpState

	MinDepthBounds float32
	MaxDepthBounds float32

	common.HaveNext
}

func (DepthStencilStateOptions) PopulateCPointer

func (o DepthStencilStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DepthStencilStateOptions) PopulateOutData

func (o DepthStencilStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DescriptorBufferInfo

type DescriptorBufferInfo struct {
	Buffer Buffer
	Offset int
	Range  int
}

type DescriptorImageInfo

type DescriptorImageInfo struct {
	Sampler     Sampler
	ImageView   ImageView
	ImageLayout common.ImageLayout
}

type DescriptorLayoutBinding

type DescriptorLayoutBinding struct {
	Binding         int
	DescriptorType  common.DescriptorType
	DescriptorCount int
	StageFlags      common.ShaderStages

	ImmutableSamplers []Sampler
}

type DescriptorPool

type DescriptorPool interface {
	Handle() driver.VkDescriptorPool
	DeviceHandle() driver.VkDevice
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	Reset(flags common.DescriptorPoolResetFlags) (common.VkResult, error)
}

type DescriptorPoolCreateOptions

type DescriptorPoolCreateOptions struct {
	Flags common.DescriptorPoolCreateFlags

	MaxSets   int
	PoolSizes []PoolSize

	common.HaveNext
}

func (DescriptorPoolCreateOptions) PopulateCPointer

func (o DescriptorPoolCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DescriptorPoolCreateOptions) PopulateOutData

func (o DescriptorPoolCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DescriptorSet

type DescriptorSet interface {
	Handle() driver.VkDescriptorSet
	DescriptorPoolHandle() driver.VkDescriptorPool
	DeviceHandle() driver.VkDevice
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Free() (common.VkResult, error)
}

type DescriptorSetAllocateOptions

type DescriptorSetAllocateOptions struct {
	DescriptorPool DescriptorPool

	AllocationLayouts []DescriptorSetLayout

	common.HaveNext
}

func (DescriptorSetAllocateOptions) PopulateCPointer

func (o DescriptorSetAllocateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DescriptorSetAllocateOptions) PopulateOutData

func (o DescriptorSetAllocateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DescriptorSetLayout

type DescriptorSetLayout interface {
	Handle() driver.VkDescriptorSetLayout
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type DescriptorSetLayoutCreateOptions

type DescriptorSetLayoutCreateOptions struct {
	Flags    common.DescriptorSetLayoutCreateFlags
	Bindings []DescriptorLayoutBinding

	common.HaveNext
}

func (DescriptorSetLayoutCreateOptions) PopulateCPointer

func (o DescriptorSetLayoutCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DescriptorSetLayoutCreateOptions) PopulateOutData

func (o DescriptorSetLayoutCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Device

type Device interface {
	Handle() driver.VkDevice
	Driver() driver.Driver
	APIVersion() common.APIVersion

	IsDeviceExtensionActive(extensionName string) bool

	CreateBuffer(allocationCallbacks *driver.AllocationCallbacks, o BufferCreateOptions) (Buffer, common.VkResult, error)
	CreateBufferView(allocationCallbacks *driver.AllocationCallbacks, o BufferViewCreateOptions) (BufferView, common.VkResult, error)
	CreateCommandPool(allocationCallbacks *driver.AllocationCallbacks, o CommandPoolCreateOptions) (CommandPool, common.VkResult, error)
	CreateDescriptorPool(allocationCallbacks *driver.AllocationCallbacks, o DescriptorPoolCreateOptions) (DescriptorPool, common.VkResult, error)
	CreateDescriptorSetLayout(allocationCallbacks *driver.AllocationCallbacks, o DescriptorSetLayoutCreateOptions) (DescriptorSetLayout, common.VkResult, error)
	CreateEvent(allocationCallbacks *driver.AllocationCallbacks, options EventCreateOptions) (Event, common.VkResult, error)
	CreateFence(allocationCallbacks *driver.AllocationCallbacks, o FenceCreateOptions) (Fence, common.VkResult, error)
	CreateFramebuffer(allocationCallbacks *driver.AllocationCallbacks, o FramebufferCreateOptions) (Framebuffer, common.VkResult, error)
	CreateGraphicsPipelines(pipelineCache PipelineCache, allocationCallbacks *driver.AllocationCallbacks, o []GraphicsPipelineCreateOptions) ([]Pipeline, common.VkResult, error)
	CreateComputePipelines(pipelineCache PipelineCache, allocationCallbacks *driver.AllocationCallbacks, o []ComputePipelineCreateOptions) ([]Pipeline, common.VkResult, error)
	CreateImage(allocationCallbacks *driver.AllocationCallbacks, options ImageCreateOptions) (Image, common.VkResult, error)
	CreateImageView(allocationCallbacks *driver.AllocationCallbacks, o ImageViewCreateOptions) (ImageView, common.VkResult, error)
	CreatePipelineCache(allocationCallbacks *driver.AllocationCallbacks, o PipelineCacheCreateOptions) (PipelineCache, common.VkResult, error)
	CreatePipelineLayout(allocationCallbacks *driver.AllocationCallbacks, o PipelineLayoutCreateOptions) (PipelineLayout, common.VkResult, error)
	CreateQueryPool(allocationCallbacks *driver.AllocationCallbacks, o QueryPoolCreateOptions) (QueryPool, common.VkResult, error)
	CreateRenderPass(allocationCallbacks *driver.AllocationCallbacks, o RenderPassCreateOptions) (RenderPass, common.VkResult, error)
	CreateSampler(allocationCallbacks *driver.AllocationCallbacks, o SamplerCreateOptions) (Sampler, common.VkResult, error)
	CreateSemaphore(allocationCallbacks *driver.AllocationCallbacks, o SemaphoreCreateOptions) (Semaphore, common.VkResult, error)
	CreateShaderModule(allocationCallbacks *driver.AllocationCallbacks, o ShaderModuleCreateOptions) (ShaderModule, common.VkResult, error)

	GetQueue(queueFamilyIndex int, queueIndex int) Queue
	AllocateMemory(allocationCallbacks *driver.AllocationCallbacks, o MemoryAllocateOptions) (DeviceMemory, common.VkResult, error)
	FreeMemory(deviceMemory DeviceMemory, allocationCallbacks *driver.AllocationCallbacks)

	AllocateCommandBuffers(o CommandBufferAllocateOptions) ([]CommandBuffer, common.VkResult, error)
	FreeCommandBuffers(buffers []CommandBuffer)
	AllocateDescriptorSets(o DescriptorSetAllocateOptions) ([]DescriptorSet, common.VkResult, error)
	FreeDescriptorSets(sets []DescriptorSet) (common.VkResult, error)

	Destroy(callbacks *driver.AllocationCallbacks)
	WaitForIdle() (common.VkResult, error)
	WaitForFences(waitForAll bool, timeout time.Duration, fences []Fence) (common.VkResult, error)
	ResetFences(fences []Fence) (common.VkResult, error)
	UpdateDescriptorSets(writes []WriteDescriptorSetOptions, copies []CopyDescriptorSetOptions) error
	FlushMappedMemoryRanges(ranges []MappedMemoryRangeOptions) (common.VkResult, error)
	InvalidateMappedMemoryRanges(ranges []MappedMemoryRangeOptions) (common.VkResult, error)
}

type DeviceCreateOptions

type DeviceCreateOptions struct {
	QueueFamilies   []DeviceQueueCreateOptions
	EnabledFeatures *PhysicalDeviceFeatures
	ExtensionNames  []string
	LayerNames      []string

	common.HaveNext
}

func (DeviceCreateOptions) PopulateCPointer

func (o DeviceCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DeviceCreateOptions) PopulateOutData

func (o DeviceCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DeviceMemory

type DeviceMemory interface {
	Handle() driver.VkDeviceMemory
	DeviceHandle() driver.VkDevice
	Driver() driver.Driver
	APIVersion() common.APIVersion

	MapMemory(offset int, size int, flags MemoryMapFlags) (unsafe.Pointer, common.VkResult, error)
	UnmapMemory()
	Free(callbacks *driver.AllocationCallbacks)
	Commitment() int
	FlushAll() (common.VkResult, error)
	InvalidateAll() (common.VkResult, error)
}

type DeviceQueueCreateOptions

type DeviceQueueCreateOptions struct {
	Flags                  common.DeviceQueueCreateFlags
	QueueFamilyIndex       int
	CreatedQueuePriorities []float32

	common.HaveNext
}

func (DeviceQueueCreateOptions) PopulateCPointer

func (o DeviceQueueCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DeviceQueueCreateOptions) PopulateOutData

func (o DeviceQueueCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type DynamicStateOptions

type DynamicStateOptions struct {
	DynamicStates []common.DynamicState

	common.HaveNext
}

func (DynamicStateOptions) PopulateCPointer

func (o DynamicStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (DynamicStateOptions) PopulateOutData

func (o DynamicStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Event

type Event interface {
	Handle() driver.VkEvent
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	Set() (common.VkResult, error)
	Reset() (common.VkResult, error)
	Status() (common.VkResult, error)
}

type EventCreateOptions

type EventCreateOptions struct {
	Flags common.EventCreateFlags

	common.HaveNext
}

func (EventCreateOptions) PopulateCPointer

func (o EventCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (EventCreateOptions) PopulateOutData

func (o EventCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Fence

type Fence interface {
	Handle() driver.VkFence
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	Wait(timeout time.Duration) (common.VkResult, error)
	Reset() (common.VkResult, error)
	Status() (common.VkResult, error)
}

type FenceCreateOptions

type FenceCreateOptions struct {
	Flags common.FenceCreateFlags

	common.HaveNext
}

func (FenceCreateOptions) PopulateCPointer

func (o FenceCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (FenceCreateOptions) PopulateOutData

func (o FenceCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type FormatProperties

type FormatProperties struct {
	LinearTilingFeatures  common.FormatFeatures
	OptimalTilingFeatures common.FormatFeatures
	BufferFeatures        common.FormatFeatures
}

type Framebuffer

type Framebuffer interface {
	Handle() driver.VkFramebuffer
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type FramebufferCreateOptions

type FramebufferCreateOptions struct {
	Attachments []ImageView
	Flags       common.FramebufferCreateFlags

	Width  int
	Height int
	Layers uint32

	RenderPass RenderPass

	common.HaveNext
}

func (FramebufferCreateOptions) PopulateCPointer

func (o FramebufferCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (FramebufferCreateOptions) PopulateOutData

func (o FramebufferCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type GraphicsPipelineCreateOptions

type GraphicsPipelineCreateOptions struct {
	Flags common.PipelineCreateFlags

	ShaderStages  []ShaderStageOptions
	VertexInput   *VertexInputStateOptions
	InputAssembly *InputAssemblyStateOptions
	Tessellation  *TessellationStateOptions
	Viewport      *ViewportStateOptions
	Rasterization *RasterizationStateOptions
	Multisample   *MultisampleStateOptions
	DepthStencil  *DepthStencilStateOptions
	ColorBlend    *ColorBlendStateOptions
	DynamicState  *DynamicStateOptions

	Layout     PipelineLayout
	RenderPass RenderPass

	SubPass           int
	BasePipeline      Pipeline
	BasePipelineIndex int

	common.HaveNext
}

func (GraphicsPipelineCreateOptions) PopulateCPointer

func (o GraphicsPipelineCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (GraphicsPipelineCreateOptions) PopulateOutData

func (o GraphicsPipelineCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Image

type Image interface {
	Handle() driver.VkImage
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	MemoryRequirements() *MemoryRequirements
	BindImageMemory(memory DeviceMemory, offset int) (common.VkResult, error)
	SubresourceLayout(subresource *common.ImageSubresource) *common.SubresourceLayout
	SparseMemoryRequirements() []SparseImageMemoryRequirements
}

type ImageBlit

type ImageBlit struct {
	SourceSubresource common.ImageSubresourceLayers
	SourceOffsets     [2]common.Offset3D

	DestinationSubresource common.ImageSubresourceLayers
	DestinationOffsets     [2]common.Offset3D
}

func (ImageBlit) PopulateCPointer

func (b ImageBlit) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type ImageCopy

type ImageCopy struct {
	SrcSubresource common.ImageSubresourceLayers
	SrcOffset      common.Offset3D
	DstSubresource common.ImageSubresourceLayers
	DstOffset      common.Offset3D
	Extent         common.Extent3D
}

func (ImageCopy) PopulateCPointer

func (c ImageCopy) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type ImageCreateOptions

type ImageCreateOptions struct {
	Flags     common.ImageCreateFlags
	ImageType common.ImageType
	Format    common.DataFormat
	Extent    common.Extent3D

	MipLevels   int
	ArrayLayers int

	Samples     common.SampleCounts
	Tiling      common.ImageTiling
	Usage       common.ImageUsages
	SharingMode common.SharingMode

	QueueFamilies []uint32

	InitialLayout common.ImageLayout

	common.HaveNext
}

func (ImageCreateOptions) PopulateCPointer

func (o ImageCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ImageCreateOptions) PopulateOutData

func (o ImageCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ImageFormatProperties

type ImageFormatProperties struct {
	MaxExtent       common.Extent3D
	MaxMipLevels    int
	MaxArrayLayers  int
	SampleCounts    common.SampleCounts
	MaxResourceSize int
}

type ImageMemoryBarrierOptions

type ImageMemoryBarrierOptions struct {
	SrcAccessMask common.AccessFlags
	DstAccessMask common.AccessFlags

	OldLayout common.ImageLayout
	NewLayout common.ImageLayout

	SrcQueueFamilyIndex int
	DstQueueFamilyIndex int

	Image            Image
	SubresourceRange common.ImageSubresourceRange

	common.HaveNext
}

func (ImageMemoryBarrierOptions) PopulateCPointer

func (o ImageMemoryBarrierOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ImageMemoryBarrierOptions) PopulateOutData

func (o ImageMemoryBarrierOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ImageResolve

type ImageResolve struct {
	SrcSubresource common.ImageSubresourceLayers
	SrcOffset      common.Offset3D
	DstSubresource common.ImageSubresourceLayers
	DstOffset      common.Offset3D
	Extent         common.Extent3D
}

func (ImageResolve) PopulateCPointer

func (r ImageResolve) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type ImageView

type ImageView interface {
	Handle() driver.VkImageView
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type ImageViewCreateOptions

type ImageViewCreateOptions struct {
	Image Image

	Flags            common.ImageViewCreateFlags
	ViewType         common.ImageViewType
	Format           common.DataFormat
	Components       ComponentMapping
	SubresourceRange common.ImageSubresourceRange

	common.HaveNext
}

func (ImageViewCreateOptions) PopulateCPointer

func (o ImageViewCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ImageViewCreateOptions) PopulateOutData

func (o ImageViewCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type InheritanceOptions

type InheritanceOptions struct {
	Framebuffer Framebuffer
	RenderPass  RenderPass
	SubPass     int

	OcclusionQueryEnable bool
	QueryFlags           common.QueryControlFlags
	PipelineStatistics   common.QueryPipelineStatisticFlags

	common.HaveNext
}

func (InheritanceOptions) PopulateCPointer

func (o InheritanceOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (InheritanceOptions) PopulateOutData

func (o InheritanceOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type InputAssemblyStateOptions

type InputAssemblyStateOptions struct {
	Topology               common.PrimitiveTopology
	EnablePrimitiveRestart bool

	common.HaveNext
}

func (InputAssemblyStateOptions) PopulateCPointer

func (o InputAssemblyStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (InputAssemblyStateOptions) PopulateOutData

func (o InputAssemblyStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Instance

type Instance interface {
	Handle() driver.VkInstance
	Driver() driver.Driver
	APIVersion() common.APIVersion

	IsInstanceExtensionActive(extensionName string) bool
	PhysicalDevices() ([]PhysicalDevice, common.VkResult, error)

	Destroy(callbacks *driver.AllocationCallbacks)
}

type InstanceCreateOptions

type InstanceCreateOptions struct {
	ApplicationName    string
	ApplicationVersion common.Version
	EngineName         string
	EngineVersion      common.Version
	VulkanVersion      common.APIVersion

	ExtensionNames []string
	LayerNames     []string

	common.HaveNext
}

func (InstanceCreateOptions) PopulateCPointer

func (o InstanceCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (InstanceCreateOptions) PopulateOutData

func (o InstanceCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type MappedMemoryRangeOptions

type MappedMemoryRangeOptions struct {
	Memory DeviceMemory
	Offset int
	Size   int

	common.HaveNext
}

func (MappedMemoryRangeOptions) PopulateCPointer

func (r MappedMemoryRangeOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (MappedMemoryRangeOptions) PopulateOutData

func (r MappedMemoryRangeOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type MemoryAllocateOptions

type MemoryAllocateOptions struct {
	AllocationSize  int
	MemoryTypeIndex int

	common.HaveNext
}

func (MemoryAllocateOptions) PopulateCPointer

func (o MemoryAllocateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (MemoryAllocateOptions) PopulateOutData

func (o MemoryAllocateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type MemoryBarrierOptions

type MemoryBarrierOptions struct {
	SrcAccessMask common.AccessFlags
	DstAccessMask common.AccessFlags

	common.HaveNext
}

func (MemoryBarrierOptions) PopulateCPointer

func (o MemoryBarrierOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (MemoryBarrierOptions) PopulateOutData

func (o MemoryBarrierOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type MemoryMapFlags

type MemoryMapFlags int32

func (MemoryMapFlags) String

func (f MemoryMapFlags) String() string

type MemoryRequirements

type MemoryRequirements struct {
	Size       int
	Alignment  int
	MemoryType uint32
}

type MultisampleStateOptions

type MultisampleStateOptions struct {
	RasterizationSamples common.SampleCounts

	SampleShading    bool
	MinSampleShading float32
	SampleMask       []uint32

	AlphaToCoverage bool
	AlphaToOne      bool

	common.HaveNext
}

func (MultisampleStateOptions) PopulateCPointer

func (o MultisampleStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (MultisampleStateOptions) PopulateOutData

func (o MultisampleStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type PhysicalDevice

type PhysicalDevice interface {
	Handle() driver.VkPhysicalDevice
	Driver() driver.Driver
	InstanceAPIVersion() common.APIVersion
	DeviceAPIVersion() common.APIVersion

	CreateDevice(allocationCallbacks *driver.AllocationCallbacks, options DeviceCreateOptions) (Device, common.VkResult, error)

	QueueFamilyProperties() []*QueueFamily
	Properties() (*PhysicalDeviceProperties, error)
	Features() *PhysicalDeviceFeatures
	AvailableExtensions() (map[string]*common.ExtensionProperties, common.VkResult, error)
	AvailableExtensionsForLayer(layerName string) (map[string]*common.ExtensionProperties, common.VkResult, error)
	AvailableLayers() (map[string]*common.LayerProperties, common.VkResult, error)
	MemoryProperties() *PhysicalDeviceMemoryProperties
	FormatProperties(format common.DataFormat) *FormatProperties
	ImageFormatProperties(format common.DataFormat, imageType common.ImageType, tiling common.ImageTiling, usages common.ImageUsages, flags common.ImageCreateFlags) (*ImageFormatProperties, common.VkResult, error)
	SparseImageFormatProperties(format common.DataFormat, imageType common.ImageType, samples common.SampleCounts, usages common.ImageUsages, tiling common.ImageTiling) []SparseImageFormatProperties
}

type PhysicalDeviceFeatures

type PhysicalDeviceFeatures struct {
	RobustBufferAccess                      bool
	FullDrawIndexUint32                     bool
	ImageCubeArray                          bool
	IndependentBlend                        bool
	GeometryShader                          bool
	TessellationShader                      bool
	SampleRateShading                       bool
	DualSrcBlend                            bool
	LogicOp                                 bool
	MultiDrawIndirect                       bool
	DrawIndirectFirstInstance               bool
	DepthClamp                              bool
	DepthBiasClamp                          bool
	FillModeNonSolid                        bool
	DepthBounds                             bool
	WideLines                               bool
	LargePoints                             bool
	AlphaToOne                              bool
	MultiViewport                           bool
	SamplerAnisotropy                       bool
	TextureCompressionEtc2                  bool
	TextureCompressionAstcLdc               bool
	TextureCompressionBc                    bool
	OcclusionQueryPrecise                   bool
	PipelineStatisticsQuery                 bool
	VertexPipelineStoresAndAtomics          bool
	FragmentStoresAndAtomics                bool
	ShaderTessellationAndGeometryPointSize  bool
	ShaderImageGatherExtended               bool
	ShaderStorageImageExtendedFormats       bool
	ShaderStorageImageMultisample           bool
	ShaderStorageImageReadWithoutFormat     bool
	ShaderStorageImageWriteWithoutFormat    bool
	ShaderUniformBufferArrayDynamicIndexing bool
	ShaderSampledImageArrayDynamicIndexing  bool
	ShaderStorageBufferArrayDynamicIndexing bool
	ShaderStorageImageArrayDynamicIndexing  bool
	ShaderClipDistance                      bool
	ShaderCullDistance                      bool
	ShaderFloat64                           bool
	ShaderInt64                             bool
	ShaderInt16                             bool
	ShaderResourceResidency                 bool
	ShaderResourceMinLod                    bool
	SparseBinding                           bool
	SparseResidencyBuffer                   bool
	SparseResidencyImage2D                  bool
	SparseResidencyImage3D                  bool
	SparseResidency2Samples                 bool
	SparseResidency4Samples                 bool
	SparseResidency8Samples                 bool
	SparseResidency16Samples                bool
	SparseResidencyAliased                  bool
	VariableMultisampleRate                 bool
	InheritedQueries                        bool
}

func (*PhysicalDeviceFeatures) PopulateCPointer

func (p *PhysicalDeviceFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

func (*PhysicalDeviceFeatures) PopulateFromCPointer

func (p *PhysicalDeviceFeatures) PopulateFromCPointer(cPointer unsafe.Pointer)

type PhysicalDeviceLimits

type PhysicalDeviceLimits struct {
	MaxImageDimension1D    int
	MaxImageDimension2D    int
	MaxImageDimension3D    int
	MaxImageDimensionCube  int
	MaxImageArrayLayers    int
	MaxTexelBufferElements int

	MaxUniformBufferRange int
	MaxStorageBufferRange int
	MaxPushConstantsSize  int

	MaxMemoryAllocationCount  int
	MaxSamplerAllocationCount int

	BufferImageGranularity int
	SparseAddressSpaceSize int

	MaxBoundDescriptorSets                int
	MaxPerStageDescriptorSamplers         int
	MaxPerStageDescriptorUniformBuffers   int
	MaxPerStageDescriptorStorageBuffers   int
	MaxPerStageDescriptorSampledImages    int
	MaxPerStageDescriptorStorageImages    int
	MaxPerStageDescriptorInputAttachments int
	MaxPerStageResources                  int

	MaxDescriptorSetSamplers              int
	MaxDescriptorSetUniformBuffers        int
	MaxDescriptorSetUniformBuffersDynamic int
	MaxDescriptorSetStorageBuffers        int
	MaxDescriptorSetStorageBuffersDynamic int
	MaxDescriptorSetSampledImages         int
	MaxDescriptorSetStorageImages         int
	MaxDescriptorSetInputAttachments      int

	MaxVertexInputAttributes      int
	MaxVertexInputBindings        int
	MaxVertexInputAttributeOffset int
	MaxVertexInputBindingStride   int
	MaxVertexOutputComponents     int

	MaxTessellationGenerationLevel                  int
	MaxTessellationPatchSize                        int
	MaxTessellationControlPerVertexInputComponents  int
	MaxTessellationControlPerVertexOutputComponents int
	MaxTessellationControlPerPatchOutputComponents  int
	MaxTessellationControlTotalOutputComponents     int
	MaxTessellationEvaluationInputComponents        int
	MaxTessellationEvaluationOutputComponents       int

	MaxGeometryShaderInvocations     int
	MaxGeometryInputComponents       int
	MaxGeometryOutputComponents      int
	MaxGeometryOutputVertices        int
	MaxGeometryTotalOutputComponents int

	MaxFragmentInputComponents         int
	MaxFragmentOutputAttachments       int
	MaxFragmentDualSrcAttachments      int
	MaxFragmentCombinedOutputResources int

	MaxComputeSharedMemorySize     int
	MaxComputeWorkGroupCount       [3]int
	MaxComputeWorkGroupInvocations int
	MaxComputeWorkGroupSize        [3]int

	SubPixelPrecisionBits int
	SubTexelPrecisionBits int
	MipmapPrecisionBits   int

	MaxDrawIndexedIndexValue int
	MaxDrawIndirectCount     int

	MaxSamplerLodBias    float32
	MaxSamplerAnisotropy float32

	MaxViewports          int
	MaxViewportDimensions [2]int
	ViewportBoundsRange   [2]float32
	ViewportSubPixelBits  int

	MinMemoryMapAlignment           int
	MinTexelBufferOffsetAlignment   int
	MinUniformBufferOffsetAlignment int
	MinStorageBufferOffsetAlignment int

	MinTexelOffset                  int
	MaxTexelOffset                  int
	MinTexelGatherOffset            int
	MaxTexelGatherOffset            int
	MinInterpolationOffset          float32
	MaxInterpolationOffset          float32
	SubPixelInterpolationOffsetBits int

	MaxFramebufferWidth  int
	MaxFramebufferHeight int
	MaxFramebufferLayers int

	FramebufferColorSampleCounts         common.SampleCounts
	FramebufferDepthSampleCounts         common.SampleCounts
	FramebufferStencilSampleCounts       common.SampleCounts
	FramebufferNoAttachmentsSampleCounts common.SampleCounts

	MaxColorAttachments             int
	SampledImageColorSampleCounts   common.SampleCounts
	SampledImageIntegerSampleCounts common.SampleCounts
	SampledImageDepthSampleCounts   common.SampleCounts
	SampledImageStencilSampleCounts common.SampleCounts
	StorageImageSampleCounts        common.SampleCounts
	MaxSampleMaskWords              int

	TimestampComputeAndGraphics bool
	TimestampPeriod             float32

	MaxClipDistances                int
	MaxCullDistances                int
	MaxCombinedClipAndCullDistances int

	DiscreteQueuePriorities int

	PointSizeRange       [2]float32
	LineWidthRange       [2]float32
	PointSizeGranularity float32
	LineWidthGranularity float32

	StrictLines             bool
	StandardSampleLocations bool

	OptimalBufferCopyOffsetAlignment   int
	OptimalBufferCopyRowPitchAlignment int
	NonCoherentAtomSize                int
}

type PhysicalDeviceMemoryProperties

type PhysicalDeviceMemoryProperties struct {
	MemoryTypes []common.MemoryType
	MemoryHeaps []common.MemoryHeap
}

type PhysicalDeviceProperties

type PhysicalDeviceProperties struct {
	Type common.PhysicalDeviceType
	Name string

	APIVersion    common.APIVersion
	DriverVersion common.Version
	VendorID      uint32
	DeviceID      uint32

	PipelineCacheUUID uuid.UUID
	Limits            *PhysicalDeviceLimits
	SparseProperties  *PhysicalDeviceSparseProperties
}

func (*PhysicalDeviceProperties) PopulateFromCPointer

func (p *PhysicalDeviceProperties) PopulateFromCPointer(cPointer unsafe.Pointer) error

type PhysicalDeviceSparseProperties

type PhysicalDeviceSparseProperties struct {
	ResidencyStandard2DBlockShape            bool
	ResidencyStandard2DMultisampleBlockShape bool
	ResidencyStandard3DBlockShape            bool
	ResidencyAlignedMipSize                  bool
	ResidencyNonResidentStrict               bool
}

type Pipeline

type Pipeline interface {
	Handle() driver.VkPipeline
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type PipelineCache

type PipelineCache interface {
	Handle() driver.VkPipelineCache
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	CacheData() ([]byte, common.VkResult, error)
	MergePipelineCaches(srcCaches []PipelineCache) (common.VkResult, error)
}

type PipelineCacheCreateOptions

type PipelineCacheCreateOptions struct {
	Flags       common.PipelineCacheCreateFlags
	InitialData []byte

	common.HaveNext
}

func (PipelineCacheCreateOptions) PopulateCPointer

func (o PipelineCacheCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (PipelineCacheCreateOptions) PopulateOutData

func (o PipelineCacheCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type PipelineLayout

type PipelineLayout interface {
	Handle() driver.VkPipelineLayout
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type PipelineLayoutCreateOptions

type PipelineLayoutCreateOptions struct {
	SetLayouts         []DescriptorSetLayout
	PushConstantRanges []PushConstantRange

	common.HaveNext
}

func (PipelineLayoutCreateOptions) PopulateCPointer

func (o PipelineLayoutCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (PipelineLayoutCreateOptions) PopulateOutData

func (o PipelineLayoutCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type PoolSize

type PoolSize struct {
	Type            common.DescriptorType
	DescriptorCount int
}

type PushConstantRange

type PushConstantRange struct {
	Stages common.ShaderStages
	Offset int
	Size   int
}

type QueryPool

type QueryPool interface {
	Handle() driver.VkQueryPool
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	PopulateResults(firstQuery, queryCount int, results []byte, resultStride int, flags common.QueryResultFlags) (common.VkResult, error)
}

type QueryPoolCreateOptions

type QueryPoolCreateOptions struct {
	QueryType          common.QueryType
	QueryCount         int
	PipelineStatistics common.PipelineStatistics

	common.HaveNext
}

func (QueryPoolCreateOptions) PopulateCPointer

func (o QueryPoolCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (QueryPoolCreateOptions) PopulateOutData

func (o QueryPoolCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Queue

type Queue interface {
	Handle() driver.VkQueue
	Driver() driver.Driver
	APIVersion() common.APIVersion

	WaitForIdle() (common.VkResult, error)
	SubmitToQueue(fence Fence, o []SubmitOptions) (common.VkResult, error)
	BindSparse(fence Fence, bindInfos []BindSparseOptions) (common.VkResult, error)
}

type QueueFamily

type QueueFamily struct {
	Flags                       common.QueueFlags
	QueueCount                  int
	TimestampValidBits          uint32
	MinImageTransferGranularity common.Extent3D
}

type RasterizationStateOptions

type RasterizationStateOptions struct {
	DepthClamp        bool
	RasterizerDiscard bool

	PolygonMode common.PolygonMode
	CullMode    common.CullModes
	FrontFace   common.FrontFace

	DepthBias               bool
	DepthBiasClamp          float32
	DepthBiasConstantFactor float32
	DepthBiasSlopeFactor    float32

	LineWidth float32

	common.HaveNext
}

func (RasterizationStateOptions) PopulateCPointer

func (o RasterizationStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (RasterizationStateOptions) PopulateOutData

func (o RasterizationStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type RenderPass

type RenderPass interface {
	Handle() driver.VkRenderPass
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
	RenderAreaGranularity() common.Extent2D
}

type RenderPassBeginOptions

type RenderPassBeginOptions struct {
	RenderPass  RenderPass
	Framebuffer Framebuffer

	RenderArea  common.Rect2D
	ClearValues []common.ClearValue

	common.HaveNext
}

func (RenderPassBeginOptions) PopulateCPointer

func (o RenderPassBeginOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (RenderPassBeginOptions) PopulateOutData

func (o RenderPassBeginOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type RenderPassCreateOptions

type RenderPassCreateOptions struct {
	Flags               common.RenderPassCreateFlags
	Attachments         []AttachmentDescription
	SubPassDescriptions []SubPassDescription
	SubPassDependencies []SubPassDependency

	common.HaveNext
}

func (RenderPassCreateOptions) PopulateCPointer

func (o RenderPassCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (RenderPassCreateOptions) PopulateOutData

func (o RenderPassCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Sampler

type Sampler interface {
	Handle() driver.VkSampler
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type SamplerCreateOptions

type SamplerCreateOptions struct {
	Flags        common.SamplerCreateFlags
	MagFilter    common.Filter
	MinFilter    common.Filter
	MipmapMode   common.MipmapMode
	AddressModeU common.SamplerAddressMode
	AddressModeV common.SamplerAddressMode
	AddressModeW common.SamplerAddressMode

	MipLodBias float32
	MinLod     float32
	MaxLod     float32

	AnisotropyEnable bool
	MaxAnisotropy    float32

	CompareEnable bool
	CompareOp     common.CompareOp

	BorderColor             common.BorderColor
	UnnormalizedCoordinates bool

	common.HaveNext
}

func (SamplerCreateOptions) PopulateCPointer

func (o SamplerCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (SamplerCreateOptions) PopulateOutData

func (o SamplerCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type Semaphore

type Semaphore interface {
	Handle() driver.VkSemaphore
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type SemaphoreCreateOptions

type SemaphoreCreateOptions struct {
	common.HaveNext
}

func (SemaphoreCreateOptions) PopulateCPointer

func (o SemaphoreCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (SemaphoreCreateOptions) PopulateOutData

func (o SemaphoreCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ShaderModule

type ShaderModule interface {
	Handle() driver.VkShaderModule
	Driver() driver.Driver
	APIVersion() common.APIVersion

	Destroy(callbacks *driver.AllocationCallbacks)
}

type ShaderModuleCreateOptions

type ShaderModuleCreateOptions struct {
	SpirVByteCode []uint32

	common.HaveNext
}

func (ShaderModuleCreateOptions) PopulateCPointer

func (o ShaderModuleCreateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ShaderModuleCreateOptions) PopulateOutData

func (o ShaderModuleCreateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ShaderStageOptions

type ShaderStageOptions struct {
	Flags              common.ShaderStageCreateFlags
	Name               string
	Stage              common.ShaderStages
	Shader             ShaderModule
	SpecializationInfo map[uint32]any

	common.HaveNext
}

func (ShaderStageOptions) PopulateCPointer

func (s ShaderStageOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ShaderStageOptions) PopulateOutData

func (o ShaderStageOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type SparseBufferMemoryBindInfo

type SparseBufferMemoryBindInfo struct {
	Buffer Buffer
	Binds  []SparseMemoryBind
}

type SparseImageFormatProperties

type SparseImageFormatProperties struct {
	AspectMask       common.ImageAspectFlags
	ImageGranularity common.Extent3D
	Flags            common.SparseImageFormatFlags
}

type SparseImageMemoryBind

type SparseImageMemoryBind struct {
	Subresource common.ImageSubresource
	Offset      common.Offset3D
	Extent      common.Extent3D

	Memory       DeviceMemory
	MemoryOffset int

	Flags common.SparseMemoryBindFlags
}

type SparseImageMemoryBindInfo

type SparseImageMemoryBindInfo struct {
	Image Image
	Binds []SparseImageMemoryBind
}

type SparseImageMemoryRequirements

type SparseImageMemoryRequirements struct {
	FormatProperties     SparseImageFormatProperties
	ImageMipTailFirstLod int
	ImageMipTailSize     int
	ImageMipTailOffset   int
	ImageMipTailStride   int
}

type SparseImageOpaqueMemoryBindInfo

type SparseImageOpaqueMemoryBindInfo struct {
	Image Image
	Binds []SparseMemoryBind
}

type SparseMemoryBind

type SparseMemoryBind struct {
	ResourceOffset int
	Size           int

	Memory       DeviceMemory
	MemoryOffset int

	Flags common.SparseMemoryBindFlags
}

func (SparseMemoryBind) PopulateCPointer

func (b SparseMemoryBind) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer) (unsafe.Pointer, error)

type StencilOpState

type StencilOpState struct {
	FailOp      common.StencilOp
	PassOp      common.StencilOp
	DepthFailOp common.StencilOp

	CompareOp   common.CompareOp
	CompareMask uint32
	WriteMask   uint32

	Reference uint32
}

type SubPassDependency

type SubPassDependency struct {
	Flags common.DependencyFlags

	SrcSubPassIndex int
	DstSubPassIndex int

	SrcStageMask common.PipelineStages
	DstStageMask common.PipelineStages

	SrcAccessMask common.AccessFlags
	DstAccessMask common.AccessFlags
}

type SubPassDescription

type SubPassDescription struct {
	Flags     common.SubPassDescriptionFlags
	BindPoint common.PipelineBindPoint

	InputAttachments           []common.AttachmentReference
	ColorAttachments           []common.AttachmentReference
	ResolveAttachments         []common.AttachmentReference
	DepthStencilAttachment     *common.AttachmentReference
	PreservedAttachmentIndices []int
}

type SubmitOptions

type SubmitOptions struct {
	CommandBuffers   []CommandBuffer
	WaitSemaphores   []Semaphore
	WaitDstStages    []common.PipelineStages
	SignalSemaphores []Semaphore

	common.HaveNext
}

func (SubmitOptions) PopulateCPointer

func (o SubmitOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (SubmitOptions) PopulateOutData

func (o SubmitOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type TessellationStateOptions

type TessellationStateOptions struct {
	PatchControlPoints uint32

	common.HaveNext
}

func (TessellationStateOptions) PopulateCPointer

func (o TessellationStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatePointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (TessellationStateOptions) PopulateOutData

func (o TessellationStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type VertexAttributeDescription

type VertexAttributeDescription struct {
	Location uint32
	Binding  int
	Format   common.DataFormat
	Offset   int
}

type VertexBindingDescription

type VertexBindingDescription struct {
	InputRate common.InputRate
	Binding   int
	Stride    int
}

type VertexInputStateOptions

type VertexInputStateOptions struct {
	VertexBindingDescriptions   []VertexBindingDescription
	VertexAttributeDescriptions []VertexAttributeDescription

	common.HaveNext
}

func (VertexInputStateOptions) PopulateCPointer

func (o VertexInputStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (VertexInputStateOptions) PopulateOutData

func (o VertexInputStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type ViewportStateOptions

type ViewportStateOptions struct {
	Viewports []common.Viewport
	Scissors  []common.Rect2D

	common.HaveNext
}

func (ViewportStateOptions) PopulateCPointer

func (o ViewportStateOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (ViewportStateOptions) PopulateOutData

func (o ViewportStateOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

type WriteDescriptorSetExtensionSource

type WriteDescriptorSetExtensionSource interface {
	WriteDescriptorSetCount() int
}

type WriteDescriptorSetOptions

type WriteDescriptorSetOptions struct {
	DstSet          DescriptorSet
	DstBinding      int
	DstArrayElement int

	DescriptorType common.DescriptorType

	ImageInfo       []DescriptorImageInfo
	BufferInfo      []DescriptorBufferInfo
	TexelBufferView []BufferView

	common.HaveNext
}

func (WriteDescriptorSetOptions) PopulateCPointer

func (o WriteDescriptorSetOptions) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (WriteDescriptorSetOptions) PopulateOutData

func (o WriteDescriptorSetOptions) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL