khr_separate_depth_stencil_layouts

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

View Source
const (
	// ExtensionName is "VK_KHR_separate_depth_stencil_layouts"
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_separate_depth_stencil_layouts.html
	ExtensionName string = C.VK_KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_EXTENSION_NAME

	// ImageLayoutDepthAttachmentOptimal specifies a layout for the depth aspect of a depth/stencil
	// format Image allowing read and write access as a depth attachment
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageLayout.html
	ImageLayoutDepthAttachmentOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR
	// ImageLayoutDepthReadOnlyOptimal specifies a layout for the depth aspect of a depth/stencil
	// format Image allowing read-only access as a depth attachment or in shaders as a sampled Image,
	// combined Image/Sampler, or input attachment
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageLayout.html
	ImageLayoutDepthReadOnlyOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL_KHR
	// ImageLayoutStencilAttachmentOptimal specifies a layout for the stencil aspect of a
	// depth/stencil format Image allowing read and write access as a stencil attachment
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageLayout.html
	ImageLayoutStencilAttachmentOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL_KHR
	// ImageLayoutStencilReadOnlyOptimal specifies a layout for the stencil aspect of a depth/stencil
	// format Image allowing read-only access as a stencil attachment or in shaders as a sampled
	// Image, combined Image/Sampler, or input attachment
	//
	// https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageLayout.html
	ImageLayoutStencilReadOnlyOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL_KHR
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentDescriptionStencilLayout

type AttachmentDescriptionStencilLayout struct {
	// StencilInitialLayout is the layout of the stencil aspect of the attachment Image
	// subresource will be in when a RenderPass instance begins
	StencilInitialLayout core1_0.ImageLayout
	// StencilFinalLayout is the layout the stencil aspect of the attachment Image subresource
	// will be transitioned to when a RenderPass instance ends
	StencilFinalLayout core1_0.ImageLayout

	common.NextOptions
}

AttachmentDescriptionStencilLayout specifies an attachment description

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

func (AttachmentDescriptionStencilLayout) PopulateCPointer

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

type AttachmentReferenceStencilLayout

type AttachmentReferenceStencilLayout struct {
	// StencilLayout specifies the layout the stencil aspect of the attachment uses during hte subpass
	StencilLayout core1_0.ImageLayout

	common.NextOptions
}

AttachmentReferenceStencilLayout specifies an attachment description

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

func (AttachmentReferenceStencilLayout) PopulateCPointer

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

type PhysicalDeviceSeparateDepthStencilLayoutsFeatures

type PhysicalDeviceSeparateDepthStencilLayoutsFeatures struct {
	// SeparateDepthStencilLayouts indicates whether the implementation supports an
	// ImageMemoryBarrier for a depth/stencil Image with only one of core1_0.ImageAspectDepth or
	// core1_0.ImageAspectStencil, and whether ImageLayoutDepthAttachmentOptimal,
	// ImageLayoutDepthReadOnlyOptimal, ImageLayoutStencilAttachmentOptimal, or
	// ImageLayoutStencilReadOnlyOptimal can be used
	SeparateDepthStencilLayouts bool

	common.NextOptions
	common.NextOutData
}

PhysicalDeviceSeparateDepthStencilLayoutsFeatures describes whether the implementation can do depth and stencil Image barriers separately

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

func (PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateCPointer

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

func (*PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateHeader

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

func (*PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateOutData

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