depthBounds feature is not enabled, depthBoundsTestEnable must be FALSEVK_KHR_portability_subset extension is enabled, and VkPhysicalDevicePortabilitySubsetFeaturesKHR::separateStencilMaskRef is FALSE, and the value of VkPipelineDepthStencilStateCreateInfo::stencilTestEnable is TRUE, and the value of VkPipelineRasterizationStateCreateInfo::cullMode is CULL_MODE_NONE, the value of reference in each of the VkStencilOpState structs in front and back must be the samerasterizationOrderDepthAttachmentAccess feature is not enabled, flags must not include PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_DEPTH_ACCESS_BIT_EXTrasterizationOrderStencilAttachmentAccess feature is not enabled, flags must not include PIPELINE_DEPTH_STENCIL_STATE_CREATE_RASTERIZATION_ORDER_ATTACHMENT_STENCIL_ACCESS_BIT_EXTsType must be STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFOpNext must be NULLflags must be a valid combination of VkPipelineDepthStencilStateCreateFlagBits valuesdepthCompareOp must be a valid VkCompareOp valuefront must be a valid VkStencilOpState structureback must be a valid VkStencilOpState structureVkGraphicsPipelineCreateInfo, VkStencilOpState
struct VkPipelineDepthStencilStateCreateInfo {
VkStructureType sType;
void const * pNext;
VkPipelineDepthStencilStateCreateFlags flags;
VkBool32 depthTestEnable;
VkBool32 depthWriteEnable;
VkCompareOp depthCompareOp;
VkBool32 depthBoundsTestEnable;
VkBool32 stencilTestEnable;
VkStencilOpState front;
VkStencilOpState back;
float minDepthBounds;
float maxDepthBounds;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPipelineDepthStencilStateCreateInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BACK
The struct member offsets. |
| public static final int | DEPTHBOUNDSTESTENABLE
The struct member offsets. |
| public static final int | DEPTHCOMPAREOP
The struct member offsets. |
| public static final int | DEPTHTESTENABLE
The struct member offsets. |
| public static final int | DEPTHWRITEENABLE
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | FRONT
The struct member offsets. |
| public static final int | MAXDEPTHBOUNDS
The struct member offsets. |
| public static final int | MINDEPTHBOUNDS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STENCILTESTENABLE
The struct member offsets. |
| public static final int | STYPE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPipelineDepthStencilStateCreateInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public VkStencilOpState | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo. | |
| public static VkPipelineDepthStencilStateCreateInfo. | |
| protected VkPipelineDepthStencilStateCreateInfo | 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 VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo | create(long address)
Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo. | |
| public boolean | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public int | depthCompareOp()
a |
| public VkPipelineDepthStencilStateCreateInfo | |
| public boolean | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public boolean | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public int | flags()
a bitmask of |
| public VkPipelineDepthStencilStateCreateInfo | |
| public VkStencilOpState | front()
|
| public VkPipelineDepthStencilStateCreateInfo | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo | |
| public static VkPipelineDepthStencilStateCreateInfo. | |
| public static VkPipelineDepthStencilStateCreateInfo. | |
| public float | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public float | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public static VkStencilOpState | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static VkStencilOpState | |
| public static void | |
| public static float | |
| public static void | |
| public static float | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public VkPipelineDepthStencilStateCreateInfo | set(int sType, long pNext, int flags, boolean depthTestEnable, boolean depthWriteEnable, int depthCompareOp, boolean depthBoundsTestEnable, boolean stencilTestEnable, VkStencilOpState front, VkStencilOpState back, float minDepthBounds, float maxDepthBounds)
Initializes this struct with the specified values. |
| public VkPipelineDepthStencilStateCreateInfo | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public boolean | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public int | |
| public VkPipelineDepthStencilStateCreateInfo | |
| public VkPipelineDepthStencilStateCreateInfo | sType$Default()
Sets the |