Class TextureKeys
java.lang.Object
dev.engine.graphics.texture.TextureKeys
Standard texture property keys for materials.
Each key maps to a
SampledTexture — texture data paired with sampler configuration.
MaterialData.create("PBR")
.set(TextureKeys.ALBEDO_TEXTURE, new SampledTexture(albedo))
.set(TextureKeys.NORMAL_TEXTURE, new SampledTexture(normalMap, SamplerDescriptor.nearest()));
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyKey<MaterialData, SampledTexture> static final PropertyKey<MaterialData, SampledTexture> static final PropertyKey<MaterialData, SampledTexture> static final PropertyKey<MaterialData, SampledTexture> static final PropertyKey<MaterialData, SampledTexture> static final PropertyKey<MaterialData, SampledTexture> -
Method Summary
-
Field Details
-
ALBEDO_TEXTURE
-
NORMAL_TEXTURE
-
ROUGHNESS_TEXTURE
-
METALLIC_TEXTURE
-
EMISSIVE_TEXTURE
-
AO_TEXTURE
-