Package org.lwjgl.vulkan
Class VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR extends VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
SeeVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures.Layout
struct VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 separateDepthStencilLayouts; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.BufferAn array ofVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRstructs.
-
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.VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
ALIGNOF, PNEXT, SEPARATEDEPTHSTENCILLAYOUTS, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRcalloc()Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRcreate()Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRmalloc()Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRseparateDepthStencilLayouts(boolean value)Sets the specified value to theseparateDepthStencilLayoutsfield.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRset(int sType, long pNext, boolean separateDepthStencilLayouts)Initializes this struct with the specified values.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRset(VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
npNext, npNext, nseparateDepthStencilLayouts, nseparateDepthStencilLayouts, nsType, nsType, pNext, separateDepthStencilLayouts, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance 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 VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
sType$Default
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
pNext
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
separateDepthStencilLayouts
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR separateDepthStencilLayouts(boolean value)
Sets the specified value to theseparateDepthStencilLayoutsfield.- Overrides:
separateDepthStencilLayoutsin classVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
set
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR set(int sType, long pNext, boolean separateDepthStencilLayouts)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
-
set
public VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR set(VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR malloc()
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR calloc()
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR create()
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer createSafe(long address, int capacity)
-
malloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-