Class PBRTextureAttribute
java.lang.Object
gaiasky.util.gdx.shader.attribute.Attribute
gaiasky.util.gdx.shader.attribute.TextureAttribute
gaiasky.util.gdx.model.gltf.scene3d.attributes.PBRTextureAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
float
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
static final int
static final String
Fields inherited from class gaiasky.util.gdx.shader.attribute.TextureAttribute
Ambient, AmbientAlias, AO, AOAlias, Bump, BumpAlias, Diffuse, DiffuseAlias, Emissive, EmissiveAlias, Height, HeightAlias, Metallic, MetallicAlias, Normal, NormalAlias, OcclusionMetallicRoughness, OcclusionMetallicRoughnessAlias, offsetU, offsetV, Roughness, RoughnessAlias, scaleU, scaleV, Specular, SpecularAlias, SvtCache, SvtCacheAlias, SvtIndirectionAmbientOcclusion, SvtIndirectionAmbientOcclusionAlias, SvtIndirectionDiffuse, SvtIndirectionDiffuseAlias, SvtIndirectionEmissive, SvtIndirectionEmissiveAlias, SvtIndirectionHeight, SvtIndirectionHeightAlias, SvtIndirectionMetallic, SvtIndirectionMetallicAlias, SvtIndirectionNormal, SvtIndirectionNormalAlias, SvtIndirectionRoughness, SvtIndirectionRoughnessAlias, SvtIndirectionSpecular, SvtIndirectionSpecularAlias, textureDescription, uvIndex
-
Constructor Summary
ConstructorDescriptionPBRTextureAttribute
(int type) PBRTextureAttribute
(int type, com.badlogic.gdx.graphics.g2d.TextureRegion region) PBRTextureAttribute
(int type, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescription) PBRTextureAttribute
(int type, com.badlogic.gdx.graphics.Texture texture) PBRTextureAttribute
(PBRTextureAttribute attribute) -
Method Summary
Modifier and TypeMethodDescriptionint
copy()
static PBRTextureAttribute
createBaseColorTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createBaseColorTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createBRDFLookupTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createBRDFLookupTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createEmissiveTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createEmissiveTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createIridescenceTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createIridescenceTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createIridescenceThicknessTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createIridescenceThicknessTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createMetallicRoughnessTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createMetallicRoughnessTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createNormalTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createNormalTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createOcclusionTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createOcclusionTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createSpecularFactorTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createSpecularFactorTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createThicknessTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createThicknessTexture
(com.badlogic.gdx.graphics.Texture texture) static PBRTextureAttribute
createTransmissionTexture
(com.badlogic.gdx.graphics.g2d.TextureRegion region) static PBRTextureAttribute
createTransmissionTexture
(com.badlogic.gdx.graphics.Texture texture) Methods inherited from class gaiasky.util.gdx.shader.attribute.TextureAttribute
convertType, createAmbient, createAmbient, createBump, createBump, createDiffuse, createDiffuse, createEmissive, createEmissive, createHeight, createHeight, createMetallic, createMetallic, createNormal, createNormal, createReflection, createReflection, createSpecular, createSpecular, hashCode, set
Methods inherited from class gaiasky.util.gdx.shader.attribute.Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toString
-
Field Details
-
BaseColorTextureAlias
- See Also:
-
BaseColorTexture
public static final int BaseColorTexture -
EmissiveTextureAlias
- See Also:
-
EmissiveTexture
public static final int EmissiveTexture -
NormalTextureAlias
- See Also:
-
NormalTexture
public static final int NormalTexture -
MetallicRoughnessTextureAlias
- See Also:
-
MetallicRoughnessTexture
public static final int MetallicRoughnessTexture -
OcclusionTextureAlias
- See Also:
-
OcclusionTexture
public static final int OcclusionTexture -
BRDFLUTTextureAlias
- See Also:
-
BRDFLUTTexture
public static final int BRDFLUTTexture -
TransmissionTextureAlias
- See Also:
-
TransmissionTexture
public static final int TransmissionTexture -
ThicknessTextureAlias
- See Also:
-
ThicknessTexture
public static final int ThicknessTexture -
SpecularFactorTextureAlias
- See Also:
-
SpecularFactorTexture
public static final int SpecularFactorTexture -
IridescenceTextureAlias
- See Also:
-
IridescenceTexture
public static final int IridescenceTexture -
IridescenceThicknessTextureAlias
- See Also:
-
IridescenceThicknessTexture
public static final int IridescenceThicknessTexture -
TransmissionSourceTextureAlias
- See Also:
-
TransmissionSourceTexture
public static final int TransmissionSourceTexture -
SpecularColorTextureAlias
- See Also:
-
SpecularColorTexture
public static final int SpecularColorTexture -
rotationUV
public float rotationUV
-
-
Constructor Details
-
PBRTextureAttribute
public PBRTextureAttribute(int type) -
PBRTextureAttribute
public PBRTextureAttribute(int type, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture> textureDescription) -
PBRTextureAttribute
public PBRTextureAttribute(int type, com.badlogic.gdx.graphics.Texture texture) -
PBRTextureAttribute
public PBRTextureAttribute(int type, com.badlogic.gdx.graphics.g2d.TextureRegion region) -
PBRTextureAttribute
-
-
Method Details
-
createBaseColorTexture
-
createEmissiveTexture
-
createNormalTexture
-
createMetallicRoughnessTexture
public static PBRTextureAttribute createMetallicRoughnessTexture(com.badlogic.gdx.graphics.Texture texture) -
createOcclusionTexture
-
createBRDFLookupTexture
public static PBRTextureAttribute createBRDFLookupTexture(com.badlogic.gdx.graphics.Texture texture) -
createTransmissionTexture
public static PBRTextureAttribute createTransmissionTexture(com.badlogic.gdx.graphics.Texture texture) -
createThicknessTexture
-
createSpecularFactorTexture
public static PBRTextureAttribute createSpecularFactorTexture(com.badlogic.gdx.graphics.Texture texture) -
createIridescenceTexture
public static PBRTextureAttribute createIridescenceTexture(com.badlogic.gdx.graphics.Texture texture) -
createIridescenceThicknessTexture
public static PBRTextureAttribute createIridescenceThicknessTexture(com.badlogic.gdx.graphics.Texture texture) -
createBaseColorTexture
public static PBRTextureAttribute createBaseColorTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createEmissiveTexture
public static PBRTextureAttribute createEmissiveTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createNormalTexture
public static PBRTextureAttribute createNormalTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createMetallicRoughnessTexture
public static PBRTextureAttribute createMetallicRoughnessTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createOcclusionTexture
public static PBRTextureAttribute createOcclusionTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createBRDFLookupTexture
public static PBRTextureAttribute createBRDFLookupTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createTransmissionTexture
public static PBRTextureAttribute createTransmissionTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createThicknessTexture
public static PBRTextureAttribute createThicknessTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createSpecularFactorTexture
public static PBRTextureAttribute createSpecularFactorTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createIridescenceTexture
public static PBRTextureAttribute createIridescenceTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
createIridescenceThicknessTexture
public static PBRTextureAttribute createIridescenceThicknessTexture(com.badlogic.gdx.graphics.g2d.TextureRegion region) -
copy
- Overrides:
copy
in classTextureAttribute
- Returns:
- An exact copy of this attribute
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Attribute>
- Overrides:
compareTo
in classTextureAttribute
-