VK_EXT_depth_range_unrestricted extension is enabled depth must be between 0.0 and 1.0, inclusiveVkClearValue, CmdClearDepthStencilImage
struct VkClearDepthStencilValue {
float depth;
uint32_t stencil;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkClearDepthStencilValue.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEPTH
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STENCIL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkClearDepthStencilValue(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkClearDepthStencilValue | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkClearDepthStencilValue. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue. | |
| public static VkClearDepthStencilValue. | |
| protected VkClearDepthStencilValue | 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 VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue | create(long address)
Returns a new |
| public static VkClearDepthStencilValue. | create(int
the buffer capacity capacity)Returns a new |
| public static VkClearDepthStencilValue. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue. | |
| public float | |
| public VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkClearDepthStencilValue | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkClearDepthStencilValue. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue | |
| public static VkClearDepthStencilValue. | |
| public static VkClearDepthStencilValue. | |
| public static float | |
| public static void | |
| public static int | |
| public static void | |
| public VkClearDepthStencilValue | |
| public VkClearDepthStencilValue | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkClearDepthStencilValue |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DEPTH | back to summary |
|---|---|
| public static final int DEPTH The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| STENCIL | back to summary |
|---|---|
| public static final int STENCIL The struct member offsets. | |
| VkClearDepthStencilValue | back to summary |
|---|---|
| protected VkClearDepthStencilValue(long address, ByteBuffer container) | |
| VkClearDepthStencilValue | back to summary |
|---|---|
| public VkClearDepthStencilValue(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkClearDepthStencilValue create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkClearDepthStencilValue create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkClearDepthStencilValue create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkClearDepthStencilValue createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Like
| |
| depth | back to summary |
|---|---|
| public float depth() the clear value for the depth aspect of the depth/stencil attachment. It is a floating-point value which is automatically converted to the attachment’s format. | |
| depth | back to summary |
|---|---|
| public VkClearDepthStencilValue depth(float value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearDepthStencilValue. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndepth | back to summary |
|---|---|
| public static float ndepth(long struct) Unsafe version of | |
| ndepth | back to summary |
|---|---|
| public static void ndepth(long struct, float value) Unsafe version of | |
| nstencil | back to summary |
|---|---|
| public static int nstencil(long struct) Unsafe version of | |
| nstencil | back to summary |
|---|---|
| public static void nstencil(long struct, int value) Unsafe version of | |
| set | back to summary |
|---|---|
| public VkClearDepthStencilValue set(float depth, int stencil) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkClearDepthStencilValue set(VkClearDepthStencilValue src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| stencil | back to summary |
|---|---|
| public int stencil() the clear value for the stencil aspect of the depth/stencil attachment. It is a 32-bit integer value which is converted to the attachment’s format by taking the appropriate number of LSBs.
| |
| stencil | back to summary |
|---|---|
| public VkClearDepthStencilValue stencil(int value) Sets the specified value to the | |
VkClearDepthStencilValue structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkClearDepthStencilValue |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public VkClearDepthStencilValue. | |
| protected VkClearDepthStencilValue | |
| protected VkClearDepthStencilValue. | |
| public int | |
| public VkClearDepthStencilValue. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkClearDepthStencilValue 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) | |
| depth | back to summary |
|---|---|
public float depth()
| |
| depth | back to summary |
|---|---|
| public VkClearDepthStencilValue. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkClearDepthStencilValue getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected VkClearDepthStencilValue. Implements abstract org.
| |
| stencil | back to summary |
|---|---|
public int stencil()
| |
| stencil | back to summary |
|---|---|
| public VkClearDepthStencilValue. Sets the specified value to the | |