Package net.royalur.lut
Class LutMetadata
java.lang.Object
net.royalur.lut.LutMetadata
Holds the metadata stored for a LUT.
-
Constructor Summary
ConstructorsConstructorDescriptionLutMetadata(GameSettings gameSettings, ValueType valueType) LutMetadata(GameSettings gameSettings, ValueType valueType, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMetadata(String key, double value) voidaddMetadata(String key, com.fasterxml.jackson.databind.JsonNode value) voidaddMetadata(String key, String value) copy()copyWithValueType(ValueType valueType) static LutMetadatadecode(JsonNotation notation, String encoded) encode(JsonNotation notation) static LutMetadataread(JsonNotation notation, com.fasterxml.jackson.databind.node.ObjectNode json) voidwrite(JsonNotation notation, com.fasterxml.jackson.core.JsonGenerator generator)
-
Constructor Details
-
LutMetadata
public LutMetadata(GameSettings gameSettings, ValueType valueType, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) -
LutMetadata
-
-
Method Details
-
copy
-
copyWithValueType
-
getGameSettings
-
getValueType
-
getAdditionalMetadata
-
addMetadata
-
addMetadata
-
addMetadata
-
encode
-
write
public void write(JsonNotation notation, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException - Throws:
IOException
-
decode
-
read
public static LutMetadata read(JsonNotation notation, com.fasterxml.jackson.databind.node.ObjectNode json)
-