JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.cg.CGannotation Class Reference
Collaboration diagram for com.jogamp.opengl.cg.CGannotation:

Public Member Functions

final java.nio.ByteBuffer getBuffer ()
 Return the underlying native direct ByteBuffer. More...
 
final long getDirectBufferAddress ()
 Returns the native address of the underlying native ByteBuffer getBuffer(). More...
 

Static Public Member Functions

static boolean usesNativeCode ()
 Returns true if this generated implementation uses native code, otherwise false. More...
 
static int size ()
 Returns the aligned total size of a native instance. More...
 
static CGannotation create ()
 Returns a new instance with all bytes set to zero. More...
 
static CGannotation create (java.nio.ByteBuffer buf)
 Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity. More...
 
static CGannotation derefPointer (final long addr)
 Returns new instance dereferencing ByteBuffer at given native address addr with size size(). More...
 

Detailed Description

Definition at line 23 of file CGannotation.java.

Member Function Documentation

◆ create() [1/2]

static CGannotation com.jogamp.opengl.cg.CGannotation.create ( )
static

Returns a new instance with all bytes set to zero.

Definition at line 43 of file CGannotation.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ create() [2/2]

static CGannotation com.jogamp.opengl.cg.CGannotation.create ( java.nio.ByteBuffer  buf)
static

Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity.

The ByteBuffer will be ByteBuffer#rewind() and native-order set.

Definition at line 48 of file CGannotation.java.

◆ derefPointer()

static CGannotation com.jogamp.opengl.cg.CGannotation.derefPointer ( final long  addr)
static

Returns new instance dereferencing ByteBuffer at given native address addr with size size().

Definition at line 53 of file CGannotation.java.

Here is the call graph for this function:

◆ getBuffer()

final java.nio.ByteBuffer com.jogamp.opengl.cg.CGannotation.getBuffer ( )

Return the underlying native direct ByteBuffer.

Definition at line 63 of file CGannotation.java.

Here is the caller graph for this function:

◆ getDirectBufferAddress()

final long com.jogamp.opengl.cg.CGannotation.getDirectBufferAddress ( )

Returns the native address of the underlying native ByteBuffer getBuffer().

Definition at line 68 of file CGannotation.java.

◆ size()

static int com.jogamp.opengl.cg.CGannotation.size ( )
static

Returns the aligned total size of a native instance.

Definition at line 38 of file CGannotation.java.

Here is the caller graph for this function:

◆ usesNativeCode()

static boolean com.jogamp.opengl.cg.CGannotation.usesNativeCode ( )
static

Returns true if this generated implementation uses native code, otherwise false.

Definition at line 33 of file CGannotation.java.


The documentation for this class was generated from the following file: