Documentation ¶
Index ¶
- Constants
- type ImageViewUsageCreateInfo
- type InputAttachmentAspectReference
- type PhysicalDevicePointClippingProperties
- func (o *PhysicalDevicePointClippingProperties) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDevicePointClippingProperties) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type PipelineTessellationDomainOriginStateCreateInfo
- type PointClippingBehavior
- type RenderPassInputAttachmentAspectCreateInfo
- type TessellationDomainOrigin
Constants ¶
const ( // ExtensionName is "VK_KHR_maintenance2" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_maintenance2.html ExtensionName string = C.VK_KHR_MAINTENANCE2_EXTENSION_NAME // ImageCreateBlockTexelViewCompatible specifies that the Image having a compressed format can be // used to create an ImageView with an uncompressed format where each texel in the ImageView // corresponds to a compressed texel block of the Image // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageCreateFlagBits.html ImageCreateBlockTexelViewCompatible core1_0.ImageCreateFlags = C.VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR // ImageCreateExtendedUsage specifies that the Image can be created with usage flags that are not // supported for the format the Image is created with but are supported for at least one format // an ImageView created from this Image can have // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkImageCreateFlagBits.html ImageCreateExtendedUsage core1_0.ImageCreateFlags = C.VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR // ImageLayoutDepthAttachmentStencilReadOnlyOptimal specifies a layout for depth/stencil format // Image objects allowing read and write access to the depth aspect as a depth attachment, and read-only // access to the stencil aspect 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 ImageLayoutDepthAttachmentStencilReadOnlyOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR // ImageLayoutDepthReadOnlyStencilAttachmentOptimal specifies a layout for depth/stencil format Image objects // allowing read and write access to the stencil aspect as a stencil attachment, and read-only access // to the depth aspect 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 ImageLayoutDepthReadOnlyStencilAttachmentOptimal core1_0.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR // PointClippingAllClipPlanes specifies that the primitive is discarded if the vertex lies // outside any clip plane, including the planes bounding the view volume // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPointClippingBehavior.html PointClippingAllClipPlanes PointClippingBehavior = C.VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR // PointClippingUserClipPlanesOnly specifies that the primitive is discarded only if the vertex // lies outside any user clip plane // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPointClippingBehavior.html PointClippingUserClipPlanesOnly PointClippingBehavior = C.VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR // TessellationDomainOriginUpperLeft specifies that the origin of the domain space // is in the upper left corner, as shown in figure // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTessellationDomainOrigin.html TessellationDomainOriginUpperLeft TessellationDomainOrigin = C.VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR // TessellationDomainOriginLowerLeft specifies that the origin of the domain space // is in the lower left corner, as shown in figure // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTessellationDomainOrigin.html TessellationDomainOriginLowerLeft TessellationDomainOrigin = C.VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageViewUsageCreateInfo ¶
type ImageViewUsageCreateInfo struct { // Usage specifies allowed usages of the ImageView Usage core1_0.ImageUsageFlags common.NextOptions }
ImageViewUsageCreateInfo specifies the intended usage of an ImageView
type InputAttachmentAspectReference ¶
type InputAttachmentAspectReference struct { // Subpass is an index into RenderPassCreateInfo.Subpasses Subpass int // InputAttachmentIndex is an index into the InputAttachments of the specified subpass InputAttachmentIndex int // AspectMask is a mask of which aspect(s) can be accessed within the specified subpass AspectMask core1_0.ImageAspectFlags }
InputAttachmentAspectReference specifies a subpass/input attachment pair and an aspect mask that can be read
func (InputAttachmentAspectReference) PopulateCPointer ¶
type PhysicalDevicePointClippingProperties ¶
type PhysicalDevicePointClippingProperties struct { // PointClippingBehavior specifies the point clipping behavior supported by the implementation PointClippingBehavior PointClippingBehavior common.NextOutData }
PhysicalDevicePointClippingProperties describes the point clipping behavior supported by an implementation
func (*PhysicalDevicePointClippingProperties) PopulateHeader ¶
func (*PhysicalDevicePointClippingProperties) PopulateOutData ¶
type PipelineTessellationDomainOriginStateCreateInfo ¶
type PipelineTessellationDomainOriginStateCreateInfo struct { // DomainOrigin controls the origin of the tessellation domain space DomainOrigin TessellationDomainOrigin common.NextOptions }
PipelineTessellationDomainOriginStateCreateInfo specifies the origin of the tessellation domain
type PointClippingBehavior ¶
type PointClippingBehavior int32
PointClippingBehavior specifies the point clipping behavior
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkPointClippingBehavior.html
func (PointClippingBehavior) Register ¶
func (e PointClippingBehavior) Register(str string)
func (PointClippingBehavior) String ¶
func (e PointClippingBehavior) String() string
type RenderPassInputAttachmentAspectCreateInfo ¶
type RenderPassInputAttachmentAspectCreateInfo struct { // AspectReferences is a slice of InputAttachmentAspectReference structures containing // a mask describing which aspect(s) can be accessed for a given input attachment within a // given subpass AspectReferences []InputAttachmentAspectReference common.NextOptions }
RenderPassInputAttachmentAspectCreateInfo specifies, for a given subpass/input attachment pair, which aspect can be read
type TessellationDomainOrigin ¶
type TessellationDomainOrigin int32
TessellationDomainOrigin describes tessellation domain origin
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkTessellationDomainOrigin.html
func (TessellationDomainOrigin) Register ¶
func (e TessellationDomainOrigin) Register(str string)
func (TessellationDomainOrigin) String ¶
func (e TessellationDomainOrigin) String() string