Package org.lwjgl.vulkan
Class VkPhysicalDeviceScalarBlockLayoutFeaturesEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceScalarBlockLayoutFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceScalarBlockLayoutFeaturesEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceScalarBlockLayoutFeaturesEXT extends VkPhysicalDeviceScalarBlockLayoutFeatures
SeeVkPhysicalDeviceScalarBlockLayoutFeatures.Layout
struct VkPhysicalDeviceScalarBlockLayoutFeaturesEXT { VkStructureType sType; void * pNext; VkBool32 scalarBlockLayout; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BufferAn array ofVkPhysicalDeviceScalarBlockLayoutFeaturesEXTstructs.
-
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.VkPhysicalDeviceScalarBlockLayoutFeatures
ALIGNOF, PNEXT, SCALARBLOCKLAYOUT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcalloc()Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withmemCalloc.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcallocStack()Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BuffercallocStack(int capacity)Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcreate()Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withBufferUtils.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffercreate(int capacity)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcreate(long address)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance for the specified memory address.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance at the specified memory.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTcreateSafe(long address)static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTmalloc()Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withmemAlloc.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTmallocStack()Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BuffermallocStack(int capacity)Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static VkPhysicalDeviceScalarBlockLayoutFeaturesEXTmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTscalarBlockLayout(boolean value)Sets the specified value to thescalarBlockLayoutfield.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTset(int sType, long pNext, boolean scalarBlockLayout)Initializes this struct with the specified values.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTset(VkPhysicalDeviceScalarBlockLayoutFeaturesEXT src)Copies the specified struct data to this struct.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTsType(int value)Sets the specified value to thesTypefield.VkPhysicalDeviceScalarBlockLayoutFeaturesEXTsType$Default()Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURESvalue to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceScalarBlockLayoutFeatures
npNext, npNext, nscalarBlockLayout, nscalarBlockLayout, nsType, nsType, pNext, scalarBlockLayout, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceScalarBlockLayoutFeaturesEXT
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance 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 VkPhysicalDeviceScalarBlockLayoutFeaturesEXT sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceScalarBlockLayoutFeatures
-
sType$Default
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT sType$Default()
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURESvalue to thesTypefield.- Overrides:
sType$Defaultin classVkPhysicalDeviceScalarBlockLayoutFeatures
-
pNext
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceScalarBlockLayoutFeatures
-
scalarBlockLayout
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT scalarBlockLayout(boolean value)
Sets the specified value to thescalarBlockLayoutfield.- Overrides:
scalarBlockLayoutin classVkPhysicalDeviceScalarBlockLayoutFeatures
-
set
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT set(int sType, long pNext, boolean scalarBlockLayout)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceScalarBlockLayoutFeatures
-
set
public VkPhysicalDeviceScalarBlockLayoutFeaturesEXT set(VkPhysicalDeviceScalarBlockLayoutFeaturesEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT malloc()
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT calloc()
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT create()
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT create(long address)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT createSafe(long address)
-
malloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer create(int capacity)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceScalarBlockLayoutFeaturesEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-