Package net.royalur.lut
Class LutMetadata
java.lang.Object
net.royalur.lut.LutMetadata
Holds the metadata stored for a LUT.
-
Constructor Summary
ConstructorDescriptionLutMetadata
(GameSettings gameSettings) LutMetadata
(GameSettings gameSettings, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadata
(String key, com.fasterxml.jackson.databind.JsonNode value) void
addMetadata
(String key, String value) static LutMetadata
decode
(JsonNotation notation, String encoded) encode
(JsonNotation notation) static LutMetadata
read
(JsonNotation notation, com.fasterxml.jackson.databind.node.ObjectNode json) void
write
(JsonNotation notation, com.fasterxml.jackson.core.JsonGenerator generator)
-
Constructor Details
-
LutMetadata
public LutMetadata(GameSettings gameSettings, Map<String, com.fasterxml.jackson.databind.JsonNode> additionalMetadata) -
LutMetadata
-
-
Method Details
-
getGameSettings
-
getAdditionalMetadata
-
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)
-