Documentation
¶
Index ¶
- Constants
- type PhysicalDeviceMultiviewFeatures
- func (o PhysicalDeviceMultiviewFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceMultiviewFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceMultiviewFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type PhysicalDeviceMultiviewProperties
- type RenderPassMultiviewCreateInfo
Constants ¶
View Source
const ( // ExtensionName is "VK_KHR_multiview" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_multiview.html ExtensionName string = C.VK_KHR_MULTIVIEW_EXTENSION_NAME // DependencyViewLocal specifies that a subpass has more than one view // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDependencyFlagBits.html DependencyViewLocal core1_0.DependencyFlags = C.VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR )
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
func (PhysicalDeviceMultiviewFeatures) PopulateCPointer ¶
func (*PhysicalDeviceMultiviewFeatures) PopulateHeader ¶
func (*PhysicalDeviceMultiviewFeatures) PopulateOutData ¶
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
func (*PhysicalDeviceMultiviewProperties) PopulateHeader ¶
func (*PhysicalDeviceMultiviewProperties) PopulateOutData ¶
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.