Language.GLSL.Decls
data Decls a Source #
Constructors
Fields
emptyDecls :: Decls a Source #
addDecl :: Namespace -> NameId -> a -> Decls a -> Decls a Source #
addDeclN :: Name -> a -> Decls a -> Decls a Source #
addDeclNE :: NameExpr -> a -> Decls a -> Decls a Source #
getDecls :: Namespace -> Decls a -> IntMap a Source #
getDecl :: Namespace -> NameId -> Decls a -> Maybe a Source #
getDeclN :: Name -> Decls a -> Maybe a Source #
getDeclNE :: NameExpr -> Decls a -> Maybe a Source #
toUniformId :: (NameId, NameId) -> NameId Source #
fromUniformId :: NameId -> (NameId, NameId) Source #
showUniformId :: NameId -> String Source #