vulkan-utils-0.1.2: Utils for the vulkan package
Safe HaskellNone
LanguageHaskell2010

Vulkan.Utils.FromGL

Synopsis

Documentation

internalFormat :: (Eq a, Num a) => a -> Maybe Format Source #

Convert an OpenGL format enum into a Format

>>> internalFormat 0x8051
Just FORMAT_R8G8B8_UNORM