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

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

Member Function Documentation

◆ create() [1/2]

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

Returns a new instance with all bytes set to zero.

Definition at line 43 of file CGpass.java.

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

◆ create() [2/2]

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

◆ derefPointer()

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

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

Definition at line 53 of file CGpass.java.

Here is the call graph for this function:

◆ getBuffer()

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

Return the underlying native direct ByteBuffer.

Definition at line 63 of file CGpass.java.

Here is the caller graph for this function:

◆ getDirectBufferAddress()

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

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

Definition at line 68 of file CGpass.java.

◆ size()

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

Returns the aligned total size of a native instance.

Definition at line 38 of file CGpass.java.

Here is the caller graph for this function:

◆ usesNativeCode()

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

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

Definition at line 33 of file CGpass.java.


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