khr_portability_subset

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicalDevicePortabilitySubsetFeatures

type PhysicalDevicePortabilitySubsetFeatures struct {
	// ConstantAlphaColorBlendFactors indicates whether this implementation supports constant alpha
	// blend factors used as a source or destination color
	ConstantAlphaColorBlendFactors bool
	// Events indicates whether this implementation supports synchronization using Event objects
	Events bool
	// ImageViewFormatReinterpretation indicates whether this implementation supports an ImageView being
	// created with a texel format containing a different number of components, or a different number
	// of bits in each component, than the texel format of the underlying Image
	ImageViewFormatReinterpretation bool
	// ImageViewFormatSwizzle indicates whether this implementation supports remapping format components
	// using ImageViewCreateInfo.Components
	ImageViewFormatSwizzle bool
	// ImageView2DOn3DImage indicates whether this implementation supports an Image being created with
	// ImageCreate2DArrayCompatible set, permitting a 2D or 2D array ImageView to be created on a 3D
	// Image
	ImageView2DOn3DImage bool
	// MultisampleArrayImage indicates whether this implementation supports an Image being created as
	// a 2D array with multiple samples per texel
	MultisampleArrayImage bool
	// MutableComparisonSamplers indicates whether this implementation allows descriptors with comparison
	// samplers to be updated
	MutableComparisonSamplers bool
	// PointPolygons indicates whether this implementation supports rasterization using a point
	// polygon mode
	PointPolygons bool
	// SamplerMipLodBias indicates whether this implementation supports setting a mipmap LOD bias value
	// when creating a Sampler
	SamplerMipLodBias bool
	// SeparateStencilMaskRef indicates whether this implementation supports separate front and back
	// stencil ops reference values
	SeparateStencilMaskRef bool
	// ShaderSamplerRateInterpolationFunctions indicates whether this implementation supports fragment
	// shaders which use the InterpolationFunction capability and the extended instructions
	// InterpolateAtCentroid, InterpolateAtOffset, and InterpolateAtSample from the GLSL.std.450
	// extended instruction set
	ShaderSamplerRateInterpolationFunctions bool
	// TessellationIsolines indicates whether this implementation supports isoline output from the
	// tessellation stage of a graphics Pipeline
	TessellationIsolines bool
	// TessellationPointMode indicates whether this implementation supports point output from the tessellation
	// stage of a graphics Pipeline
	TessellationPointMode bool
	// TriangleFans indicates whether this implementation supports triangle fans primitive topology
	TriangleFans bool
	// VertexAttributeAccessBeyondStride indicates whether this implementation supports accessing a vertex
	// input attribute beyond the stride of the corresponding vertex input binding
	VertexAttributeAccessBeyondStride bool

	common.NextOptions
	common.NextOutData
}

PhysicalDevicePortabilitySubsetFeatures describes the features that may not be supported by an implementation of the Vulkan 1.0 Portability Subset

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePortabilitySubsetFeaturesKHR.html

func (PhysicalDevicePortabilitySubsetFeatures) PopulateCPointer

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

func (*PhysicalDevicePortabilitySubsetFeatures) PopulateHeader

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

func (*PhysicalDevicePortabilitySubsetFeatures) PopulateOutData

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

type PhysicalDevicePortabilitySubsetProperties

type PhysicalDevicePortabilitySubsetProperties struct {
	// MinVertexInputBindingStrideAlignment indicates the minimum alignment for vertex input strides
	MinVertexInputBindingStrideAlignment int

	common.NextOutData
}

PhysicalDevicePortabilitySubsetProperties describes additional properties supported by a portable implementation

https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPhysicalDevicePortabilitySubsetPropertiesKHR.html

func (*PhysicalDevicePortabilitySubsetProperties) PopulateHeader

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

func (*PhysicalDevicePortabilitySubsetProperties) PopulateOutData

func (o *PhysicalDevicePortabilitySubsetProperties) 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