mischief-render
Safe HaskellNone
LanguageGHC2024

Mischief.Render.Plugin

Synopsis

Documentation

data RenderPlugin Source #

Constructors

RenderPlugin 

Instances

Instances details
Eq RenderPlugin Source # 
Instance details

Defined in Mischief.Render.Plugin

Plugin RenderPlugin Source # 
Instance details

Defined in Mischief.Render.Plugin

Methods

deps :: [Dependency] #

init :: System () #

data Bindings f Source #

Constructors

Bindings 

Instances

Instances details
Bindable Bindings Source # 
Instance details

Defined in Mischief.Render.Plugin

Generic (Bindings f) Source # 
Instance details

Defined in Mischief.Render.Plugin

Associated Types

type Rep (Bindings f) 
Instance details

Defined in Mischief.Render.Plugin

type Rep (Bindings f) = D1 ('MetaData "Bindings" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Bindings" 'PrefixI 'True) (S1 ('MetaSel ('Just "tex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Binding f Texture)) :*: S1 ('MetaSel ('Just "sampler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Binding f Sampler))))

Methods

from :: Bindings f -> Rep (Bindings f) x #

to :: Rep (Bindings f) x -> Bindings f #

type Rep (Bindings f) Source # 
Instance details

Defined in Mischief.Render.Plugin

type Rep (Bindings f) = D1 ('MetaData "Bindings" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "Bindings" 'PrefixI 'True) (S1 ('MetaSel ('Just "tex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Binding f Texture)) :*: S1 ('MetaSel ('Just "sampler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Binding f Sampler))))

newtype VertexInput f Source #

Constructors

VertexInput (BuiltIn f "vertex_index" Uint) 

Instances

Instances details
ShaderParam VertexInput Source # 
Instance details

Defined in Mischief.Render.Plugin

Methods

collectParams :: Params

paramDefinition :: ParamDefinition

dummyParam :: VertexInput GPU

collectValues :: VertexInput GPU -> Values

Generic (VertexInput f) Source # 
Instance details

Defined in Mischief.Render.Plugin

Associated Types

type Rep (VertexInput f) 
Instance details

Defined in Mischief.Render.Plugin

type Rep (VertexInput f) = D1 ('MetaData "VertexInput" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'True) (C1 ('MetaCons "VertexInput" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BuiltIn f "vertex_index" Uint))))

Methods

from :: VertexInput f -> Rep (VertexInput f) x #

to :: Rep (VertexInput f) x -> VertexInput f #

type Rep (VertexInput f) Source # 
Instance details

Defined in Mischief.Render.Plugin

type Rep (VertexInput f) = D1 ('MetaData "VertexInput" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'True) (C1 ('MetaCons "VertexInput" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BuiltIn f "vertex_index" Uint))))

data VertexOutput f Source #

Constructors

VertexOutput 

Fields

Instances

Instances details
ShaderParam VertexOutput Source # 
Instance details

Defined in Mischief.Render.Plugin

Methods

collectParams :: Params

paramDefinition :: ParamDefinition

dummyParam :: VertexOutput GPU

collectValues :: VertexOutput GPU -> Values

Generic (VertexOutput f) Source # 
Instance details

Defined in Mischief.Render.Plugin

Associated Types

type Rep (VertexOutput f) 
Instance details

Defined in Mischief.Render.Plugin

type Rep (VertexOutput f) = D1 ('MetaData "VertexOutput" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "VertexOutput" 'PrefixI 'True) (S1 ('MetaSel ('Just "pos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BuiltIn f "position" (Vec 4 Float))) :*: S1 ('MetaSel ('Just "uv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location f 0 (Vec 2 Float)))))

Methods

from :: VertexOutput f -> Rep (VertexOutput f) x #

to :: Rep (VertexOutput f) x -> VertexOutput f #

type Rep (VertexOutput f) Source # 
Instance details

Defined in Mischief.Render.Plugin

type Rep (VertexOutput f) = D1 ('MetaData "VertexOutput" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "VertexOutput" 'PrefixI 'True) (S1 ('MetaSel ('Just "pos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BuiltIn f "position" (Vec 4 Float))) :*: S1 ('MetaSel ('Just "uv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location f 0 (Vec 2 Float)))))

data DummyFullscreenMaterial Source #

Material for rendering something to the whole screen.

Instances

Instances details
Material DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type B DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type Extandable DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type Extends DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type IsPhantom DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type VI DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type VO DummyFullscreenMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

data ClearMaterial Source #

Instances

Instances details
Material ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

Associated Types

type VI ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type VO ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type B ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type Extends ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type Extends ClearMaterial = '[] :: [Type]
type Extandable ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type IsPhantom ClearMaterial 
Instance details

Defined in Mischief.Render.Plugin

type B ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type Extandable ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type Extends ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type Extends ClearMaterial = '[] :: [Type]
type IsPhantom ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type VI ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

type VO ClearMaterial Source # 
Instance details

Defined in Mischief.Render.Plugin

data NoBindings (f :: k) Source #

Constructors

NoBindings 

Instances

Instances details
Bindable (NoBindings :: Type -> Type) Source # 
Instance details

Defined in Mischief.Render.Plugin

Generic (NoBindings f) Source # 
Instance details

Defined in Mischief.Render.Plugin

Associated Types

type Rep (NoBindings f) 
Instance details

Defined in Mischief.Render.Plugin

type Rep (NoBindings f) = D1 ('MetaData "NoBindings" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NoBindings" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: NoBindings f -> Rep (NoBindings f) x #

to :: Rep (NoBindings f) x -> NoBindings f #

type Rep (NoBindings f) Source # 
Instance details

Defined in Mischief.Render.Plugin

type Rep (NoBindings f) = D1 ('MetaData "NoBindings" "Mischief.Render.Plugin" "mischief-render-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NoBindings" 'PrefixI 'False) (U1 :: Type -> Type))