RedViz-0.1.0.0: a library for realtime interactive 3D visualizations
Copyright(c) Vladimir Lopatin 2022
LicenseBSD-3-Clause
MaintainerVladimir Lopatin <madjestic13@gmail.com>
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Graphics.RedViz.Material

Description

Utilities for handling Materials.

Synopsis

Documentation

data Material Source #

Constructors

Material 

Fields

Instances

Instances details
Show Material Source # 
Instance details

Defined in Graphics.RedViz.Material

ToJSON Material Source # 
Instance details

Defined in Graphics.RedViz.Material

FromJSON Material Source # 
Instance details

Defined in Graphics.RedViz.Material

read :: FilePath -> IO Material Source #

Read a Material json-formatted file from disk.

write :: Material -> FilePath -> IO () Source #

Write a Material json-formatted file to disk.