| Package | Description |
|---|---|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| com.io7m.jcanephora.jogl |
JOGL implementation of the
jcanephora API. |
| com.io7m.jcanephora.lwjgl3 |
LWJGL3 implementation of the
jcanephora API. |
| com.io7m.jcanephora.renderstate |
Render state abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendFunction |
JCGLBlendFunction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLBlendFunction[] |
JCGLBlendFunction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
JCGLBlendingType.blendingEnable(JCGLBlendFunction source_factor,
JCGLBlendFunction destination_factor)
Enable blending with the given blending functions.
|
default void |
JCGLBlendingType.blendingEnableSeparate(JCGLBlendFunction source_rgb_factor,
JCGLBlendFunction source_alpha_factor,
JCGLBlendFunction destination_rgb_factor,
JCGLBlendFunction destination_alpha_factor)
Enable blending with the given blending functions.
|
void |
JCGLBlendingType.blendingEnableSeparateWithEquationSeparate(JCGLBlendFunction source_rgb_factor,
JCGLBlendFunction source_alpha_factor,
JCGLBlendFunction destination_rgb_factor,
JCGLBlendFunction destination_alpha_factor,
JCGLBlendEquation equation_rgb,
JCGLBlendEquation equation_alpha)
Enable blending with the blending functions
source_rgb_factor,
source_alpha_factor, destination_rgb_factor, and destination_alphafactor. |
default void |
JCGLBlendingType.blendingEnableWithEquation(JCGLBlendFunction source_factor,
JCGLBlendFunction destination_factor,
JCGLBlendEquation equation)
Enable blending with the given blending functions and equation.
|
default void |
JCGLBlendingType.blendingEnableWithEquationSeparate(JCGLBlendFunction source_factor,
JCGLBlendFunction destination_factor,
JCGLBlendEquation equation_rgb,
JCGLBlendEquation equation_alpha)
Enable blending with the given blending functions and equation.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendFunction |
JOGLTypeConversions.blendFunctionFromGL(int type)
Convert blend functions from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
JOGLTypeConversions.blendFunctionToGL(JCGLBlendFunction function)
Convert blend functions to GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendFunction |
LWJGL3TypeConversions.blendFunctionFromGL(int type)
Convert blend functions from GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
LWJGL3TypeConversions.blendFunctionToGL(JCGLBlendFunction function)
Convert blend functions to GL constants.
|
| Modifier and Type | Method and Description |
|---|---|
default JCGLBlendFunction |
JCGLBlendStateType.blendFunctionSourceAlpha() |
JCGLBlendFunction |
JCGLBlendStateMutable.blendFunctionSourceAlpha() |
JCGLBlendFunction |
JCGLBlendState.blendFunctionSourceAlpha() |
default JCGLBlendFunction |
JCGLBlendStateType.blendFunctionSourceRGB() |
JCGLBlendFunction |
JCGLBlendStateMutable.blendFunctionSourceRGB() |
JCGLBlendFunction |
JCGLBlendState.blendFunctionSourceRGB() |
default JCGLBlendFunction |
JCGLBlendStateType.blendFunctionTargetAlpha() |
JCGLBlendFunction |
JCGLBlendStateMutable.blendFunctionTargetAlpha() |
JCGLBlendFunction |
JCGLBlendState.blendFunctionTargetAlpha() |
default JCGLBlendFunction |
JCGLBlendStateType.blendFunctionTargetRGB() |
JCGLBlendFunction |
JCGLBlendStateMutable.blendFunctionTargetRGB() |
JCGLBlendFunction |
JCGLBlendState.blendFunctionTargetRGB() |
| Modifier and Type | Method and Description |
|---|---|
static JCGLBlendStateMutable |
JCGLBlendStateMutable.create(JCGLBlendFunction blendFunctionSourceRGB,
JCGLBlendFunction blendFunctionSourceAlpha,
JCGLBlendFunction blendFunctionTargetRGB,
JCGLBlendFunction blendFunctionTargetAlpha,
JCGLBlendEquation blendEquationRGB,
JCGLBlendEquation blendEquationAlpha)
Construct a modifiable instance of
JCGLBlendStateType. |
static JCGLBlendState |
JCGLBlendState.of(JCGLBlendFunction blendFunctionSourceRGB,
JCGLBlendFunction blendFunctionSourceAlpha,
JCGLBlendFunction blendFunctionTargetRGB,
JCGLBlendFunction blendFunctionTargetAlpha,
JCGLBlendEquation blendEquationRGB,
JCGLBlendEquation blendEquationAlpha)
Construct a new immutable
JCGLBlendState instance. |
JCGLBlendStateMutable |
JCGLBlendStateMutable.setBlendFunctionSourceAlpha(JCGLBlendFunction blendFunctionSourceAlpha)
Assigns a value to the
blendFunctionSourceAlpha attribute. |
JCGLBlendState.Builder |
JCGLBlendState.Builder.setBlendFunctionSourceAlpha(JCGLBlendFunction blendFunctionSourceAlpha)
Initializes the value for the
blendFunctionSourceAlpha attribute. |
JCGLBlendStateMutable |
JCGLBlendStateMutable.setBlendFunctionSourceRGB(JCGLBlendFunction blendFunctionSourceRGB)
Assigns a value to the
blendFunctionSourceRGB attribute. |
JCGLBlendState.Builder |
JCGLBlendState.Builder.setBlendFunctionSourceRGB(JCGLBlendFunction blendFunctionSourceRGB)
Initializes the value for the
blendFunctionSourceRGB attribute. |
JCGLBlendStateMutable |
JCGLBlendStateMutable.setBlendFunctionTargetAlpha(JCGLBlendFunction blendFunctionTargetAlpha)
Assigns a value to the
blendFunctionTargetAlpha attribute. |
JCGLBlendState.Builder |
JCGLBlendState.Builder.setBlendFunctionTargetAlpha(JCGLBlendFunction blendFunctionTargetAlpha)
Initializes the value for the
blendFunctionTargetAlpha attribute. |
JCGLBlendStateMutable |
JCGLBlendStateMutable.setBlendFunctionTargetRGB(JCGLBlendFunction blendFunctionTargetRGB)
Assigns a value to the
blendFunctionTargetRGB attribute. |
JCGLBlendState.Builder |
JCGLBlendState.Builder.setBlendFunctionTargetRGB(JCGLBlendFunction blendFunctionTargetRGB)
Initializes the value for the
blendFunctionTargetRGB attribute. |
Copyright © 2017 <code@io7m.com> http://io7m.com