Documentation ¶
Index ¶
- Constants
- type PhysicalDeviceDepthStencilResolveProperties
- func (o *PhysicalDeviceDepthStencilResolveProperties) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceDepthStencilResolveProperties) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type ResolveModeFlags
- type SubpassDescriptionDepthStencilResolve
Constants ¶
View Source
const ( // ExtensionName is "VK_KHR_depth_stencil_resolve" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_depth_stencil_resolve.html ExtensionName string = C.VK_KHR_DEPTH_STENCIL_RESOLVE_EXTENSION_NAME // ResolveModeAverage indicates that the result of the resolve operation is the average // of the sample values // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html ResolveModeAverage ResolveModeFlags = C.VK_RESOLVE_MODE_AVERAGE_BIT_KHR // ResolveModeMax indicates that the result of the resolve operation is the maximum of the // sample values // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html ResolveModeMax ResolveModeFlags = C.VK_RESOLVE_MODE_MAX_BIT_KHR // ResolveModeMin indicates that the result of the resolve operation is the minimum of the // sample values // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html ResolveModeMin ResolveModeFlags = C.VK_RESOLVE_MODE_MIN_BIT_KHR // ResolveModeNone indicates that no resolve operation is performed // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html ResolveModeNone ResolveModeFlags = C.VK_RESOLVE_MODE_NONE_KHR // ResolveModeSampleZero indicates that the result of the resolve operation is equal to // the value of sample 0 // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html ResolveModeSampleZero ResolveModeFlags = C.VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhysicalDeviceDepthStencilResolveProperties ¶
type PhysicalDeviceDepthStencilResolveProperties struct { // SupportedDepthResolveModes indicates the set of supported depth resolve modes SupportedDepthResolveModes ResolveModeFlags // SupportedStencilResolveModes indicates the set of supported stencil resolve modes SupportedStencilResolveModes ResolveModeFlags // IndependentResolveNone is true if the implementation supports setting the depth // and stencil resolve modes to different values when one of those modes is ResolveModeNone IndependentResolveNone bool // IndependentResolve is true if the implementation supports all combinations of the supported // depth and stencil resolve modes, including setting either depth or stencil resolve mode to // ResolveModeNone IndependentResolve bool common.NextOutData }
PhysicalDeviceDepthStencilResolveProperties describes depth/stencil resolve properties that can be supported by an implementation
func (*PhysicalDeviceDepthStencilResolveProperties) PopulateHeader ¶
func (*PhysicalDeviceDepthStencilResolveProperties) PopulateOutData ¶
type ResolveModeFlags ¶
type ResolveModeFlags int32
ResolveModeFlags indicates supported depth and stencil resolve modes
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkResolveModeFlagBits.html
func (ResolveModeFlags) Register ¶
func (f ResolveModeFlags) Register(str string)
func (ResolveModeFlags) String ¶
func (f ResolveModeFlags) String() string
type SubpassDescriptionDepthStencilResolve ¶
type SubpassDescriptionDepthStencilResolve struct { // DepthResolveMode describes the depth resolve mode DepthResolveMode ResolveModeFlags // StencilResolveMode describes the stencil resolve mode StencilResolveMode ResolveModeFlags // DepthStencilResolveAttachment defines the depth/stencil resolve attachment // for this subpass and its layout DepthStencilResolveAttachment *khr_create_renderpass2.AttachmentReference2 common.NextOptions }
SubpassDescriptionDepthStencilResolve specifies depth/stencil resolve operations for a subpass
Source Files ¶
Click to show internal directories.
Click to hide internal directories.