Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkExternalMemoryPropertiesKHR

extends VkExternalMemoryProperties
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

See VkExternalMemoryProperties.

Layout


struct VkExternalMemoryPropertiesKHR {
    VkExternalMemoryFeatureFlags externalMemoryFeatures;
    VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
    VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Inherited from org.lwjgl.vulkan.VkExternalMemoryProperties:
ALIGNOFCOMPATIBLEHANDLETYPESEXPORTFROMIMPORTEDHANDLETYPESEXTERNALMEMORYFEATURESSIZEOF

Constructor Summary

AccessConstructor and Description
protected
VkExternalMemoryPropertiesKHR(long address, ByteBuffer container)

public
VkExternalMemoryPropertiesKHR(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
protected VkExternalMemoryPropertiesKHR
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Overrides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

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

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

Returns a new VkExternalMemoryPropertiesKHR instance for the specified memory address.
public static VkExternalMemoryPropertiesKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

Create a VkExternalMemoryPropertiesKHR.Buffer instance at the specified memory.
public static VkExternalMemoryPropertiesKHR
createSafe(long address)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.createSafe.

Like create, but returns null if address is NULL.
public static VkExternalMemoryPropertiesKHR.Buffer
createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.createSafe.

Like create, but returns null if address is NULL.
Inherited from org.lwjgl.vulkan.VkExternalMemoryProperties:
compatibleHandleTypesexportFromImportedHandleTypesexternalMemoryFeaturesncompatibleHandleTypesnexportFromImportedHandleTypesnexternalMemoryFeaturessizeof

Constructor Detail

VkExternalMemoryPropertiesKHRback to summary
protected VkExternalMemoryPropertiesKHR(long address, ByteBuffer container)
VkExternalMemoryPropertiesKHRback to summary
public VkExternalMemoryPropertiesKHR(ByteBuffer container)

Creates a VkExternalMemoryPropertiesKHR instance at the current position of the specified ByteBuffer 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

createback to summary
protected VkExternalMemoryPropertiesKHR create(long address, ByteBuffer container)

Overrides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static VkExternalMemoryPropertiesKHR create(long address)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

Returns a new VkExternalMemoryPropertiesKHR instance for the specified memory address.

createback to summary
public static VkExternalMemoryPropertiesKHR.Buffer create(long address, int capacity)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.create.

Create a VkExternalMemoryPropertiesKHR.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static VkExternalMemoryPropertiesKHR createSafe(long address)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.createSafe.

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static VkExternalMemoryPropertiesKHR.Buffer createSafe(long address, int capacity)

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.createSafe.

Like create, but returns null if address is NULL.

Annotations
@Nullable
org.lwjgl.vulkan back to summary

public Class VkExternalMemoryPropertiesKHR.Buffer

extends Buffer
Class Inheritance

An array of VkExternalMemoryPropertiesKHR structs.

Field Summary

Modifier and TypeField and Description
private static final VkExternalMemoryPropertiesKHR

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new VkExternalMemoryPropertiesKHR.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
protected VkExternalMemoryPropertiesKHR
protected VkExternalMemoryPropertiesKHR.Buffer
Inherited from org.lwjgl.vulkan.VkExternalMemoryProperties.Buffer:
compatibleHandleTypesexportFromImportedHandleTypesexternalMemoryFeatures

Field Detail

ELEMENT_FACTORYback to summary
private static final VkExternalMemoryPropertiesKHR ELEMENT_FACTORY

Hides org.lwjgl.vulkan.VkExternalMemoryProperties.Buffer.ELEMENT_FACTORY.

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new VkExternalMemoryPropertiesKHR.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkExternalMemoryPropertiesKHR#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

getElementFactoryback to summary
protected VkExternalMemoryPropertiesKHR getElementFactory()

Overrides org.lwjgl.vulkan.VkExternalMemoryProperties.Buffer.getElementFactory.

Annotations
@Override
selfback to summary
protected VkExternalMemoryPropertiesKHR.Buffer self()

Overrides org.lwjgl.vulkan.VkExternalMemoryProperties.Buffer.self.

Annotations
@Override