khr_multiview

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: 6 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type PhysicalDeviceMultiviewFeatures

type PhysicalDeviceMultiviewFeatures struct {
	// Multiview specifies whether the implementation supports multiview rendering within a
	// RenderPass. If this feature is not enabled, the view mask of each subpass must always
	// be zero
	Multiview bool
	// MultiviewGeometryShader specifies whether the implementation supports multiview rendering
	// within a RenderPass, with geometry shaders
	MultiviewGeometryShader bool
	// MultiviewTessellationShader specifies whether the implementation supports multiview rendering
	// within a RenderPass, with tessellation shaders
	MultiviewTessellationShader bool

	common.NextOptions
	common.NextOutData
}

PhysicalDeviceMultiviewFeatures describes multiview features that can be supported by an implementation

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

func (PhysicalDeviceMultiviewFeatures) PopulateCPointer

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

func (*PhysicalDeviceMultiviewFeatures) PopulateHeader

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

func (*PhysicalDeviceMultiviewFeatures) PopulateOutData

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

type PhysicalDeviceMultiviewProperties

type PhysicalDeviceMultiviewProperties struct {
	// MaxMultiviewViewCount is one greater than the maximum view index that can be used in
	// a subpass
	MaxMultiviewViewCount int
	// MaxMultiviewInstanceIndex is the maximum
	MaxMultiviewInstanceIndex int

	common.NextOutData
}

PhysicalDeviceMultiviewProperties describes multiview limits that can be supported by an implementation

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

func (*PhysicalDeviceMultiviewProperties) PopulateHeader

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

func (*PhysicalDeviceMultiviewProperties) PopulateOutData

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

type RenderPassMultiviewCreateInfo

type RenderPassMultiviewCreateInfo struct {
	// ViewMasks is a slice of view masks, where each mask is a bitfield of view indices describing
	// which views rendering is broadcast to in each subpass, when multiview is enabled
	ViewMasks []uint32
	// ViewOffsets is a slice of view offsets, one for each subpass dependency. Each view offset
	// controls which view in the source subpass the views in the destination subpass depends on.
	ViewOffsets []int
	// CorrelationMasks is a slice of view masks indicating stes of views that may be
	// more efficient to render concurrently
	CorrelationMasks []uint32

	common.NextOptions
}

RenderPassMultiviewCreateInfo contains multiview information for all subpasses

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

func (RenderPassMultiviewCreateInfo) PopulateCPointer

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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