GPipe-Core-0.2.3.2: Typesafe functional GPU graphics programming
Safe HaskellNone
LanguageHaskell2010

Graphics.GPipe.Internal.Format

Documentation

data RInt Source #

Instances

Instances details
ColorRenderable RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorSampleable RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RInt a Source #

type ColorElement RInt Source #

TextureFormat RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type ColorElement RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type Color RInt a Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type Color RInt a = a

data Depth Source #

Instances

Instances details
DepthRenderable Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorSampleable Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color Depth a Source #

type ColorElement Depth Source #

TextureFormat Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type ColorElement Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type Color Depth a Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type Color Depth a = a

data Stencil Source #

Instances

Instances details
StencilRenderable Stencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

data Format a where Source #

Constructors

R8 :: Format RFloat 
R8S :: Format RFloat 
R16 :: Format RFloat 
R16S :: Format RFloat 
R16F :: Format RFloat 
R32F :: Format RFloat 
R8I :: Format RInt 
R16I :: Format RInt 
R32I :: Format RInt 
R8UI :: Format RWord 
R16UI :: Format RWord 
R32UI :: Format RWord 
RG8 :: Format RGFloat 
RG8S :: Format RGFloat 
RG16 :: Format RGFloat 
RG16S :: Format RGFloat 
RG16F :: Format RGFloat 
RG32F :: Format RGFloat 
RG8I :: Format RGInt 
RG16I :: Format RGInt 
RG32I :: Format RGInt 
RG8UI :: Format RGWord 
RG16UI :: Format RGWord 
RG32UI :: Format RGWord 
R3G3B2 :: Format RGBFloat 
RGB4 :: Format RGBFloat 
RGB5 :: Format RGBFloat 
RGB8 :: Format RGBFloat 
RGB8S :: Format RGBFloat 
RGB10 :: Format RGBFloat 
RGB12 :: Format RGBFloat 
RGB16 :: Format RGBFloat 
RGB16S :: Format RGBFloat 
RGB16F :: Format RGBFloat 
RGB32F :: Format RGBFloat 
R11FG11FB10F :: Format RGBFloat 
RGB9E5 :: Format RGBFloat 
SRGB8 :: Format RGBFloat 
RGB8I :: Format RGBInt 
RGB16I :: Format RGBInt 
RGB32I :: Format RGBInt 
RGBWord :: Format RGBWord 
RGB8UI :: Format RGBWord 
RGB16UI :: Format RGBWord 
RGB32UI :: Format RGBWord 
RGBA2 :: Format RGBAFloat 
RGBA4 :: Format RGBAFloat 
RGB5A1 :: Format RGBAFloat 
RGBA8 :: Format RGBAFloat 
RGBA8S :: Format RGBAFloat 
RGB10A2 :: Format RGBAFloat 
RGBA12 :: Format RGBAFloat 
RGBA16 :: Format RGBAFloat 
RGBA16S :: Format RGBAFloat 
RGBA16F :: Format RGBAFloat 
RGBA32F :: Format RGBAFloat 
SRGB8A8 :: Format RGBAFloat 
RGBA8I :: Format RGBAInt 
RGBA16I :: Format RGBAInt 
RGBA32I :: Format RGBAInt 
RGBA8UI :: Format RGBAWord 
RGBA16UI :: Format RGBAWord 
RGBA32UI :: Format RGBAWord 
Depth16 :: Format Depth 
Depth24 :: Format Depth 
Depth32 :: Format Depth 
Depth32F :: Format Depth 
Stencil1 :: Format Stencil 
Stencil4 :: Format Stencil 
Stencil8 :: Format Stencil 
Stencil16 :: Format Stencil 
Depth24Stencil8 :: Format DepthStencil 
Depth32FStencil8 :: Format DepthStencil 

class TextureFormat f where Source #

Minimal complete definition

Nothing

Methods

getGlFormat :: f -> GLenum Source #

Instances

Instances details
TextureFormat DepthStencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBAWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBAInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBAFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGBFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RGFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

TextureFormat RFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

class TextureFormat f => ColorSampleable f where Source #

Minimal complete definition

Nothing

Associated Types

type Color f a Source #

type ColorElement f :: * Source #

Methods

typeStr :: f -> Text Source #

typeStr4 :: f -> Text Source #

toColor :: f -> V4 x -> Color f x Source #

fromColor :: f -> Color f x -> [x] Source #

setBorderColor :: f -> GLenum -> Color f (ColorElement f) -> IO () Source #

samplerPrefix :: f -> Text Source #

Instances

Instances details
ColorSampleable DepthStencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorSampleable Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color Depth a Source #

type ColorElement Depth Source #

ColorSampleable RGBAWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBAWord a Source #

type ColorElement RGBAWord Source #

ColorSampleable RGBAInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBAInt a Source #

type ColorElement RGBAInt Source #

ColorSampleable RGBAFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBAFloat a Source #

type ColorElement RGBAFloat Source #

ColorSampleable RGBWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBWord a Source #

type ColorElement RGBWord Source #

ColorSampleable RGBInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBInt a Source #

type ColorElement RGBInt Source #

ColorSampleable RGBFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGBFloat a Source #

type ColorElement RGBFloat Source #

ColorSampleable RGWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGWord a Source #

type ColorElement RGWord Source #

ColorSampleable RGInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGInt a Source #

type ColorElement RGInt Source #

ColorSampleable RGFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RGFloat a Source #

type ColorElement RGFloat Source #

ColorSampleable RWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RWord a Source #

type ColorElement RWord Source #

ColorSampleable RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RInt a Source #

type ColorElement RInt Source #

ColorSampleable RFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

Associated Types

type Color RFloat a Source #

type ColorElement RFloat Source #

class ColorSampleable c => ColorRenderable c where Source #

Minimal complete definition

Nothing

Methods

isSrgb :: Format c -> Bool Source #

clearColor :: c -> Color c (ColorElement c) -> IO () Source #

Instances

Instances details
ColorRenderable RGBAWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGBAInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGBAFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGBWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGBInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGBFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RGFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RWord Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RInt Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

ColorRenderable RFloat Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

class ColorSampleable f => DepthRenderable f Source #

Instances

Instances details
DepthRenderable DepthStencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

DepthRenderable Depth Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

class StencilRenderable f Source #

Instances

Instances details
StencilRenderable DepthStencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

StencilRenderable Stencil Source # 
Instance details

Defined in Graphics.GPipe.Internal.Format

type WindowBits = ((Int, Int, Int, Int, Bool), Int, Int) Source #