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 class
VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
An array ofVkPhysicalDeviceMultiviewFeaturesKHR
structs.
-
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 aVkPhysicalDeviceMultiviewFeaturesKHR
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkPhysicalDeviceMultiviewFeaturesKHR
calloc()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withmemCalloc
.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceMultiviewFeaturesKHR
callocStack()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceMultiviewFeaturesKHR
create()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withBufferUtils
.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceMultiviewFeaturesKHR
create(long address)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance for the specified memory address.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance at the specified memory.static VkPhysicalDeviceMultiviewFeaturesKHR
createSafe(long address)
static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
createSafe(long address, int capacity)
static VkPhysicalDeviceMultiviewFeaturesKHR
malloc()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withmemAlloc
.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceMultiviewFeaturesKHR
mallocStack()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceMultiviewFeaturesKHR
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the specifiedMemoryStack
.VkPhysicalDeviceMultiviewFeaturesKHR
multiview(boolean value)
Sets the specified value to themultiview
field.VkPhysicalDeviceMultiviewFeaturesKHR
multiviewGeometryShader(boolean value)
Sets the specified value to themultiviewGeometryShader
field.VkPhysicalDeviceMultiviewFeaturesKHR
multiviewTessellationShader(boolean value)
Sets the specified value to themultiviewTessellationShader
field.VkPhysicalDeviceMultiviewFeaturesKHR
pNext(long value)
Sets the specified value to thepNext
field.VkPhysicalDeviceMultiviewFeaturesKHR
set(int sType, long pNext, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader)
Initializes this struct with the specified values.VkPhysicalDeviceMultiviewFeaturesKHR
set(VkPhysicalDeviceMultiviewFeaturesKHR src)
Copies the specified struct data to this struct.VkPhysicalDeviceMultiviewFeaturesKHR
sType(int value)
Sets the specified value to thesType
field.-
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 aVkPhysicalDeviceMultiviewFeaturesKHR
instance at the current position of the specifiedByteBuffer
container. 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 thesType
field.- Overrides:
sType
in classVkPhysicalDeviceMultiviewFeatures
-
pNext
public VkPhysicalDeviceMultiviewFeaturesKHR pNext(long value)
Sets the specified value to thepNext
field.- Overrides:
pNext
in classVkPhysicalDeviceMultiviewFeatures
-
multiview
public VkPhysicalDeviceMultiviewFeaturesKHR multiview(boolean value)
Sets the specified value to themultiview
field.- Overrides:
multiview
in classVkPhysicalDeviceMultiviewFeatures
-
multiviewGeometryShader
public VkPhysicalDeviceMultiviewFeaturesKHR multiviewGeometryShader(boolean value)
Sets the specified value to themultiviewGeometryShader
field.- Overrides:
multiviewGeometryShader
in classVkPhysicalDeviceMultiviewFeatures
-
multiviewTessellationShader
public VkPhysicalDeviceMultiviewFeaturesKHR multiviewTessellationShader(boolean value)
Sets the specified value to themultiviewTessellationShader
field.- Overrides:
multiviewTessellationShader
in classVkPhysicalDeviceMultiviewFeatures
-
set
public VkPhysicalDeviceMultiviewFeaturesKHR set(int sType, long pNext, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader)
Initializes this struct with the specified values.- Overrides:
set
in 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 newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceMultiviewFeaturesKHR calloc()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR create()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR create(long address)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceMultiviewFeaturesKHR createSafe(long address)
-
malloc
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer create(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance 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 newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR callocStack()
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceMultiviewFeaturesKHR.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceMultiviewFeaturesKHR.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
-