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

Graphics.RedViz.Texture

Description

Utilities for texture handling.

Synopsis

Documentation

data Texture Source #

Constructors

Texture 

Fields

  • _name :: String

    Binding name in a shader.

  • _path :: FilePath

    A filepath to an image file location on disk, relative to project root.

  • _uuid :: UUID

    A unique object (texture) ID.

Instances

Instances details
Eq Texture Source # 
Instance details

Defined in Graphics.RedViz.Texture

Methods

(==) :: Texture -> Texture -> Bool #

(/=) :: Texture -> Texture -> Bool #

Ord Texture Source # 
Instance details

Defined in Graphics.RedViz.Texture

Show Texture Source # 
Instance details

Defined in Graphics.RedViz.Texture

ToJSON Texture Source # 
Instance details

Defined in Graphics.RedViz.Texture

FromJSON Texture Source # 
Instance details

Defined in Graphics.RedViz.Texture

defaultTexture :: Texture Source #

A default Texture type constructor.