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

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 CGstate create ()
 Returns a new instance with all bytes set to zero. More...
 
static CGstate create (java.nio.ByteBuffer buf)
 Returns a new instance using the given ByteBuffer having at least {#link size()} bytes capacity. More...
 
static CGstate 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 CGstate.java.

Member Function Documentation

◆ create() [1/2]

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

Returns a new instance with all bytes set to zero.

Definition at line 43 of file CGstate.java.

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

◆ create() [2/2]

static CGstate com.jogamp.opengl.cg.CGstate.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 CGstate.java.

◆ derefPointer()

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

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

Definition at line 53 of file CGstate.java.

Here is the call graph for this function:

◆ getBuffer()

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

Return the underlying native direct ByteBuffer.

Definition at line 63 of file CGstate.java.

Here is the caller graph for this function:

◆ getDirectBufferAddress()

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

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

Definition at line 68 of file CGstate.java.

◆ size()

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

Returns the aligned total size of a native instance.

Definition at line 38 of file CGstate.java.

Here is the caller graph for this function:

◆ usesNativeCode()

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

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

Definition at line 33 of file CGstate.java.


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