Class Texture3DAttribute
java.lang.Object
gaiasky.render.gdx.shader.attribute.Attribute
gaiasky.render.gdx.shader.attribute.Texture3DAttribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatfloatfloatfinal com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture3D> static final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final Stringstatic final intstatic final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionTexture3DAttribute(int index) <T extends com.badlogic.gdx.graphics.Texture3D>Texture3DAttribute(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<T> textureDescription) <T extends com.badlogic.gdx.graphics.Texture3D>Texture3DAttribute(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<T> textureDescription, float offsetU, float offsetV, float offsetW, float scaleU, float scaleV, float scaleW) Texture3DAttribute(int index, com.badlogic.gdx.graphics.Texture3D texture) Texture3DAttribute(Texture3DAttribute copyFrom) -
Method Summary
Methods inherited from class Attribute
equals, equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toStringModifier and TypeMethodDescriptionprotected booleanbooleanstatic StringgetAttributeAlias(Bits type) static intgetAttributeIndex(Bits type) static intgetAttributeIndex(String alias) static BitsgetAttributeType(String alias) protected static intgetIndex(long oldType) static intstatic com.badlogic.gdx.utils.Array<String> getTypes()booleanhas(int index) protected static intCall this method to register a custom attribute type, see the wiki for an example.toString()
-
Field Details
-
Volume0Alias
- See Also:
-
Volume0
public static final int Volume0 -
Volume1Alias
- See Also:
-
Volume1
public static final int Volume1 -
Volume2Alias
- See Also:
-
Volume2
public static final int Volume2 -
Volume3Alias
- See Also:
-
Volume3
public static final int Volume3 -
textureDescription
public final com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<com.badlogic.gdx.graphics.Texture3D> textureDescription -
offsetU
public float offsetU -
offsetV
public float offsetV -
offsetW
public float offsetW -
scaleU
public float scaleU -
scaleV
public float scaleV -
scaleW
public float scaleW
-
-
Constructor Details
-
Texture3DAttribute
public Texture3DAttribute(int index) -
Texture3DAttribute
public <T extends com.badlogic.gdx.graphics.Texture3D> Texture3DAttribute(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<T> textureDescription) -
Texture3DAttribute
public <T extends com.badlogic.gdx.graphics.Texture3D> Texture3DAttribute(int index, com.badlogic.gdx.graphics.g3d.utils.TextureDescriptor<T> textureDescription, float offsetU, float offsetV, float offsetW, float scaleU, float scaleV, float scaleW) -
Texture3DAttribute
public Texture3DAttribute(int index, com.badlogic.gdx.graphics.Texture3D texture) -
Texture3DAttribute
-
-
Method Details
-
copy
-
hashCode
-
compareTo
-