Class LutMetadata

java.lang.Object
net.royalur.lut.LutMetadata

public class LutMetadata extends Object
Holds the metadata stored for a LUT.
  • Constructor Details

    • LutMetadata

      public LutMetadata(GameSettings gameSettings, Map<String,com.fasterxml.jackson.databind.JsonNode> additionalMetadata)
    • LutMetadata

      public LutMetadata(GameSettings gameSettings)
  • Method Details

    • getGameSettings

      public GameSettings getGameSettings()
    • getAdditionalMetadata

      public Map<String,com.fasterxml.jackson.databind.JsonNode> getAdditionalMetadata()
    • addMetadata

      public void addMetadata(String key, com.fasterxml.jackson.databind.JsonNode value)
    • addMetadata

      public void addMetadata(String key, String value)
    • encode

      public String encode(JsonNotation notation)
    • write

      public void write(JsonNotation notation, com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
      Throws:
      IOException
    • decode

      public static LutMetadata decode(JsonNotation notation, String encoded)
    • read

      public static LutMetadata read(JsonNotation notation, com.fasterxml.jackson.databind.node.ObjectNode json)