Top Description Inners Fields Constructors Methods
org.lwjgl.cuda

public Class CUmemAllocationProp

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

Layout


struct CUmemAllocationProp {
    CUmemAllocationType type;
    CUmemAllocationHandleType requestedHandleTypes;
    CUmemLocation location;
    void * win32HandleMetaData;
    struct {
        unsigned char compressionType;
        unsigned char gpuDirectRDMACapable;
        unsigned short usage;
        unsigned char reserved[4];
    } allocFlags;
}

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
ALLOCFLAGS

The struct member offsets.

public static final int
ALLOCFLAGS_COMPRESSIONTYPE

The struct member offsets.

public static final int
ALLOCFLAGS_GPUDIRECTRDMACAPABLE

The struct member offsets.

public static final int
ALLOCFLAGS_RESERVED

The struct member offsets.

public static final int
ALLOCFLAGS_USAGE

The struct member offsets.

public static final int
LOCATION

The struct member offsets.

public static final int
REQUESTEDHANDLETYPES

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
TYPE

The struct member offsets.

public static final int
WIN32HANDLEMETADATA

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

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

public
CUmemAllocationProp(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public byte

Returns:

the value of the allocFlags.compressionType field.
allocFlags_compressionType
()

public CUmemAllocationProp
allocFlags_compressionType(byte value)

Sets the specified value to the compressionType field.

public byte

Returns:

the value of the allocFlags.gpuDirectRDMACapable field.
allocFlags_gpuDirectRDMACapable
()

public CUmemAllocationProp
allocFlags_gpuDirectRDMACapable(byte value)

Sets the specified value to the gpuDirectRDMACapable field.

public ByteBuffer

Returns:

a ByteBuffer view of the allocFlags.reserved field.
allocFlags_reserved
()

public byte

Returns:

the value at the specified index of the allocFlags.reserved field.
allocFlags_reserved
(int index)

public CUmemAllocationProp
allocFlags_reserved(ByteBuffer value)

Copies the specified ByteBuffer to the reserved field.

public CUmemAllocationProp
allocFlags_reserved(int index, byte value)

Sets the specified value at the specified index of the reserved field.

public short

Returns:

the value of the allocFlags.usage field.
allocFlags_usage
()

public CUmemAllocationProp
allocFlags_usage(short value)

Sets the specified value to the usage field.

public static CUmemAllocationProp
calloc()

Returns a new CUmemAllocationProp instance allocated with memCalloc.

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

Returns a new CUmemAllocationProp.Buffer instance allocated with memCalloc.

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

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

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

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

protected CUmemAllocationProp
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 CUmemAllocationProp
create()

Returns a new CUmemAllocationProp instance allocated with BufferUtils.

public static CUmemAllocationProp
create(long address)

Returns a new CUmemAllocationProp instance for the specified memory address.

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

Returns a new CUmemAllocationProp.Buffer instance allocated with BufferUtils.

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

Create a CUmemAllocationProp.Buffer instance at the specified memory.

public static CUmemAllocationProp
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public CUmemLocation

Returns:

a CUmemLocation view of the location field.
location
()

public CUmemAllocationProp
location(CUmemLocation value)

Copies the specified CUmemLocation to the location field.

public CUmemAllocationProp
location(Consumer<CUmemLocation> consumer)

Passes the location field to the specified Consumer.

public static CUmemAllocationProp
malloc()

Returns a new CUmemAllocationProp instance allocated with memAlloc.

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

Returns a new CUmemAllocationProp.Buffer instance allocated with memAlloc.

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

Returns a new CUmemAllocationProp instance allocated on the specified MemoryStack.

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

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

public static byte
public static void
nallocFlags_compressionType(long struct, byte value)

Unsafe version of allocFlags_compressionType.

public static byte
public static void
nallocFlags_gpuDirectRDMACapable(long struct, byte value)

Unsafe version of allocFlags_gpuDirectRDMACapable.

public static ByteBuffer
nallocFlags_reserved(long struct)

Unsafe version of allocFlags_reserved.

public static byte
nallocFlags_reserved(long struct, int index)

Unsafe version of allocFlags_reserved.

public static void
nallocFlags_reserved(long struct, ByteBuffer value)

Unsafe version of allocFlags_reserved.

public static void
nallocFlags_reserved(long struct, int index, byte value)

Unsafe version of allocFlags_reserved.

public static short
nallocFlags_usage(long struct)

Unsafe version of allocFlags_usage.

public static void
nallocFlags_usage(long struct, short value)

Unsafe version of allocFlags_usage.

public static CUmemLocation
nlocation(long struct)

Unsafe version of location.

public static void
nlocation(long struct, CUmemLocation value)

Unsafe version of location.

public static int
nrequestedHandleTypes(long struct)

Unsafe version of requestedHandleTypes.

public static void
nrequestedHandleTypes(long struct, int value)

Unsafe version of requestedHandleTypes.

public static int
ntype(long struct)

Unsafe version of type.

public static void
ntype(long struct, int value)

Unsafe version of type.

public static long
nwin32HandleMetaData(long struct)

Unsafe version of win32HandleMetaData.

public static void
nwin32HandleMetaData(long struct, long value)

Unsafe version of win32HandleMetaData.

public int

Returns:

the value of the requestedHandleTypes field.
requestedHandleTypes
()

public CUmemAllocationProp
requestedHandleTypes(int value)

Sets the specified value to the requestedHandleTypes field.

public CUmemAllocationProp
set(int type, int requestedHandleTypes, CUmemLocation location, long win32HandleMetaData, byte allocFlags_compressionType, byte allocFlags_gpuDirectRDMACapable, short allocFlags_usage, ByteBuffer allocFlags_reserved)

Initializes this struct with the specified values.

public CUmemAllocationProp

Returns:

this struct
set
(CUmemAllocationProp
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

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

Returns sizeof(struct).
public int

Returns:

the value of the type field.
type
()

public CUmemAllocationProp
type(int value)

Sets the specified value to the type field.

public long

Returns:

the value of the win32HandleMetaData field.
win32HandleMetaData
()

public CUmemAllocationProp
win32HandleMetaData(long value)

Sets the specified value to the win32HandleMetaData field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

ALLOCFLAGSback to summary
public static final int ALLOCFLAGS

The struct member offsets.

ALLOCFLAGS_COMPRESSIONTYPEback to summary
public static final int ALLOCFLAGS_COMPRESSIONTYPE

The struct member offsets.

ALLOCFLAGS_GPUDIRECTRDMACAPABLEback to summary
public static final int ALLOCFLAGS_GPUDIRECTRDMACAPABLE

The struct member offsets.

ALLOCFLAGS_RESERVEDback to summary
public static final int ALLOCFLAGS_RESERVED

The struct member offsets.

ALLOCFLAGS_USAGEback to summary
public static final int ALLOCFLAGS_USAGE

The struct member offsets.

LOCATIONback to summary
public static final int LOCATION

The struct member offsets.

REQUESTEDHANDLETYPESback to summary
public static final int REQUESTEDHANDLETYPES

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

TYPEback to summary
public static final int TYPE

The struct member offsets.

WIN32HANDLEMETADATAback to summary
public static final int WIN32HANDLEMETADATA

The struct member offsets.

Constructor Detail

CUmemAllocationPropback to summary
protected CUmemAllocationProp(long address, ByteBuffer container)
CUmemAllocationPropback to summary
public CUmemAllocationProp(ByteBuffer container)

Creates a CUmemAllocationProp 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

allocFlags_compressionTypeback to summary
public byte allocFlags_compressionType()
Returns:byte

the value of the allocFlags.compressionType field.

Annotations
@NativeType:unsigned char
allocFlags_compressionTypeback to summary
public CUmemAllocationProp allocFlags_compressionType(byte value)

Sets the specified value to the compressionType field.

allocFlags_gpuDirectRDMACapableback to summary
public byte allocFlags_gpuDirectRDMACapable()
Returns:byte

the value of the allocFlags.gpuDirectRDMACapable field.

Annotations
@NativeType:unsigned char
allocFlags_gpuDirectRDMACapableback to summary
public CUmemAllocationProp allocFlags_gpuDirectRDMACapable(byte value)

Sets the specified value to the gpuDirectRDMACapable field.

allocFlags_reservedback to summary
public ByteBuffer allocFlags_reserved()
Returns:ByteBuffer

a ByteBuffer view of the allocFlags.reserved field.

Annotations
@NativeType:unsigned char[4]
allocFlags_reservedback to summary
public byte allocFlags_reserved(int index)
Returns:byte

the value at the specified index of the allocFlags.reserved field.

Annotations
@NativeType:unsigned char
allocFlags_reservedback to summary
public CUmemAllocationProp allocFlags_reserved(ByteBuffer value)

Copies the specified ByteBuffer to the reserved field.

allocFlags_reservedback to summary
public CUmemAllocationProp allocFlags_reserved(int index, byte value)

Sets the specified value at the specified index of the reserved field.

allocFlags_usageback to summary
public short allocFlags_usage()
Returns:short

the value of the allocFlags.usage field.

Annotations
@NativeType:unsigned short
allocFlags_usageback to summary
public CUmemAllocationProp allocFlags_usage(short value)

Sets the specified value to the usage field.

callocback to summary
public static CUmemAllocationProp calloc()

Returns a new CUmemAllocationProp instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static CUmemAllocationProp.Buffer calloc(int capacity)

Returns a new CUmemAllocationProp.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static CUmemAllocationProp calloc(MemoryStack stack)

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

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static CUmemAllocationProp.Buffer calloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

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

Implements abstract org.lwjgl.system.Struct.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 CUmemAllocationProp create()

Returns a new CUmemAllocationProp instance allocated with BufferUtils.

createback to summary
public static CUmemAllocationProp create(long address)

Returns a new CUmemAllocationProp instance for the specified memory address.

createback to summary
public static CUmemAllocationProp.Buffer create(int capacity)

Returns a new CUmemAllocationProp.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

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

Create a CUmemAllocationProp.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static CUmemAllocationProp createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

Annotations
@Nullable
locationback to summary
public CUmemLocation location()
Returns:CUmemLocation

a CUmemLocation view of the location field.

locationback to summary
public CUmemAllocationProp location(CUmemLocation value)

Copies the specified CUmemLocation to the location field.

locationback to summary
public CUmemAllocationProp location(Consumer<CUmemLocation> consumer)

Passes the location field to the specified Consumer.

mallocback to summary
public static CUmemAllocationProp malloc()

Returns a new CUmemAllocationProp instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static CUmemAllocationProp.Buffer malloc(int capacity)

Returns a new CUmemAllocationProp.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static CUmemAllocationProp malloc(MemoryStack stack)

Returns a new CUmemAllocationProp instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static CUmemAllocationProp.Buffer malloc(int capacity, MemoryStack stack)

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

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nallocFlags_compressionTypeback to summary
public static byte nallocFlags_compressionType(long struct)

Unsafe version of allocFlags_compressionType.

nallocFlags_compressionTypeback to summary
public static void nallocFlags_compressionType(long struct, byte value)

Unsafe version of allocFlags_compressionType.

nallocFlags_gpuDirectRDMACapableback to summary
public static byte nallocFlags_gpuDirectRDMACapable(long struct)

Unsafe version of allocFlags_gpuDirectRDMACapable.

nallocFlags_gpuDirectRDMACapableback to summary
public static void nallocFlags_gpuDirectRDMACapable(long struct, byte value)

Unsafe version of allocFlags_gpuDirectRDMACapable.

nallocFlags_reservedback to summary
public static ByteBuffer nallocFlags_reserved(long struct)

Unsafe version of allocFlags_reserved.

nallocFlags_reservedback to summary
public static byte nallocFlags_reserved(long struct, int index)

Unsafe version of allocFlags_reserved.

nallocFlags_reservedback to summary
public static void nallocFlags_reserved(long struct, ByteBuffer value)

Unsafe version of allocFlags_reserved.

nallocFlags_reservedback to summary
public static void nallocFlags_reserved(long struct, int index, byte value)

Unsafe version of allocFlags_reserved.

nallocFlags_usageback to summary
public static short nallocFlags_usage(long struct)

Unsafe version of allocFlags_usage.

nallocFlags_usageback to summary
public static void nallocFlags_usage(long struct, short value)

Unsafe version of allocFlags_usage.

nlocationback to summary
public static CUmemLocation nlocation(long struct)

Unsafe version of location.

nlocationback to summary
public static void nlocation(long struct, CUmemLocation value)

Unsafe version of location.

nrequestedHandleTypesback to summary
public static int nrequestedHandleTypes(long struct)

Unsafe version of requestedHandleTypes.

nrequestedHandleTypesback to summary
public static void nrequestedHandleTypes(long struct, int value)

Unsafe version of requestedHandleTypes.

ntypeback to summary
public static int ntype(long struct)

Unsafe version of type.

ntypeback to summary
public static void ntype(long struct, int value)

Unsafe version of type.

nwin32HandleMetaDataback to summary
public static long nwin32HandleMetaData(long struct)

Unsafe version of win32HandleMetaData.

nwin32HandleMetaDataback to summary
public static void nwin32HandleMetaData(long struct, long value)

Unsafe version of win32HandleMetaData.

requestedHandleTypesback to summary
public int requestedHandleTypes()
Returns:int

the value of the requestedHandleTypes field.

Annotations
@NativeType:CUmemAllocationHandleType
requestedHandleTypesback to summary
public CUmemAllocationProp requestedHandleTypes(int value)

Sets the specified value to the requestedHandleTypes field.

setback to summary
public CUmemAllocationProp set(int type, int requestedHandleTypes, CUmemLocation location, long win32HandleMetaData, byte allocFlags_compressionType, byte allocFlags_gpuDirectRDMACapable, short allocFlags_usage, ByteBuffer allocFlags_reserved)

Initializes this struct with the specified values.

setback to summary
public CUmemAllocationProp set(CUmemAllocationProp src)

Copies the specified struct data to this struct.

Parameters
src:CUmemAllocationProp

the source struct

Returns:CUmemAllocationProp

this struct

sizeofback to summary
public int sizeof()

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

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:CUmemAllocationType
typeback to summary
public CUmemAllocationProp type(int value)

Sets the specified value to the type field.

win32HandleMetaDataback to summary
public long win32HandleMetaData()
Returns:long

the value of the win32HandleMetaData field.

Annotations
@NativeType:void *
win32HandleMetaDataback to summary
public CUmemAllocationProp win32HandleMetaData(long value)

Sets the specified value to the win32HandleMetaData field.

org.lwjgl.cuda back to summary

public Class CUmemAllocationProp.Buffer

extends StructBuffer<CUmemAllocationProp, CUmemAllocationProp.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of CUmemAllocationProp structs.

Field Summary

Modifier and TypeField and Description
private static final CUmemAllocationProp

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new CUmemAllocationProp.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
public byte

Returns:

the value of the allocFlags.compressionType field.
allocFlags_compressionType
()

public CUmemAllocationProp.Buffer
allocFlags_compressionType(byte value)

Sets the specified value to the compressionType field.

public byte

Returns:

the value of the allocFlags.gpuDirectRDMACapable field.
allocFlags_gpuDirectRDMACapable
()

public CUmemAllocationProp.Buffer
allocFlags_gpuDirectRDMACapable(byte value)

Sets the specified value to the gpuDirectRDMACapable field.

public ByteBuffer

Returns:

a ByteBuffer view of the allocFlags.reserved field.
allocFlags_reserved
()

public byte

Returns:

the value at the specified index of the allocFlags.reserved field.
allocFlags_reserved
(int index)

public CUmemAllocationProp.Buffer
allocFlags_reserved(ByteBuffer value)

Copies the specified ByteBuffer to the reserved field.

public CUmemAllocationProp.Buffer
allocFlags_reserved(int index, byte value)

Sets the specified value at the specified index of the reserved field.

public short

Returns:

the value of the allocFlags.usage field.
allocFlags_usage
()

public CUmemAllocationProp.Buffer
allocFlags_usage(short value)

Sets the specified value to the usage field.

protected CUmemAllocationProp
public CUmemLocation

Returns:

a CUmemLocation view of the location field.
location
()

public CUmemAllocationProp.Buffer
location(CUmemLocation value)

Copies the specified CUmemLocation to the location field.

public CUmemAllocationProp.Buffer
location(Consumer<CUmemLocation> consumer)

Passes the location field to the specified Consumer.

public int

Returns:

the value of the requestedHandleTypes field.
requestedHandleTypes
()

public CUmemAllocationProp.Buffer
requestedHandleTypes(int value)

Sets the specified value to the requestedHandleTypes field.

protected CUmemAllocationProp.Buffer
public int

Returns:

the value of the type field.
type
()

public CUmemAllocationProp.Buffer
type(int value)

Sets the specified value to the type field.

public long

Returns:

the value of the win32HandleMetaData field.
win32HandleMetaData
()

public CUmemAllocationProp.Buffer
win32HandleMetaData(long value)

Sets the specified value to the win32HandleMetaData field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final CUmemAllocationProp ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new CUmemAllocationProp.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 CUmemAllocationProp#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

allocFlags_compressionTypeback to summary
public byte allocFlags_compressionType()
Returns:byte

the value of the allocFlags.compressionType field.

Annotations
@NativeType:unsigned char
allocFlags_compressionTypeback to summary
public CUmemAllocationProp.Buffer allocFlags_compressionType(byte value)

Sets the specified value to the compressionType field.

allocFlags_gpuDirectRDMACapableback to summary
public byte allocFlags_gpuDirectRDMACapable()
Returns:byte

the value of the allocFlags.gpuDirectRDMACapable field.

Annotations
@NativeType:unsigned char
allocFlags_gpuDirectRDMACapableback to summary
public CUmemAllocationProp.Buffer allocFlags_gpuDirectRDMACapable(byte value)

Sets the specified value to the gpuDirectRDMACapable field.

allocFlags_reservedback to summary
public ByteBuffer allocFlags_reserved()
Returns:ByteBuffer

a ByteBuffer view of the allocFlags.reserved field.

Annotations
@NativeType:unsigned char[4]
allocFlags_reservedback to summary
public byte allocFlags_reserved(int index)
Returns:byte

the value at the specified index of the allocFlags.reserved field.

Annotations
@NativeType:unsigned char
allocFlags_reservedback to summary
public CUmemAllocationProp.Buffer allocFlags_reserved(ByteBuffer value)

Copies the specified ByteBuffer to the reserved field.

allocFlags_reservedback to summary
public CUmemAllocationProp.Buffer allocFlags_reserved(int index, byte value)

Sets the specified value at the specified index of the reserved field.

allocFlags_usageback to summary
public short allocFlags_usage()
Returns:short

the value of the allocFlags.usage field.

Annotations
@NativeType:unsigned short
allocFlags_usageback to summary
public CUmemAllocationProp.Buffer allocFlags_usage(short value)

Sets the specified value to the usage field.

getElementFactoryback to summary
protected CUmemAllocationProp getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
locationback to summary
public CUmemLocation location()
Returns:CUmemLocation

a CUmemLocation view of the location field.

locationback to summary
public CUmemAllocationProp.Buffer location(CUmemLocation value)

Copies the specified CUmemLocation to the location field.

locationback to summary
public CUmemAllocationProp.Buffer location(Consumer<CUmemLocation> consumer)

Passes the location field to the specified Consumer.

requestedHandleTypesback to summary
public int requestedHandleTypes()
Returns:int

the value of the requestedHandleTypes field.

Annotations
@NativeType:CUmemAllocationHandleType
requestedHandleTypesback to summary
public CUmemAllocationProp.Buffer requestedHandleTypes(int value)

Sets the specified value to the requestedHandleTypes field.

selfback to summary
protected CUmemAllocationProp.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
typeback to summary
public int type()
Returns:int

the value of the type field.

Annotations
@NativeType:CUmemAllocationType
typeback to summary
public CUmemAllocationProp.Buffer type(int value)

Sets the specified value to the type field.

win32HandleMetaDataback to summary
public long win32HandleMetaData()
Returns:long

the value of the win32HandleMetaData field.

Annotations
@NativeType:void *
win32HandleMetaDataback to summary
public CUmemAllocationProp.Buffer win32HandleMetaData(long value)

Sets the specified value to the win32HandleMetaData field.