Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- cmdSetViewportWScalingNV :: 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 :: 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 #