Package | Description |
---|---|
com.io7m.r1.kernel.types |
Modifier and Type | Class and Description |
---|---|
class |
KMaterialEnvironmentNone
The type of properties for surfaces that do not use environment mapping.
|
class |
KMaterialEnvironmentReflection
An environment-mapped reflection.
|
class |
KMaterialEnvironmentReflectionMapped
An environment-mapped reflection with the environment multiplied by the
specular map.
|
Modifier and Type | Method and Description |
---|---|
KMaterialEnvironmentType |
KMaterialTranslucentRegular.materialRegularGetEnvironment() |
KMaterialEnvironmentType |
KMaterialRegularType.materialRegularGetEnvironment() |
KMaterialEnvironmentType |
KMaterialOpaqueRegular.materialRegularGetEnvironment() |
Modifier and Type | Method and Description |
---|---|
static boolean |
KMaterialVerification.isValidEnvironmentSpecular(KMaterialEnvironmentType in_environment,
KMaterialSpecularType in_specular)
If specular-mapped environment is specified, check that a specular
texture is provided.
|
static void |
KMaterialVerification.materialVerifyOpaqueRegular(KMaterialAlbedoType in_albedo,
KMaterialDepthType in_depth,
KMaterialEmissiveType in_emissive,
KMaterialEnvironmentType in_environment,
KMaterialNormalType in_normal,
KMaterialSpecularType in_specular)
Check whether or not the given combination of material properties is
valid.
|
static void |
KMaterialVerification.materialVerifyTranslucentRegular(KMaterialAlbedoType in_albedo,
KMaterialAlphaType in_alpha,
KMaterialEnvironmentType in_environment,
KMaterialNormalType in_normal,
KMaterialSpecularType in_specular)
Check whether or not the given combination of material properties is
valid.
|
static KMaterialTranslucentRegular |
KMaterialTranslucentRegular.newMaterial(com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> in_uv_matrix,
KMaterialAlbedoType in_albedo,
KMaterialAlphaType in_alpha,
KMaterialEnvironmentType in_environment,
KMaterialNormalType in_normal,
KMaterialSpecularType in_specular)
Construct a new regular translucent material.
|
static KMaterialOpaqueRegular |
KMaterialOpaqueRegular.newMaterial(com.io7m.jtensors.parameterized.PMatrixI3x3F<RSpaceTextureType,RSpaceTextureType> in_uv_matrix,
KMaterialAlbedoType in_albedo,
KMaterialDepthType in_depth,
KMaterialEmissiveType in_emissive,
KMaterialEnvironmentType in_environment,
KMaterialNormalType in_normal,
KMaterialSpecularType in_specular)
Construct a new opaque material.
|
void |
KMaterialTranslucentRegularBuilderType.setEnvironment(KMaterialEnvironmentType environment)
Set the environment properties of the material.
|
void |
KMaterialOpaqueRegularBuilderType.setEnvironment(KMaterialEnvironmentType environment)
Set the environment properties of the material.
|
Copyright © 2015 <code@io7m.com> http://io7m.com