The layers [baseArrayLayer, baseArrayLayer + layerCount) counting from the base layer of the attachment image view are cleared.
struct VkClearRect {
VkRect2D rect;
uint32_t baseArrayLayer;
uint32_t layerCount;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkClearRect.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BASEARRAYLAYER
The struct member offsets. |
| public static final int | LAYERCOUNT
The struct member offsets. |
| public static final int | RECT
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkClearRect(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkClearRect | |
| public static VkClearRect | |
| public static VkClearRect. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkClearRect | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkClearRect. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkClearRect | |
| public static VkClearRect | |
| public static VkClearRect. | |
| public static VkClearRect. | |
| protected VkClearRect | 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 VkClearRect | |
| public static VkClearRect | |
| public static VkClearRect. | create(int
the buffer capacity capacity)Returns a new |
| public static VkClearRect. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkClearRect | |
| public static VkClearRect. | |
| public int | |
| public VkClearRect | |
| public static VkClearRect | |
| public static VkClearRect. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkClearRect | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkClearRect. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkClearRect | |
| public static VkClearRect | |
| public static VkClearRect. | |
| public static VkClearRect. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static VkRect2D | |
| public static void | |
| public VkRect2D | |
| public VkClearRect | |
| public VkClearRect | |
| public VkClearRect | |
| public VkClearRect | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BASEARRAYLAYER | back to summary |
|---|---|
| public static final int BASEARRAYLAYER The struct member offsets. | |
| LAYERCOUNT | back to summary |
|---|---|
| public static final int LAYERCOUNT The struct member offsets. | |
| RECT | back to summary |
|---|---|
| public static final int RECT The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| VkClearRect | back to summary |
|---|---|
| protected VkClearRect(long address, ByteBuffer container) | |
| VkClearRect | back to summary |
|---|---|
| public VkClearRect(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| baseArrayLayer | back to summary |
|---|---|
| public int baseArrayLayer() the first layer to be cleared.
| |
| baseArrayLayer | back to summary |
|---|---|
| public VkClearRect baseArrayLayer(int value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static VkClearRect calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static VkClearRect. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkClearRect calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static VkClearRect. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static VkClearRect callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearRect callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearRect. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static VkClearRect. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected VkClearRect create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static VkClearRect create() Returns a new | |
| create | back to summary |
|---|---|
| public static VkClearRect create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static VkClearRect. Returns a new
| |
| create | back to summary |
|---|---|
| public static VkClearRect. Create a
| |
| createSafe | back to summary |
|---|---|
| public static VkClearRect createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static VkClearRect. Like
| |
| layerCount | back to summary |
|---|---|
| public int layerCount() the number of layers to clear.
| |
| layerCount | back to summary |
|---|---|
| public VkClearRect layerCount(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static VkClearRect malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static VkClearRect. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkClearRect malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static VkClearRect. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearRect mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearRect mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearRect. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static VkClearRect. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nbaseArrayLayer | back to summary |
|---|---|
| public static int nbaseArrayLayer(long struct) Unsafe version of | |
| nbaseArrayLayer | back to summary |
|---|---|
| public static void nbaseArrayLayer(long struct, int value) Unsafe version of | |
| nlayerCount | back to summary |
|---|---|
| public static int nlayerCount(long struct) Unsafe version of | |
| nlayerCount | back to summary |
|---|---|
| public static void nlayerCount(long struct, int value) Unsafe version of | |
| nrect | back to summary |
|---|---|
| public static VkRect2D nrect(long struct) Unsafe version of | |
| nrect | back to summary |
|---|---|
| public static void nrect(long struct, VkRect2D value) Unsafe version of | |
| rect | back to summary |
|---|---|
| public VkRect2D rect() the two-dimensional region to be cleared. | |
| rect | back to summary |
|---|---|
| public VkClearRect rect(VkRect2D value) | |
| rect | back to summary |
|---|---|
| public VkClearRect rect(Consumer<VkRect2D> consumer) | |
| set | back to summary |
|---|---|
| public VkClearRect set(VkRect2D rect, int baseArrayLayer, int layerCount) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public VkClearRect set(VkClearRect src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
VkClearRect structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final VkClearRect |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public VkClearRect. | |
| protected VkClearRect | |
| public int | |
| public VkClearRect. | |
| public VkRect2D | |
| public VkClearRect. | |
| public VkClearRect. | |
| protected VkClearRect. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final VkClearRect 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) | |
| baseArrayLayer | back to summary |
|---|---|
public int baseArrayLayer()
| |
| baseArrayLayer | back to summary |
|---|---|
| public VkClearRect. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected VkClearRect getElementFactory() Implements abstract org.
| |
| layerCount | back to summary |
|---|---|
public int layerCount()
| |
| layerCount | back to summary |
|---|---|
| public VkClearRect. Sets the specified value to the | |
| rect | back to summary |
|---|---|
public VkRect2D rect()
| |
| rect | back to summary |
|---|---|
| public VkClearRect. Copies the specified | |
| rect | back to summary |
|---|---|
| public VkClearRect. Passes the | |
| self | back to summary |
|---|---|
| protected VkClearRect. Implements abstract org.
| |