Package org.lwjgl.vulkan
Class VkAttachmentReferenceStencilLayoutKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkAttachmentReferenceStencilLayout
-
- org.lwjgl.vulkan.VkAttachmentReferenceStencilLayoutKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkAttachmentReferenceStencilLayoutKHR extends VkAttachmentReferenceStencilLayout
SeeVkAttachmentReferenceStencilLayout.Layout
struct VkAttachmentReferenceStencilLayoutKHR { VkStructureType sType; void * pNext; VkImageLayout stencilLayout; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkAttachmentReferenceStencilLayoutKHR.BufferAn array ofVkAttachmentReferenceStencilLayoutKHRstructs.
-
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.VkAttachmentReferenceStencilLayout
ALIGNOF, PNEXT, SIZEOF, STENCILLAYOUT, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkAttachmentReferenceStencilLayoutKHR(java.nio.ByteBuffer container)Creates aVkAttachmentReferenceStencilLayoutKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkAttachmentReferenceStencilLayoutKHRcalloc()Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withmemCalloc.static VkAttachmentReferenceStencilLayoutKHR.Buffercalloc(int capacity)Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withmemCalloc.static VkAttachmentReferenceStencilLayoutKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentReferenceStencilLayoutKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkAttachmentReferenceStencilLayoutKHRcreate()Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withBufferUtils.static VkAttachmentReferenceStencilLayoutKHR.Buffercreate(int capacity)Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withBufferUtils.static VkAttachmentReferenceStencilLayoutKHRcreate(long address)Returns a newVkAttachmentReferenceStencilLayoutKHRinstance for the specified memory address.static VkAttachmentReferenceStencilLayoutKHR.Buffercreate(long address, int capacity)Create aVkAttachmentReferenceStencilLayoutKHR.Bufferinstance at the specified memory.static VkAttachmentReferenceStencilLayoutKHRcreateSafe(long address)static VkAttachmentReferenceStencilLayoutKHR.BuffercreateSafe(long address, int capacity)static VkAttachmentReferenceStencilLayoutKHRmalloc()Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withmemAlloc.static VkAttachmentReferenceStencilLayoutKHR.Buffermalloc(int capacity)Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withmemAlloc.static VkAttachmentReferenceStencilLayoutKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkAttachmentReferenceStencilLayoutKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated on the specifiedMemoryStack.VkAttachmentReferenceStencilLayoutKHRpNext(long value)Sets the specified value to thepNextfield.VkAttachmentReferenceStencilLayoutKHRset(int sType, long pNext, int stencilLayout)Initializes this struct with the specified values.VkAttachmentReferenceStencilLayoutKHRset(VkAttachmentReferenceStencilLayoutKHR src)Copies the specified struct data to this struct.VkAttachmentReferenceStencilLayoutKHRstencilLayout(int value)Sets the specified value to thestencilLayoutfield.VkAttachmentReferenceStencilLayoutKHRsType(int value)Sets the specified value to thesTypefield.VkAttachmentReferenceStencilLayoutKHRsType$Default()Sets theSTRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUTvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkAttachmentReferenceStencilLayout
npNext, npNext, nstencilLayout, nstencilLayout, nsType, nsType, pNext, set, sizeof, stencilLayout, sType
-
-
-
-
Constructor Detail
-
VkAttachmentReferenceStencilLayoutKHR
public VkAttachmentReferenceStencilLayoutKHR(java.nio.ByteBuffer container)
Creates aVkAttachmentReferenceStencilLayoutKHRinstance 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 VkAttachmentReferenceStencilLayoutKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkAttachmentReferenceStencilLayout
-
sType$Default
public VkAttachmentReferenceStencilLayoutKHR sType$Default()
Sets theSTRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUTvalue to thesTypefield.- Overrides:
sType$Defaultin classVkAttachmentReferenceStencilLayout
-
pNext
public VkAttachmentReferenceStencilLayoutKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkAttachmentReferenceStencilLayout
-
stencilLayout
public VkAttachmentReferenceStencilLayoutKHR stencilLayout(int value)
Sets the specified value to thestencilLayoutfield.- Overrides:
stencilLayoutin classVkAttachmentReferenceStencilLayout
-
set
public VkAttachmentReferenceStencilLayoutKHR set(int sType, long pNext, int stencilLayout)
Initializes this struct with the specified values.- Overrides:
setin classVkAttachmentReferenceStencilLayout
-
set
public VkAttachmentReferenceStencilLayoutKHR set(VkAttachmentReferenceStencilLayoutKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkAttachmentReferenceStencilLayoutKHR malloc()
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkAttachmentReferenceStencilLayoutKHR calloc()
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkAttachmentReferenceStencilLayoutKHR create()
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated withBufferUtils.
-
create
public static VkAttachmentReferenceStencilLayoutKHR create(long address)
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkAttachmentReferenceStencilLayoutKHR createSafe(long address)
-
malloc
public static VkAttachmentReferenceStencilLayoutKHR.Buffer malloc(int capacity)
Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkAttachmentReferenceStencilLayoutKHR.Buffer calloc(int capacity)
Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentReferenceStencilLayoutKHR.Buffer create(int capacity)
Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkAttachmentReferenceStencilLayoutKHR.Buffer create(long address, int capacity)
Create aVkAttachmentReferenceStencilLayoutKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkAttachmentReferenceStencilLayoutKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkAttachmentReferenceStencilLayoutKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkAttachmentReferenceStencilLayoutKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentReferenceStencilLayoutKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkAttachmentReferenceStencilLayoutKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkAttachmentReferenceStencilLayoutKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkAttachmentReferenceStencilLayoutKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-