| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_EXT_line_rasterization
Synopsis
- cmdSetLineStippleEXT :: forall io. MonadIO io => CommandBuffer -> ("lineStippleFactor" ::: Word32) -> ("lineStipplePattern" ::: Word16) -> io ()
- data PhysicalDeviceLineRasterizationFeaturesEXT = PhysicalDeviceLineRasterizationFeaturesEXT {}
- data PhysicalDeviceLineRasterizationPropertiesEXT = PhysicalDeviceLineRasterizationPropertiesEXT {}
- data PipelineRasterizationLineStateCreateInfoEXT = PipelineRasterizationLineStateCreateInfoEXT {}
- newtype LineRasterizationModeEXT where
- LineRasterizationModeEXT Int32
- pattern LINE_RASTERIZATION_MODE_DEFAULT_EXT :: LineRasterizationModeEXT
- pattern LINE_RASTERIZATION_MODE_RECTANGULAR_EXT :: LineRasterizationModeEXT
- pattern LINE_RASTERIZATION_MODE_BRESENHAM_EXT :: LineRasterizationModeEXT
- pattern LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT :: LineRasterizationModeEXT
- type EXT_LINE_RASTERIZATION_SPEC_VERSION = 1
- pattern EXT_LINE_RASTERIZATION_SPEC_VERSION :: forall a. Integral a => a
- type EXT_LINE_RASTERIZATION_EXTENSION_NAME = "VK_EXT_line_rasterization"
- pattern EXT_LINE_RASTERIZATION_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
Arguments
| :: forall io. MonadIO io | |
| => CommandBuffer |
|
| -> ("lineStippleFactor" ::: Word32) |
|
| -> ("lineStipplePattern" ::: Word16) |
|
| -> io () |
vkCmdSetLineStippleEXT - Set the dynamic line width state
Valid Usage
lineStippleFactormust be in the range [1,256]
Valid Usage (Implicit)
commandBuffermust be a validCommandBufferhandle
commandBuffermust be in the recording state- The
CommandPoolthatcommandBufferwas allocated from must support graphics operations
Host Synchronization
- Host access to
commandBuffermust be externally synchronized
- Host access to the
CommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
'
| Command Buffer Levels | Render Pass Scope | Supported Queue Types | Pipeline Type |
|---|---|---|---|
| Primary Secondary | Both | Graphics |
See Also
data PhysicalDeviceLineRasterizationFeaturesEXT Source #
VkPhysicalDeviceLineRasterizationFeaturesEXT - Structure describing the line rasterization features that can be supported by an implementation
Members
The members of the PhysicalDeviceLineRasterizationFeaturesEXT
structure describe the following features:
Description
If the PhysicalDeviceLineRasterizationFeaturesEXT structure is
included in the pNext chain of
PhysicalDeviceFeatures2,
it is filled with values indicating whether the feature is supported.
PhysicalDeviceLineRasterizationFeaturesEXT can also be included in
the pNext chain of DeviceCreateInfo to enable
the feature.
Valid Usage (Implicit)
See Also
Constructors
Instances
data PhysicalDeviceLineRasterizationPropertiesEXT Source #
VkPhysicalDeviceLineRasterizationPropertiesEXT - Structure describing line rasterization properties supported by an implementation
Members
The members of the PhysicalDeviceLineRasterizationPropertiesEXT
structure describe the following implementation-dependent limits:
Description
If the PhysicalDeviceLineRasterizationPropertiesEXT structure is
included in the pNext chain of
PhysicalDeviceProperties2,
it is filled with the implementation-dependent limits.
Valid Usage (Implicit)
See Also
Constructors
| PhysicalDeviceLineRasterizationPropertiesEXT | |
Fields
| |
Instances
data PipelineRasterizationLineStateCreateInfoEXT Source #
VkPipelineRasterizationLineStateCreateInfoEXT - Structure specifying parameters of a newly created pipeline line rasterization state
Valid Usage
- If
lineRasterizationModeisLINE_RASTERIZATION_MODE_RECTANGULAR_EXT, then the rectangularLines feature must be enabled
- If
lineRasterizationModeisLINE_RASTERIZATION_MODE_BRESENHAM_EXT, then the bresenhamLines feature must be enabled - If
lineRasterizationModeisLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT, then the smoothLines feature must be enabled - If
stippledLineEnableisTRUEandlineRasterizationModeisLINE_RASTERIZATION_MODE_RECTANGULAR_EXT, then the stippledRectangularLines feature must be enabled - If
stippledLineEnableisTRUEandlineRasterizationModeisLINE_RASTERIZATION_MODE_BRESENHAM_EXT, then the stippledBresenhamLines feature must be enabled - If
stippledLineEnableisTRUEandlineRasterizationModeisLINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT, then the stippledSmoothLines feature must be enabled - If
stippledLineEnableisTRUEandlineRasterizationModeisLINE_RASTERIZATION_MODE_DEFAULT_EXT, then the stippledRectangularLines feature must be enabled andPhysicalDeviceLimits::strictLinesmust beTRUE
Valid Usage (Implicit)
lineRasterizationModemust be a validLineRasterizationModeEXTvalue
See Also
Constructors
| PipelineRasterizationLineStateCreateInfoEXT | |
Fields
| |
Instances
newtype LineRasterizationModeEXT Source #
VkLineRasterizationModeEXT - Line rasterization modes
See Also
Constructors
| LineRasterizationModeEXT Int32 |
Bundled Patterns
Instances
type EXT_LINE_RASTERIZATION_SPEC_VERSION = 1 Source #
pattern EXT_LINE_RASTERIZATION_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_LINE_RASTERIZATION_EXTENSION_NAME = "VK_EXT_line_rasterization" Source #
pattern EXT_LINE_RASTERIZATION_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #