Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceVulkan11Features

extends Struct<VkPhysicalDeviceVulkan11Features>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing the Vulkan 1.1 features that can be supported by an implementation.
Description

If the VkPhysicalDeviceVulkan11Features structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceVulkan11Features can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceVulkan11Features {
    VkStructureType sType;
    void * pNext;
    VkBool32 storageBuffer16BitAccess;
    VkBool32 uniformAndStorageBuffer16BitAccess;
    VkBool32 storagePushConstant16;
    VkBool32 storageInputOutput16;
    VkBool32 multiview;
    VkBool32 multiviewGeometryShader;
    VkBool32 multiviewTessellationShader;
    VkBool32 variablePointersStorageBuffer;
    VkBool32 variablePointers;
    VkBool32 protectedMemory;
    VkBool32 samplerYcbcrConversion;
    VkBool32 shaderDrawParameters;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
MULTIVIEW

The struct member offsets.

public static final int
MULTIVIEWGEOMETRYSHADER

The struct member offsets.

public static final int
MULTIVIEWTESSELLATIONSHADER

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PROTECTEDMEMORY

The struct member offsets.

public static final int
SAMPLERYCBCRCONVERSION

The struct member offsets.

public static final int
SHADERDRAWPARAMETERS

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STORAGEBUFFER16BITACCESS

The struct member offsets.

public static final int
STORAGEINPUTOUTPUT16

The struct member offsets.

public static final int
STORAGEPUSHCONSTANT16

The struct member offsets.

public static final int
STYPE

The struct member offsets.

public static final int
UNIFORMANDSTORAGEBUFFER16BITACCESS

The struct member offsets.

public static final int
VARIABLEPOINTERS

The struct member offsets.

public static final int
VARIABLEPOINTERSSTORAGEBUFFER

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceVulkan11Features(ByteBuffer container)

Creates a VkPhysicalDeviceVulkan11Features instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceVulkan11Features
calloc()

Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memCalloc.

public static VkPhysicalDeviceVulkan11Features.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceVulkan11Features
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceVulkan11Features.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkPhysicalDeviceVulkan11Features
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceVulkan11Features
create()

Returns a new VkPhysicalDeviceVulkan11Features instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan11Features
create(long address)

Returns a new VkPhysicalDeviceVulkan11Features instance for the specified memory address.

public static VkPhysicalDeviceVulkan11Features.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan11Features.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceVulkan11Features.Buffer instance at the specified memory.

public static VkPhysicalDeviceVulkan11Features
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceVulkan11Features.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceVulkan11Features
malloc()

Returns a new VkPhysicalDeviceVulkan11Features instance allocated with memAlloc.

public static VkPhysicalDeviceVulkan11Features.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceVulkan11Features
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan11Features instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceVulkan11Features.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan11Features.Buffer instance allocated on the specified MemoryStack.

public boolean
multiview()

specifies whether the implementation supports multiview rendering within a render pass.

public VkPhysicalDeviceVulkan11Features
multiview(boolean value)

Sets the specified value to the multiview field.

public boolean
multiviewGeometryShader()

specifies whether the implementation supports multiview rendering within a render pass, with geometry shaders.

public VkPhysicalDeviceVulkan11Features
multiviewGeometryShader(boolean value)

Sets the specified value to the multiviewGeometryShader field.

public boolean
multiviewTessellationShader()

specifies whether the implementation supports multiview rendering within a render pass, with tessellation shaders.

public VkPhysicalDeviceVulkan11Features
multiviewTessellationShader(boolean value)

Sets the specified value to the multiviewTessellationShader field.

public static int
nmultiview(long struct)

Unsafe version of multiview.

public static void
nmultiview(long struct, int value)

Unsafe version of multiview.

public static int
nmultiviewGeometryShader(long struct)

Unsafe version of multiviewGeometryShader.

public static void
nmultiviewGeometryShader(long struct, int value)

Unsafe version of multiviewGeometryShader.

public static int
public static void
nmultiviewTessellationShader(long struct, int value)

Unsafe version of multiviewTessellationShader.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nprotectedMemory(long struct)

Unsafe version of protectedMemory.

public static void
nprotectedMemory(long struct, int value)

Unsafe version of protectedMemory.

public static int
nsamplerYcbcrConversion(long struct)

Unsafe version of samplerYcbcrConversion.

public static void
nsamplerYcbcrConversion(long struct, int value)

Unsafe version of samplerYcbcrConversion.

public static int
nshaderDrawParameters(long struct)

Unsafe version of shaderDrawParameters.

public static void
nshaderDrawParameters(long struct, int value)

Unsafe version of shaderDrawParameters.

public static int
nstorageBuffer16BitAccess(long struct)

Unsafe version of storageBuffer16BitAccess.

public static void
nstorageBuffer16BitAccess(long struct, int value)

Unsafe version of storageBuffer16BitAccess.

public static int
nstorageInputOutput16(long struct)

Unsafe version of storageInputOutput16.

public static void
nstorageInputOutput16(long struct, int value)

Unsafe version of storageInputOutput16.

public static int
nstoragePushConstant16(long struct)

Unsafe version of storagePushConstant16.

public static void
nstoragePushConstant16(long struct, int value)

Unsafe version of storagePushConstant16.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
public static void
public static int
nvariablePointers(long struct)

Unsafe version of variablePointers.

public static void
nvariablePointers(long struct, int value)

Unsafe version of variablePointers.

public static int
public static void
nvariablePointersStorageBuffer(long struct, int value)

Unsafe version of variablePointersStorageBuffer.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceVulkan11Features
pNext(long value)

Sets the specified value to the pNext field.

public boolean
protectedMemory()

specifies whether protected memory is supported.

public VkPhysicalDeviceVulkan11Features
protectedMemory(boolean value)

Sets the specified value to the protectedMemory field.

public boolean
samplerYcbcrConversion()

specifies whether the implementation supports sampler Y′CBCR conversion.

public VkPhysicalDeviceVulkan11Features
samplerYcbcrConversion(boolean value)

Sets the specified value to the samplerYcbcrConversion field.

public VkPhysicalDeviceVulkan11Features
set(int sType, long pNext, boolean storageBuffer16BitAccess, boolean uniformAndStorageBuffer16BitAccess, boolean storagePushConstant16, boolean storageInputOutput16, boolean multiview, boolean multiviewGeometryShader, boolean multiviewTessellationShader, boolean variablePointersStorageBuffer, boolean variablePointers, boolean protectedMemory, boolean samplerYcbcrConversion, boolean shaderDrawParameters)

Initializes this struct with the specified values.

public VkPhysicalDeviceVulkan11Features

Returns:

this struct
set
(VkPhysicalDeviceVulkan11Features
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderDrawParameters()

specifies whether the implementation supports the SPIR-V DrawParameters capability.

public VkPhysicalDeviceVulkan11Features
shaderDrawParameters(boolean value)

Sets the specified value to the shaderDrawParameters field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public boolean
storageBuffer16BitAccess()

specifies whether objects in the StorageBuffer, ShaderRecordBufferKHR, or PhysicalStorageBuffer storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members.

public VkPhysicalDeviceVulkan11Features
storageBuffer16BitAccess(boolean value)

Sets the specified value to the storageBuffer16BitAccess field.

public boolean
storageInputOutput16()

specifies whether objects in the Input and Output storage classes can have 16-bit integer and 16-bit floating-point members.

public VkPhysicalDeviceVulkan11Features
storageInputOutput16(boolean value)

Sets the specified value to the storageInputOutput16 field.

public boolean
storagePushConstant16()

specifies whether objects in the PushConstant storage class can have 16-bit integer and 16-bit floating-point members.

public VkPhysicalDeviceVulkan11Features
storagePushConstant16(boolean value)

Sets the specified value to the storagePushConstant16 field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceVulkan11Features
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceVulkan11Features
public boolean
uniformAndStorageBuffer16BitAccess()

specifies whether objects in the Uniform storage class with the Block decoration can have 16-bit integer and 16-bit floating-point members.

public VkPhysicalDeviceVulkan11Features
uniformAndStorageBuffer16BitAccess(boolean value)

Sets the specified value to the uniformAndStorageBuffer16BitAccess field.

public boolean
variablePointers()

specifies whether the implementation supports the SPIR-V VariablePointers capability.

public VkPhysicalDeviceVulkan11Features
variablePointers(boolean value)

Sets the specified value to the variablePointers field.

public boolean
variablePointersStorageBuffer()

specifies whether the implementation supports the SPIR-V VariablePointersStorageBuffer capability.

public VkPhysicalDeviceVulkan11Features
variablePointersStorageBuffer(boolean value)

Sets the specified value to the variablePointersStorageBuffer field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate