multiViewport feature is not enabled, viewportCount must not be greater than 1multiViewport feature is not enabled, scissorCount must not be greater than 1viewportCount must be less than or equal to VkPhysicalDeviceLimits::maxViewportsscissorCount must be less than or equal to VkPhysicalDeviceLimits::maxViewportsx and y members of offset member of any element of pScissors must be greater than or equal to 0(offset.x + extent.width) must not cause a signed integer addition overflow for any element of pScissors(offset.y + extent.height) must not cause a signed integer addition overflow for any element of pScissorsscissorCount and viewportCount are both not dynamic, then scissorCount and viewportCount must be identicalDYNAMIC_STATE_VIEWPORT_WITH_COUNT set then viewportCount must be 0, otherwise it must be greater than 0DYNAMIC_STATE_SCISSOR_WITH_COUNT set then scissorCount must be 0, otherwise it must be greater than 0viewportWScalingEnable member of a VkPipelineViewportWScalingStateCreateInfoNV structure included in the pNext chain is TRUE, the viewportCount member of the VkPipelineViewportWScalingStateCreateInfoNV structure must be greater than or equal to VkPipelineViewportStateCreateInfo::viewportCountsType must be STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFOpNext member of any structure (including this one) in the pNext chain must be either NULL or a pointer to a valid instance of VkPipelineViewportCoarseSampleOrderStateCreateInfoNV, VkPipelineViewportDepthClipControlCreateInfoEXT, VkPipelineViewportExclusiveScissorStateCreateInfoNV, VkPipelineViewportShadingRateImageStateCreateInfoNV, VkPipelineViewportSwizzleStateCreateInfoNV, or VkPipelineViewportWScalingStateCreateInfoNVsType value of each struct in the pNext chain must be uniqueflags must be 0VkGraphicsPipelineCreateInfo, VkRect2D, VkViewport
struct VkPipelineViewportStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineViewportStateCreateFlags flags;
uint32_t viewportCount;
VkViewport const * pViewports;
uint32_t scissorCount;
VkRect2D const * pScissors;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineViewportStateCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | PSCISSORS
The struct member offsets. |
| public static final int | PVIEWPORTS
The struct member offsets. |
| public static final int | SCISSORCOUNT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | VIEWPORTCOUNT
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineViewportStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineViewportStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineViewportStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo. | |
| public static VkPipelineViewportStateCreateInfo. | |
| protected VkPipelineViewportStateCreateInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineViewportStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineViewportStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo. | |
| public int | |
| public VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineViewportStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineViewportStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo | |
| public static VkPipelineViewportStateCreateInfo. | |
| public static VkPipelineViewportStateCreateInfo. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static VkRect2D. | |
| public static void | |
| public static VkViewport. | |
| public static void | |
| public static int | |
| public static void | nscissorCount(long struct, int value)
Sets the specified value to the |
| public static int | |
| public static void | |
| public static int | |
| public static void | nviewportCount(long struct, int value)
Sets the specified value to the |
| public long | |
| public VkPipelineViewportStateCreateInfo | |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportCoarseSampleOrderStateCreateInfoNV value)
Prepends the specified |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportDepthClipControlCreateInfoEXT value)
Prepends the specified |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportExclusiveScissorStateCreateInfoNV value)
Prepends the specified |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportShadingRateImageStateCreateInfoNV value)
Prepends the specified |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportSwizzleStateCreateInfoNV value)
Prepends the specified |
| public VkPipelineViewportStateCreateInfo | pNext(VkPipelineViewportWScalingStateCreateInfoNV value)
Prepends the specified |
| public VkRect2D. | |
| public VkPipelineViewportStateCreateInfo | pScissors(VkRect2D.
Sets the address of the specified |
| public VkViewport. | |
| public VkPipelineViewportStateCreateInfo | pViewports(VkViewport.
Sets the address of the specified |
| public int | |
| public VkPipelineViewportStateCreateInfo | |
| public VkPipelineViewportStateCreateInfo | set(int sType, long pNext, int flags, int viewportCount, VkViewport.
Initializes this struct with the specified values. |
| public VkPipelineViewportStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkPipelineViewportStateCreateInfo | |
| public VkPipelineViewportStateCreateInfo | sType$Default()
Sets the |
| public int | |
| public VkPipelineViewportStateCreateInfo |