Documentation ¶
Index ¶
- Constants
- type AttachmentDescriptionStencilLayout
- type AttachmentReferenceStencilLayout
- type PhysicalDeviceSeparateDepthStencilLayoutsFeatures
- func (o PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateCPointer(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
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
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
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
func (PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateCPointer ¶
func (*PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateHeader ¶
func (*PhysicalDeviceSeparateDepthStencilLayoutsFeatures) PopulateOutData ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.