Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
commandBuffer
is the command buffer into which the command will be recorded.
firstViewport
is the index of the first viewport whose parameters are updated by the command.viewportCount
is the number of viewports whose parameters are updated by the command.pViewportWScalings
is a pointer to an array ofViewportWScalingNV
structures 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
firstViewport
must be less thanPhysicalDeviceLimits
::maxViewports
- The sum of
firstViewport
andviewportCount
must be between1
andPhysicalDeviceLimits
::maxViewports
, inclusive
Valid Usage (Implicit)
commandBuffer
must be a validCommandBuffer
handle
pViewportWScalings
must be a valid pointer to an array ofviewportCount
ViewportWScalingNV
structurescommandBuffer
must be in the recording state- The
CommandPool
thatcommandBuffer
was allocated from must support graphics operations viewportCount
must be greater than0
Host Synchronization
- Host access to
commandBuffer
must be externally synchronized
- Host access to the
CommandPool
thatcommandBuffer
was 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
Instances
data PipelineViewportWScalingStateCreateInfoNV Source #
VkPipelineViewportWScalingStateCreateInfoNV - Structure specifying parameters of a newly created pipeline viewport W scaling state
Valid Usage (Implicit)
See Also
PipelineViewportWScalingStateCreateInfoNV | |
|
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 #