Class PBRCubemapAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.CubemapAttribute
gaiasky.util.gdx.model.gltf.scene3d.attributes.PBRCubemapAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final String
static final int
static final String
Fields inherited from class gaiasky.util.gdx.shader.attribute.CubemapAttribute
AmbientOcclusionCubemap, AmbientOcclusionCubemapAlias, DiffuseCubemap, DiffuseCubemapAlias, EmissiveCubemap, EmissiveCubemapAlias, HeightCubemap, HeightCubemapAlias, MetallicCubemap, MetallicCubemapAlias, NormalCubemap, NormalCubemapAlias, ReflectionCubemap, ReflectionCubemapAlias, RoughnessCubemap, RoughnessCubemapAlias, SpecularCubemap, SpecularCubemapAlias, textureDescription
-
Constructor Summary
ConstructorDescriptionPBRCubemapAttribute
(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<OwnCubemap> textureDescription) PBRCubemapAttribute
(int index, OwnCubemap cubemap) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
static Attribute
createDiffuseEnv
(OwnCubemap diffuseCubemap) static Attribute
createSpecularEnv
(OwnCubemap specularCubemap) Methods inherited from class gaiasky.util.gdx.shader.attribute.CubemapAttribute
compareTo, hashCode
Methods inherited from class gaiasky.util.gdx.shader.attribute.Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toString
-
Field Details
-
DiffuseEnvAlias
- See Also:
-
DiffuseEnv
public static final int DiffuseEnv -
SpecularEnvAlias
- See Also:
-
SpecularEnv
public static final int SpecularEnv
-
-
Constructor Details
-
PBRCubemapAttribute
public PBRCubemapAttribute(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<OwnCubemap> textureDescription) -
PBRCubemapAttribute
-
-
Method Details
-
createDiffuseEnv
-
createSpecularEnv
-
copy
- Overrides:
copy
in classCubemapAttribute
- Returns:
- An exact copy of this attribute
-