| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.Vulkan.Extensions.VK_NV_clip_space_w_scaling
Synopsis
- cmdSetViewportWScalingNV :: forall io. MonadIO io => CommandBuffer -> ("firstViewport" ::: Word32) -> ("viewportWScalings" ::: Vector ViewportWScalingNV) -> io ()
- data ViewportWScalingNV = ViewportWScalingNV {}
- data PipelineViewportWScalingStateCreateInfoNV = PipelineViewportWScalingStateCreateInfoNV {}
- type NV_CLIP_SPACE_W_SCALING_SPEC_VERSION = 1
- pattern NV_CLIP_SPACE_W_SCALING_SPEC_VERSION :: forall a. Integral a => a
- type NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME = "VK_NV_clip_space_w_scaling"
- pattern NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
cmdSetViewportWScalingNV :: forall io. MonadIO io => CommandBuffer -> ("firstViewport" ::: Word32) -> ("viewportWScalings" ::: Vector ViewportWScalingNV) -> io () Source #
vkCmdSetViewportWScalingNV - Set the viewport W scaling on a command buffer
Parameters
commandBufferis the command buffer into which the command will be recorded.
firstViewportis the index of the first viewport whose parameters are updated by the command.viewportCountis the number of viewports whose parameters are updated by the command.pViewportWScalingsis a pointer to an array ofViewportWScalingNVstructures specifying viewport parameters.
Description
The viewport parameters taken from element i of pViewportWScalings
replace the current state for the viewport index firstViewport + i,
for i in [0, viewportCount).
Valid Usage
firstViewportmust be less thanPhysicalDeviceLimits::maxViewports
- The sum of
firstViewportandviewportCountmust be between1andPhysicalDeviceLimits::maxViewports, inclusive
Valid Usage (Implicit)
commandBuffermust be a validCommandBufferhandle
pViewportWScalingsmust be a valid pointer to an array ofviewportCountViewportWScalingNVstructurescommandBuffermust be in the recording state- The
CommandPoolthatcommandBufferwas allocated from must support graphics operations viewportCountmust be greater than0
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 ViewportWScalingNV Source #
VkViewportWScalingNV - Structure specifying a viewport
See Also
PipelineViewportWScalingStateCreateInfoNV, cmdSetViewportWScalingNV
Constructors
| ViewportWScalingNV | |
Instances
data PipelineViewportWScalingStateCreateInfoNV Source #
VkPipelineViewportWScalingStateCreateInfoNV - Structure specifying parameters of a newly created pipeline viewport W scaling state
Valid Usage (Implicit)
See Also
Constructors
| PipelineViewportWScalingStateCreateInfoNV | |
Fields
| |
Instances
type NV_CLIP_SPACE_W_SCALING_SPEC_VERSION = 1 Source #
pattern NV_CLIP_SPACE_W_SCALING_SPEC_VERSION :: forall a. Integral a => a Source #
type NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME = "VK_NV_clip_space_w_scaling" Source #
pattern NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #