Package org.lwjgl.llvm
Class CXIdxAttrInfo
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.llvm.CXIdxAttrInfo
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CXIdxAttrInfo extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCXIdxAttrInfo.BufferAn array ofCXIdxAttrInfostructs.
-
Constructor Summary
Constructors Constructor Description CXIdxAttrInfo(java.nio.ByteBuffer container)Creates aCXIdxAttrInfoinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CXIdxAttrInfocalloc()Returns a newCXIdxAttrInfoinstance allocated withmemCalloc.static CXIdxAttrInfo.Buffercalloc(int capacity)Returns a newCXIdxAttrInfo.Bufferinstance allocated withmemCalloc.static CXIdxAttrInfo.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCXIdxAttrInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxAttrInfocalloc(org.lwjgl.system.MemoryStack stack)Returns a newCXIdxAttrInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CXIdxAttrInfocallocStack()Deprecated.static CXIdxAttrInfo.BuffercallocStack(int capacity)Deprecated.static CXIdxAttrInfo.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxAttrInfocallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxAttrInfocreate()Returns a newCXIdxAttrInfoinstance allocated withBufferUtils.static CXIdxAttrInfo.Buffercreate(int capacity)Returns a newCXIdxAttrInfo.Bufferinstance allocated withBufferUtils.static CXIdxAttrInfocreate(long address)Returns a newCXIdxAttrInfoinstance for the specified memory address.static CXIdxAttrInfo.Buffercreate(long address, int capacity)Create aCXIdxAttrInfo.Bufferinstance at the specified memory.static CXIdxAttrInfocreateSafe(long address)static CXIdxAttrInfo.BuffercreateSafe(long address, int capacity)CXCursorcursor()intkind()CXIdxLocloc()static CXIdxAttrInfomalloc()Returns a newCXIdxAttrInfoinstance allocated withmemAlloc.static CXIdxAttrInfo.Buffermalloc(int capacity)Returns a newCXIdxAttrInfo.Bufferinstance allocated withmemAlloc.static CXIdxAttrInfo.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCXIdxAttrInfo.Bufferinstance allocated on the specifiedMemoryStack.static CXIdxAttrInfomalloc(org.lwjgl.system.MemoryStack stack)Returns a newCXIdxAttrInfoinstance allocated on the specifiedMemoryStack.static CXIdxAttrInfomallocStack()Deprecated.static CXIdxAttrInfo.BuffermallocStack(int capacity)Deprecated.static CXIdxAttrInfo.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CXIdxAttrInfomallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static CXCursorncursor(long struct)Unsafe version ofcursor().static intnkind(long struct)Unsafe version ofkind().static CXIdxLocnloc(long struct)Unsafe version ofloc().intsizeof()
-
-
-
Constructor Detail
-
CXIdxAttrInfo
public CXIdxAttrInfo(java.nio.ByteBuffer container)
Creates aCXIdxAttrInfoinstance 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
-
kind
public int kind()
- Returns:
- the value of the
kindfield.
-
malloc
public static CXIdxAttrInfo malloc()
Returns a newCXIdxAttrInfoinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static CXIdxAttrInfo calloc()
Returns a newCXIdxAttrInfoinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static CXIdxAttrInfo create()
Returns a newCXIdxAttrInfoinstance allocated withBufferUtils.
-
create
public static CXIdxAttrInfo create(long address)
Returns a newCXIdxAttrInfoinstance for the specified memory address.
-
createSafe
@Nullable public static CXIdxAttrInfo createSafe(long address)
-
malloc
public static CXIdxAttrInfo.Buffer malloc(int capacity)
Returns a newCXIdxAttrInfo.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static CXIdxAttrInfo.Buffer calloc(int capacity)
Returns a newCXIdxAttrInfo.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static CXIdxAttrInfo.Buffer create(int capacity)
Returns a newCXIdxAttrInfo.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CXIdxAttrInfo.Buffer create(long address, int capacity)
Create aCXIdxAttrInfo.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CXIdxAttrInfo.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static CXIdxAttrInfo mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxAttrInfo callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxAttrInfo mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxAttrInfo callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxAttrInfo.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxAttrInfo.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static CXIdxAttrInfo.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CXIdxAttrInfo.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static CXIdxAttrInfo malloc(org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxAttrInfoinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static CXIdxAttrInfo calloc(org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxAttrInfoinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static CXIdxAttrInfo.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxAttrInfo.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static CXIdxAttrInfo.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCXIdxAttrInfo.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nkind
public static int nkind(long struct)
Unsafe version ofkind().
-
-