failOp must be a valid VkStencilOp valuepassOp must be a valid VkStencilOp valuedepthFailOp must be a valid VkStencilOp valuecompareOp must be a valid VkCompareOp valueVkPipelineDepthStencilStateCreateInfo
struct VkStencilOpState {
VkStencilOp failOp;
VkStencilOp passOp;
VkStencilOp depthFailOp;
VkCompareOp compareOp;
uint32_t compareMask;
uint32_t writeMask;
uint32_t reference;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkStencilOpState.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMPAREMASK
The struct member offsets. |
| public static final int | COMPAREOP
The struct member offsets. |
| public static final int | DEPTHFAILOP
The struct member offsets. |
| public static final int | FAILOP
The struct member offsets. |
| public static final int | PASSOP
The struct member offsets. |
| public static final int | REFERENCE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | WRITEMASK
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkStencilOpState(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkStencilOpState | |
| public static VkStencilOpState. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkStencilOpState | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkStencilOpState. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkStencilOpState | |
| public static VkStencilOpState | |
| public static VkStencilOpState. | |
| public static VkStencilOpState. | |
| public int | compareMask()
selects the bits of the unsigned integer stencil values participating in the stencil test. |
| public VkStencilOpState | |
| public int | |
| public VkStencilOpState | |
| protected VkStencilOpState | 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 VkStencilOpState | |
| public static VkStencilOpState | |
| public static VkStencilOpState. | create(int
the buffer capacity capacity)Returns a new |
| public static VkStencilOpState. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkStencilOpState | |
| public static VkStencilOpState. | |
| public int | depthFailOp()
a |
| public VkStencilOpState | |
| public int | |
| public VkStencilOpState | |
| public static VkStencilOpState | |
| public static VkStencilOpState. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkStencilOpState | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkStencilOpState. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkStencilOpState | |
| public static VkStencilOpState | |
| public static VkStencilOpState. | |
| public static VkStencilOpState. | |
| 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 int | |
| public static void | |
| public static int | |
| public static void | |
| public int | passOp()
a |
| public VkStencilOpState | |
| public int | |
| public VkStencilOpState | |
| public VkStencilOpState | set(int failOp, int passOp, int depthFailOp, int compareOp, int compareMask, int writeMask, int reference)
Initializes this struct with the specified values. |
| public VkStencilOpState | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | writeMask()
selects the bits of the unsigned integer stencil values updated by the stencil test in the stencil framebuffer attachment. |
| public VkStencilOpState |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COMPAREMASK | back to summary |
|---|---|
| public static final int COMPAREMASK The struct member offsets. | |
| COMPAREOP | back to summary |
|---|---|
| public static final int COMPAREOP The struct member offsets. | |
| DEPTHFAILOP | back to summary |
|---|---|
| public static final int DEPTHFAILOP The struct member offsets. | |
| FAILOP | back to summary |
|---|---|
| public static final int FAILOP The struct member offsets. | |
| PASSOP | back to summary |
|---|---|
| public static final int PASSOP The struct member offsets. | |
| REFERENCE | back to summary |
|---|---|
| public static final int REFERENCE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| WRITEMASK | back to summary |
|---|---|
| public static final int WRITEMASK The struct member offsets. | |
| VkStencilOpState | back to summary |
|---|---|
| protected VkStencilOpState(long address, ByteBuffer container) | |
| VkStencilOpState | back to summary |
|---|---|
| public VkStencilOpState(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkStencilOpState calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkStencilOpState. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkStencilOpState calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkStencilOpState. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkStencilOpState callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkStencilOpState callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkStencilOpState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkStencilOpState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| compareMask | back to summary |
|---|---|
| public int compareMask() selects the bits of the unsigned integer stencil values participating in the stencil test.
| |
| compareMask | back to summary |
|---|---|
| public VkStencilOpState compareMask(int value) Sets the specified value to the | |
| compareOp | back to summary |
|---|---|
| public int compareOp() a
| |
| compareOp | back to summary |
|---|---|
| public VkStencilOpState compareOp(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected VkStencilOpState create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkStencilOpState create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkStencilOpState create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkStencilOpState. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkStencilOpState. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkStencilOpState createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkStencilOpState. Like
| |
| depthFailOp | back to summary |
|---|---|
| public int depthFailOp() a
| |
| depthFailOp | back to summary |
|---|---|
| public VkStencilOpState depthFailOp(int value) Sets the specified value to the | |
| failOp | back to summary |
|---|---|
| public int failOp() a
| |
| failOp | back to summary |
|---|---|
| public VkStencilOpState failOp(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkStencilOpState malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkStencilOpState. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkStencilOpState malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkStencilOpState. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkStencilOpState mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkStencilOpState mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkStencilOpState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkStencilOpState. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ncompareMask | back to summary |
|---|---|
| public static int ncompareMask(long struct) Unsafe version of | |
| ncompareMask | back to summary |
|---|---|
| public static void ncompareMask(long struct, int value) Unsafe version of | |
| ncompareOp | back to summary |
|---|---|
| public static int ncompareOp(long struct) Unsafe version of | |
| ncompareOp | back to summary |
|---|---|
| public static void ncompareOp(long struct, int value) Unsafe version of | |
| ndepthFailOp | back to summary |
|---|---|
| public static int ndepthFailOp(long struct) Unsafe version of | |
| ndepthFailOp | back to summary |
|---|---|
| public static void ndepthFailOp(long struct, int value) Unsafe version of | |
| nfailOp | back to summary |
|---|---|
| public static int nfailOp(long struct) Unsafe version of | |
| nfailOp | back to summary |
|---|---|
| public static void nfailOp(long struct, int value) Unsafe version of | |
| npassOp | back to summary |
|---|---|
| public static int npassOp(long struct) Unsafe version of | |
| npassOp | back to summary |
|---|---|
| public static void npassOp(long struct, int value) Unsafe version of | |
| nreference | back to summary |
|---|---|
| public static int nreference(long struct) Unsafe version of | |
| nreference | back to summary |
|---|---|
| public static void nreference(long struct, int value) Unsafe version of | |
| nwriteMask | back to summary |
|---|---|
| public static int nwriteMask(long struct) Unsafe version of | |
| nwriteMask | back to summary |
|---|---|
| public static void nwriteMask(long struct, int value) Unsafe version of | |
| passOp | back to summary |
|---|---|
| public int passOp() a
| |
| passOp | back to summary |
|---|---|
| public VkStencilOpState passOp(int value) Sets the specified value to the | |
| reference | back to summary |
|---|---|
| public int reference() an integer stencil reference value that is used in the unsigned stencil comparison.
| |
| reference | back to summary |
|---|---|
| public VkStencilOpState reference(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public VkStencilOpState set(int failOp, int passOp, int depthFailOp, int compareOp, int compareMask, int writeMask, int reference) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkStencilOpState set(VkStencilOpState src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| writeMask | back to summary |
|---|---|
| public int writeMask() selects the bits of the unsigned integer stencil values updated by the stencil test in the stencil framebuffer attachment.
| |
| writeMask | back to summary |
|---|---|
| public VkStencilOpState writeMask(int value) Sets the specified value to the | |
VkStencilOpState structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkStencilOpState |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkStencilOpState. | |
| public int | |
| public VkStencilOpState. | |
| public int | |
| public VkStencilOpState. | |
| public int | |
| public VkStencilOpState. | |
| protected VkStencilOpState | |
| public int | |
| public VkStencilOpState. | |
| public int | |
| public VkStencilOpState. | |
| protected VkStencilOpState. | |
| public int | |
| public VkStencilOpState. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkStencilOpState ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| compareMask | back to summary |
|---|---|
public int compareMask()
| |
| compareMask | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| compareOp | back to summary |
|---|---|
public int compareOp()
| |
| compareOp | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| depthFailOp | back to summary |
|---|---|
public int depthFailOp()
| |
| depthFailOp | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| failOp | back to summary |
|---|---|
public int failOp()
| |
| failOp | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkStencilOpState getElementFactory() Implements abstract org.
| |
| passOp | back to summary |
|---|---|
public int passOp()
| |
| passOp | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| reference | back to summary |
|---|---|
public int reference()
| |
| reference | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected VkStencilOpState. Implements abstract org.
| |
| writeMask | back to summary |
|---|---|
public int writeMask()
| |
| writeMask | back to summary |
|---|---|
| public VkStencilOpState. Sets the specified value to the | |