Package org.lwjgl.vulkan
Class VkAttachmentDescriptionStencilLayoutKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkAttachmentDescriptionStencilLayout
-
- org.lwjgl.vulkan.VkAttachmentDescriptionStencilLayoutKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkAttachmentDescriptionStencilLayoutKHR extends VkAttachmentDescriptionStencilLayout
SeeVkAttachmentDescriptionStencilLayout.Layout
struct VkAttachmentDescriptionStencilLayoutKHR { VkStructureType sType; void * pNext; VkImageLayout stencilInitialLayout; VkImageLayout stencilFinalLayout; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkAttachmentDescriptionStencilLayoutKHR.BufferAn array ofVkAttachmentDescriptionStencilLayoutKHRstructs.
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Fields inherited from class org.lwjgl.vulkan.VkAttachmentDescriptionStencilLayout
ALIGNOF, PNEXT, SIZEOF, STENCILFINALLAYOUT, STENCILINITIALLAYOUT, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkAttachmentDescriptionStencilLayoutKHR(java.nio.ByteBuffer container)Creates aVkAttachmentDescriptionStencilLayoutKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkAttachmentDescriptionStencilLayoutKHRcalloc()Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withmemCalloc.static VkAttachmentDescriptionStencilLayoutKHR.Buffercalloc(int capacity)Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withmemCalloc.static VkAttachmentDescriptionStencilLayoutKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentDescriptionStencilLayoutKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentDescriptionStencilLayoutKHRcreate()Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withBufferUtils.static VkAttachmentDescriptionStencilLayoutKHR.Buffercreate(int capacity)Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withBufferUtils.static VkAttachmentDescriptionStencilLayoutKHRcreate(long address)Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance for the specified memory address.static VkAttachmentDescriptionStencilLayoutKHR.Buffercreate(long address, int capacity)Create aVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance at the specified memory.static VkAttachmentDescriptionStencilLayoutKHRcreateSafe(long address)static VkAttachmentDescriptionStencilLayoutKHR.BuffercreateSafe(long address, int capacity)static VkAttachmentDescriptionStencilLayoutKHRmalloc()Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withmemAlloc.static VkAttachmentDescriptionStencilLayoutKHR.Buffermalloc(int capacity)Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withmemAlloc.static VkAttachmentDescriptionStencilLayoutKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkAttachmentDescriptionStencilLayoutKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated on the specifiedMemoryStack.VkAttachmentDescriptionStencilLayoutKHRpNext(long value)Sets the specified value to thepNextfield.VkAttachmentDescriptionStencilLayoutKHRset(int sType, long pNext, int stencilInitialLayout, int stencilFinalLayout)Initializes this struct with the specified values.VkAttachmentDescriptionStencilLayoutKHRset(VkAttachmentDescriptionStencilLayoutKHR src)Copies the specified struct data to this struct.VkAttachmentDescriptionStencilLayoutKHRstencilFinalLayout(int value)Sets the specified value to thestencilFinalLayoutfield.VkAttachmentDescriptionStencilLayoutKHRstencilInitialLayout(int value)Sets the specified value to thestencilInitialLayoutfield.VkAttachmentDescriptionStencilLayoutKHRsType(int value)Sets the specified value to thesTypefield.VkAttachmentDescriptionStencilLayoutKHRsType$Default()Sets theSTRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUTvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkAttachmentDescriptionStencilLayout
npNext, npNext, nstencilFinalLayout, nstencilFinalLayout, nstencilInitialLayout, nstencilInitialLayout, nsType, nsType, pNext, set, sizeof, stencilFinalLayout, stencilInitialLayout, sType
-
-
-
-
Constructor Detail
-
VkAttachmentDescriptionStencilLayoutKHR
public VkAttachmentDescriptionStencilLayoutKHR(java.nio.ByteBuffer container)
Creates aVkAttachmentDescriptionStencilLayoutKHRinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sType
public VkAttachmentDescriptionStencilLayoutKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkAttachmentDescriptionStencilLayout
-
sType$Default
public VkAttachmentDescriptionStencilLayoutKHR sType$Default()
Sets theSTRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUTvalue to thesTypefield.- Overrides:
sType$Defaultin classVkAttachmentDescriptionStencilLayout
-
pNext
public VkAttachmentDescriptionStencilLayoutKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkAttachmentDescriptionStencilLayout
-
stencilInitialLayout
public VkAttachmentDescriptionStencilLayoutKHR stencilInitialLayout(int value)
Sets the specified value to thestencilInitialLayoutfield.- Overrides:
stencilInitialLayoutin classVkAttachmentDescriptionStencilLayout
-
stencilFinalLayout
public VkAttachmentDescriptionStencilLayoutKHR stencilFinalLayout(int value)
Sets the specified value to thestencilFinalLayoutfield.- Overrides:
stencilFinalLayoutin classVkAttachmentDescriptionStencilLayout
-
set
public VkAttachmentDescriptionStencilLayoutKHR set(int sType, long pNext, int stencilInitialLayout, int stencilFinalLayout)
Initializes this struct with the specified values.- Overrides:
setin classVkAttachmentDescriptionStencilLayout
-
set
public VkAttachmentDescriptionStencilLayoutKHR set(VkAttachmentDescriptionStencilLayoutKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkAttachmentDescriptionStencilLayoutKHR malloc()
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkAttachmentDescriptionStencilLayoutKHR calloc()
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkAttachmentDescriptionStencilLayoutKHR create()
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated withBufferUtils.
-
create
public static VkAttachmentDescriptionStencilLayoutKHR create(long address)
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkAttachmentDescriptionStencilLayoutKHR createSafe(long address)
-
malloc
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer malloc(int capacity)
Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer calloc(int capacity)
Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer create(int capacity)
Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer create(long address, int capacity)
Create aVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkAttachmentDescriptionStencilLayoutKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkAttachmentDescriptionStencilLayoutKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAttachmentDescriptionStencilLayoutKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentDescriptionStencilLayoutKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkAttachmentDescriptionStencilLayoutKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentDescriptionStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-