Package org.lwjgl.vulkan
Class VkPhysicalDeviceMultiviewFeaturesKHR
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceMultiviewFeatures
-
- org.lwjgl.vulkan.VkPhysicalDeviceMultiviewFeaturesKHR
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkPhysicalDeviceMultiviewFeaturesKHR extends VkPhysicalDeviceMultiviewFeatures
SeeVkPhysicalDeviceMultiviewFeatures.Layout
struct VkPhysicalDeviceMultiviewFeaturesKHR { VkStructureType sType; void * pNext; VkBool32 multiview; VkBool32 multiviewGeometryShader; VkBool32 multiviewTessellationShader; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkPhysicalDeviceMultiviewFeaturesKHR.BufferAn array ofVkPhysicalDeviceMultiviewFeaturesKHRstructs.
-
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.VkPhysicalDeviceMultiviewFeatures
ALIGNOF, MULTIVIEW, MULTIVIEWGEOMETRYSHADER, MULTIVIEWTESSELLATIONSHADER, PNEXT, SIZEOF, STYPE
-
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceMultiviewFeaturesKHR(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceMultiviewFeaturesKHRinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMultiviewFeaturesKHRcalloc()Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withmemCalloc.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceMultiviewFeaturesKHRcallocStack()Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHRcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHRcreate()Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withBufferUtils.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffercreate(int capacity)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceMultiviewFeaturesKHRcreate(long address)Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance for the specified memory address.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance at the specified memory.static VkPhysicalDeviceMultiviewFeaturesKHRcreateSafe(long address)static VkPhysicalDeviceMultiviewFeaturesKHR.BuffercreateSafe(long address, int capacity)static VkPhysicalDeviceMultiviewFeaturesKHRmalloc()Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withmemAlloc.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceMultiviewFeaturesKHRmallocStack()Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceMultiviewFeaturesKHR.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceMultiviewFeaturesKHR.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceMultiviewFeaturesKHRmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the specifiedMemoryStack.VkPhysicalDeviceMultiviewFeaturesKHRmultiview(boolean value)Sets the specified value to themultiviewfield.VkPhysicalDeviceMultiviewFeaturesKHRmultiviewGeometryShader(boolean value)Sets the specified value to themultiviewGeometryShaderfield.VkPhysicalDeviceMultiviewFeaturesKHRmultiviewTessellationShader(boolean value)Sets the specified value to themultiviewTessellationShaderfield.VkPhysicalDeviceMultiviewFeaturesKHRpNext(long value)Sets the specified value to thepNextfield.VkPhysicalDeviceMultiviewFeaturesKHRset(int sType, long pNext, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader)Initializes this struct with the specified values.VkPhysicalDeviceMultiviewFeaturesKHRset(VkPhysicalDeviceMultiviewFeaturesKHR src)Copies the specified struct data to this struct.VkPhysicalDeviceMultiviewFeaturesKHRsType(int value)Sets the specified value to thesTypefield.-
Methods inherited from class org.lwjgl.vulkan.VkPhysicalDeviceMultiviewFeatures
multiview, multiviewGeometryShader, multiviewTessellationShader, nmultiview, nmultiview, nmultiviewGeometryShader, nmultiviewGeometryShader, nmultiviewTessellationShader, nmultiviewTessellationShader, npNext, npNext, nsType, nsType, pNext, set, sizeof, sType
-
-
-
-
Constructor Detail
-
VkPhysicalDeviceMultiviewFeaturesKHR
public VkPhysicalDeviceMultiviewFeaturesKHR(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceMultiviewFeaturesKHRinstance 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 VkPhysicalDeviceMultiviewFeaturesKHR sType(int value)
Sets the specified value to thesTypefield.- Overrides:
sTypein classVkPhysicalDeviceMultiviewFeatures
-
pNext
public VkPhysicalDeviceMultiviewFeaturesKHR pNext(long value)
Sets the specified value to thepNextfield.- Overrides:
pNextin classVkPhysicalDeviceMultiviewFeatures
-
multiview
public VkPhysicalDeviceMultiviewFeaturesKHR multiview(boolean value)
Sets the specified value to themultiviewfield.- Overrides:
multiviewin classVkPhysicalDeviceMultiviewFeatures
-
multiviewGeometryShader
public VkPhysicalDeviceMultiviewFeaturesKHR multiviewGeometryShader(boolean value)
Sets the specified value to themultiviewGeometryShaderfield.- Overrides:
multiviewGeometryShaderin classVkPhysicalDeviceMultiviewFeatures
-
multiviewTessellationShader
public VkPhysicalDeviceMultiviewFeaturesKHR multiviewTessellationShader(boolean value)
Sets the specified value to themultiviewTessellationShaderfield.- Overrides:
multiviewTessellationShaderin classVkPhysicalDeviceMultiviewFeatures
-
set
public VkPhysicalDeviceMultiviewFeaturesKHR set(int sType, long pNext, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader)
Initializes this struct with the specified values.- Overrides:
setin classVkPhysicalDeviceMultiviewFeatures
-
set
public VkPhysicalDeviceMultiviewFeaturesKHR set(VkPhysicalDeviceMultiviewFeaturesKHR src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceMultiviewFeaturesKHR malloc()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMultiviewFeaturesKHR calloc()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR create()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMultiviewFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR mallocStack()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
-