Documentation
¶
Index ¶
- Constants
- type PhysicalDeviceSamplerFilterMinmaxProperties
- func (o *PhysicalDeviceSamplerFilterMinmaxProperties) PopulateHeader(allocator *cgoparam.Allocator, preallocatedPointer unsafe.Pointer, ...) (unsafe.Pointer, error)
- func (o *PhysicalDeviceSamplerFilterMinmaxProperties) PopulateOutData(cDataPointer unsafe.Pointer, helpers ...any) (next unsafe.Pointer, err error)
- type SamplerReductionMode
- type SamplerReductionModeCreateInfo
Constants ¶
View Source
const ( // ExtensionName is "VK_EXT_sampler_filter_minmax" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_sampler_filter_minmax.html ExtensionName string = C.VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME // FormatFeatureSampledImageFilterMinmax specifies the Image can be used as a sampled Image // with a min or max SamplerReductionMode // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkFormatFeatureFlagBits.html FormatFeatureSampledImageFilterMinmax core1_0.FormatFeatureFlags = C.VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT // SamplerReductionModeMax specifies that texel values are combined by taking // the component-wise maximum of values in the footprint with non-zero weights // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerReductionMode.html SamplerReductionModeMax SamplerReductionMode = C.VK_SAMPLER_REDUCTION_MODE_MAX_EXT // SamplerReductionModeMin specifies that texel values are combined by taking the // component-wise minimum of values in the footprint with non-zero weights // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerReductionMode.html SamplerReductionModeMin SamplerReductionMode = C.VK_SAMPLER_REDUCTION_MODE_MIN_EXT // SamplerReductionModeWeightedAverage specifies that texel values are combined by // computing a weighted average of values in the footprint // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerReductionMode.html SamplerReductionModeWeightedAverage SamplerReductionMode = C.VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhysicalDeviceSamplerFilterMinmaxProperties ¶
type PhysicalDeviceSamplerFilterMinmaxProperties struct {
// FilterMinmaxSingleComponentFormats indicates whether a minimum set of required formats
// support min/max filtering
FilterMinmaxSingleComponentFormats bool
// FilterMinmaxImageComponentMapping indicates whether the implementation support non-identity
// component mapping of the Image when doing min/max filtering
FilterMinmaxImageComponentMapping bool
common.NextOutData
}
PhysicalDeviceSamplerFilterMinmaxProperties describes Sampler filter minmax limits that can be supported by an implementation
func (*PhysicalDeviceSamplerFilterMinmaxProperties) PopulateHeader ¶
func (*PhysicalDeviceSamplerFilterMinmaxProperties) PopulateOutData ¶
type SamplerReductionMode ¶
type SamplerReductionMode int32
SamplerReductionMode specifies reduction mode for texture filtering
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkSamplerReductionMode.html
func (SamplerReductionMode) Register ¶
func (e SamplerReductionMode) Register(str string)
func (SamplerReductionMode) String ¶
func (e SamplerReductionMode) String() string
type SamplerReductionModeCreateInfo ¶
type SamplerReductionModeCreateInfo struct {
// ReductionMode controls how texture filtering combines texel values
ReductionMode SamplerReductionMode
common.NextOptions
}
SamplerReductionModeCreateInfo specifies a Sampler reduction mode
Click to show internal directories.
Click to hide internal directories.