JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.stereo.StereoDeviceFactory Class Referenceabstract

Platform agnostic StereoDevice factory. More...

Inheritance diagram for com.jogamp.opengl.util.stereo.StereoDeviceFactory:
Collaboration diagram for com.jogamp.opengl.util.stereo.StereoDeviceFactory:

Classes

enum  DeviceType
 StereoDevice type used for createFactory(type). More...
 

Public Member Functions

final StereoDevice createDevice (final int deviceIndex, final StereoDeviceConfig config, final boolean verbose)
 
abstract boolean isValid ()
 Returns true, if instance is created and not shutdown() otherwise returns false. More...
 
abstract void shutdown ()
 Shutdown factory if valid. More...
 

Static Public Member Functions

static StereoDeviceFactory createDefaultFactory ()
 
static StereoDeviceFactory createFactory (final DeviceType type)
 
static StereoDeviceFactory createFactory (final ClassLoader cl, final String implName)
 

Protected Member Functions

abstract StereoDevice createDeviceImpl (final int deviceIndex, final StereoDeviceConfig config, final boolean verbose)
 

Detailed Description

Platform agnostic StereoDevice factory.

To implement a new StereoDevice, the following interfaces/classes must be implemented:

Definition at line 47 of file StereoDeviceFactory.java.

Member Function Documentation

◆ createDefaultFactory()

static StereoDeviceFactory com.jogamp.opengl.util.stereo.StereoDeviceFactory.createDefaultFactory ( )
static

Definition at line 84 of file StereoDeviceFactory.java.

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

◆ createDevice()

final StereoDevice com.jogamp.opengl.util.stereo.StereoDeviceFactory.createDevice ( final int  deviceIndex,
final StereoDeviceConfig  config,
final boolean  verbose 
)
Parameters
deviceIndex
configoptional custom configuration, matching the implementation, i.e. StereoDeviceConfig.GenericStereoDeviceConfig.
verbose
Returns

Definition at line 125 of file StereoDeviceFactory.java.

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

◆ createDeviceImpl()

abstract StereoDevice com.jogamp.opengl.util.stereo.StereoDeviceFactory.createDeviceImpl ( final int  deviceIndex,
final StereoDeviceConfig  config,
final boolean  verbose 
)
abstractprotected

Reimplemented in com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceFactory.

Here is the caller graph for this function:

◆ createFactory() [1/2]

static StereoDeviceFactory com.jogamp.opengl.util.stereo.StereoDeviceFactory.createFactory ( final ClassLoader  cl,
final String  implName 
)
static

Definition at line 105 of file StereoDeviceFactory.java.

◆ createFactory() [2/2]

static StereoDeviceFactory com.jogamp.opengl.util.stereo.StereoDeviceFactory.createFactory ( final DeviceType  type)
static

Definition at line 93 of file StereoDeviceFactory.java.

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

◆ isValid()

abstract boolean com.jogamp.opengl.util.stereo.StereoDeviceFactory.isValid ( )
abstract

Returns true, if instance is created and not shutdown() otherwise returns false.

Reimplemented in com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceFactory.

◆ shutdown()

abstract void com.jogamp.opengl.util.stereo.StereoDeviceFactory.shutdown ( )
abstract

Shutdown factory if valid.

Reimplemented in com.jogamp.opengl.util.stereo.generic.GenericStereoDeviceFactory.

Here is the caller graph for this function:

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