Package org.lwjgl.opencl
Class CLQueueFamilyPropertiesINTEL
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.opencl.CLQueueFamilyPropertiesINTEL
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CLQueueFamilyPropertiesINTEL extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct cl_queue_family_properties_intel { cl_command_queue_properties properties; cl_command_queue_capabilities_intel capabilities; cl_uint count; char name[64]; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCLQueueFamilyPropertiesINTEL.BufferAn array ofCLQueueFamilyPropertiesINTELstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intCAPABILITIES
COUNT
NAME
PROPERTIESThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description CLQueueFamilyPropertiesINTEL(java.nio.ByteBuffer container)Creates aCLQueueFamilyPropertiesINTELinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CLQueueFamilyPropertiesINTELcalloc()Returns a newCLQueueFamilyPropertiesINTELinstance allocated withmemCalloc.static CLQueueFamilyPropertiesINTEL.Buffercalloc(int capacity)Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withmemCalloc.static CLQueueFamilyPropertiesINTEL.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CLQueueFamilyPropertiesINTELcalloc(org.lwjgl.system.MemoryStack stack)Returns a newCLQueueFamilyPropertiesINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.longcapabilities()intcount()static CLQueueFamilyPropertiesINTELcreate()Returns a newCLQueueFamilyPropertiesINTELinstance allocated withBufferUtils.static CLQueueFamilyPropertiesINTEL.Buffercreate(int capacity)Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withBufferUtils.static CLQueueFamilyPropertiesINTELcreate(long address)Returns a newCLQueueFamilyPropertiesINTELinstance for the specified memory address.static CLQueueFamilyPropertiesINTEL.Buffercreate(long address, int capacity)Create aCLQueueFamilyPropertiesINTEL.Bufferinstance at the specified memory.static CLQueueFamilyPropertiesINTELcreateSafe(long address)static CLQueueFamilyPropertiesINTEL.BuffercreateSafe(long address, int capacity)static CLQueueFamilyPropertiesINTELmalloc()Returns a newCLQueueFamilyPropertiesINTELinstance allocated withmemAlloc.static CLQueueFamilyPropertiesINTEL.Buffermalloc(int capacity)Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withmemAlloc.static CLQueueFamilyPropertiesINTEL.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated on the specifiedMemoryStack.static CLQueueFamilyPropertiesINTELmalloc(org.lwjgl.system.MemoryStack stack)Returns a newCLQueueFamilyPropertiesINTELinstance allocated on the specifiedMemoryStack.java.nio.ByteBuffername()java.lang.StringnameString()static longncapabilities(long struct)Unsafe version ofcapabilities().static intncount(long struct)Unsafe version ofcount().static java.nio.ByteBuffernname(long struct)Unsafe version ofname().static java.lang.StringnnameString(long struct)Unsafe version ofnameString().static longnproperties(long struct)Unsafe version ofproperties().longproperties()intsizeof()
-
-
-
Constructor Detail
-
CLQueueFamilyPropertiesINTEL
public CLQueueFamilyPropertiesINTEL(java.nio.ByteBuffer container)
Creates aCLQueueFamilyPropertiesINTELinstance 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
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
properties
public long properties()
- Returns:
- the value of the
propertiesfield.
-
capabilities
public long capabilities()
- Returns:
- the value of the
capabilitiesfield.
-
count
public int count()
- Returns:
- the value of the
countfield.
-
name
public java.nio.ByteBuffer name()
- Returns:
- a
ByteBufferview of thenamefield.
-
nameString
public java.lang.String nameString()
- Returns:
- the null-terminated string stored in the
namefield.
-
malloc
public static CLQueueFamilyPropertiesINTEL malloc()
Returns a newCLQueueFamilyPropertiesINTELinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static CLQueueFamilyPropertiesINTEL calloc()
Returns a newCLQueueFamilyPropertiesINTELinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static CLQueueFamilyPropertiesINTEL create()
Returns a newCLQueueFamilyPropertiesINTELinstance allocated withBufferUtils.
-
create
public static CLQueueFamilyPropertiesINTEL create(long address)
Returns a newCLQueueFamilyPropertiesINTELinstance for the specified memory address.
-
createSafe
@Nullable public static CLQueueFamilyPropertiesINTEL createSafe(long address)
-
malloc
public static CLQueueFamilyPropertiesINTEL.Buffer malloc(int capacity)
Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static CLQueueFamilyPropertiesINTEL.Buffer calloc(int capacity)
Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static CLQueueFamilyPropertiesINTEL.Buffer create(int capacity)
Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CLQueueFamilyPropertiesINTEL.Buffer create(long address, int capacity)
Create aCLQueueFamilyPropertiesINTEL.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CLQueueFamilyPropertiesINTEL.Buffer createSafe(long address, int capacity)
-
malloc
public static CLQueueFamilyPropertiesINTEL malloc(org.lwjgl.system.MemoryStack stack)
Returns a newCLQueueFamilyPropertiesINTELinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static CLQueueFamilyPropertiesINTEL calloc(org.lwjgl.system.MemoryStack stack)
Returns a newCLQueueFamilyPropertiesINTELinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static CLQueueFamilyPropertiesINTEL.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static CLQueueFamilyPropertiesINTEL.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCLQueueFamilyPropertiesINTEL.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nproperties
public static long nproperties(long struct)
Unsafe version ofproperties().
-
ncapabilities
public static long ncapabilities(long struct)
Unsafe version ofcapabilities().
-
ncount
public static int ncount(long struct)
Unsafe version ofcount().
-
nname
public static java.nio.ByteBuffer nname(long struct)
Unsafe version ofname().
-
nnameString
public static java.lang.String nnameString(long struct)
Unsafe version ofnameString().
-
-