khr_format_feature_flags2

package
v3.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FormatFeature2SampledImage                                                     = FormatFeatureFlags2(0x00000001)
	FormatFeature2StorageImage                                                     = FormatFeatureFlags2(0x00000002)
	FormatFeature2StorageImageAtomic                                               = FormatFeatureFlags2(0x00000004)
	FormatFeature2UniformTexelBuffer                                               = FormatFeatureFlags2(0x00000008)
	FormatFeature2StorageTexelBuffer                                               = FormatFeatureFlags2(0x00000010)
	FormatFeature2StorageTexelBufferAtomic                                         = FormatFeatureFlags2(0x00000020)
	FormatFeature2VertexBuffer                                                     = FormatFeatureFlags2(0x00000040)
	FormatFeature2ColorAttachment                                                  = FormatFeatureFlags2(0x00000080)
	FormatFeature2ColorAttachmentBlend                                             = FormatFeatureFlags2(0x00000100)
	FormatFeature2DepthStencilAttachment                                           = FormatFeatureFlags2(0x00000200)
	FormatFeature2BlitSrc                                                          = FormatFeatureFlags2(0x00000400)
	FormatFeature2BlitDst                                                          = FormatFeatureFlags2(0x00000800)
	FormatFeature2SampledImageFilterLinear                                         = FormatFeatureFlags2(0x00001000)
	FormatFeature2SampledImageFilterCubic                                          = FormatFeatureFlags2(0x00002000)
	FormatFeature2TransferSrc                                                      = FormatFeatureFlags2(0x00004000)
	FormatFeature2TransferDst                                                      = FormatFeatureFlags2(0x00008000)
	FormatFeature2SampledImageFilterMinmax                                         = FormatFeatureFlags2(0x00010000)
	FormatFeature2MidpointChromaSamples                                            = FormatFeatureFlags2(0x00020000)
	FormatFeature2SampledImageYcbcrConversionLinearFilter                          = FormatFeatureFlags2(0x00040000)
	FormatFeature2SampledImageYcbcrConversionSeparateReconstructionFilter          = FormatFeatureFlags2(0x00080000)
	FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicit          = FormatFeatureFlags2(0x00100000)
	FormatFeature2SampledImageYcbcrConversionChromaReconstructionExplicitForceable = FormatFeatureFlags2(0x00200000)
	FormatFeature2Disjoint                                                         = FormatFeatureFlags2(0x00400000)
	FormatFeature2CositedChromaSamples                                             = FormatFeatureFlags2(0x00800000)
	FormatFeature2StorageReadWithoutFormat                                         = FormatFeatureFlags2(0x80000000)
	FormatFeature2StorageWriteWithoutFormat                                        = FormatFeatureFlags2(0x10000000)
	FormatFeature2SampledImageDepthComparison                                      = FormatFeatureFlags2(0x20000000)
)

This type (and seemingly ONLY this type) is defined as static const, which cgo doesn't play well with. From go's point of view, this go code and the c preamble above are differen compilation units which means that static consts should not be visible from here. As a result, these have to be manually defined. May god have mercy on my soul.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormatFeatureFlags2

type FormatFeatureFlags2 uint32

func (FormatFeatureFlags2) Register

func (e FormatFeatureFlags2) Register(str string)

func (FormatFeatureFlags2) String

func (e FormatFeatureFlags2) String() string

type FormatProperties3

type FormatProperties3 struct {
	LinearTilingFeatures  FormatFeatureFlags2
	OptimalTilingFeatures FormatFeatureFlags2
	BufferFeatures        FormatFeatureFlags2

	common.NextOutData
}

func (*FormatProperties3) PopulateHeader

func (o *FormatProperties3) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, next unsafe.Pointer) (unsafe.Pointer, error)

func (*FormatProperties3) PopulateOutData

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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