- data PassType
- data InputMode
- = IM_NONE
- | IM_PREVIOUS
- data (Texture t, LinkedGpuProgram lp) => Compositor t lp = Compositor {
- cmpName :: String
- cmpTechniques :: [CompositionTechnique t lp]
- cmpSupportedTechniques :: Maybe [CompositionTechnique t lp]
- data Texture t => TextureDefinition t = TextureDefinition {
- tdName :: String
- tdWidth :: Maybe Int
- tdHeight :: Maybe Int
- tdWidthFactor :: FloatType
- tdHeightFactor :: FloatType
- tdFormatList :: [PixelFormat]
- tdFsaa :: Bool
- tdHwGammaWrite :: Bool
- tdShared :: Bool
- tdTexture :: Maybe t
- data InputTex = InputTex {
- itName :: String
- itMrtIndex :: Int
- data (Texture t, LinkedGpuProgram lp) => CompositionTechnique t lp = CompositionTechnique {
- ctTextureDefinitions :: [TextureDefinition t]
- ctTargetPasses :: [CompositionTargetPass t lp]
- ctOutputTarget :: CompositionTargetPass t lp
- ctSchemeName :: String
- data (Texture t, LinkedGpuProgram lp) => CompositionTargetPass t lp = CompositionTargetPass {}
- data (Texture t, LinkedGpuProgram lp) => CompositionPass t lp = CompositionPass {
- cpType :: PassType
- cpIdentifier :: Word32
- cpMaterialName :: String
- cpMaterial :: Maybe (Material t lp)
- cpFirstRenderQueue :: Int
- cpLastRenderQueue :: Int
- cpClearBuffers :: (Bool, Bool, Bool)
- cpClearColour :: ColourValue
- cpClearDepth :: FloatType
- cpClearStencil :: Word32
- cpInputs :: IntMap InputTex
- cpStencilCheck :: Bool
- cpStencilFunc :: CompareFunction
- cpStencilRefValue :: Word32
- cpStencilMask :: Word32
- cpStencilFailOp :: StencilOperation
- cpStencilDepthFailOp :: StencilOperation
- cpStencilPassOp :: StencilOperation
- cpStencilTwoSidedOperation :: Bool
- cpQuadCornerModified :: Bool
- cpQuadLeft :: FloatType
- cpQuadTop :: FloatType
- cpQuadRight :: FloatType
- cpQuadBottom :: FloatType
- cpQuadFarCorners :: Bool
- cpQuadFarCornersViewSpace :: Bool
Documentation
PT_CLEAR | Clear target to one colour |
PT_STENCIL | Set stencil operation |
PT_RENDERSCENE | Render the scene or part of it |
PT_RENDERQUAD | Render a full screen quad |
Input mode of a TargetPass
IM_NONE | No input |
IM_PREVIOUS | Output of previous Composition in chain |
data (Texture t, LinkedGpuProgram lp) => Compositor t lp Source
Compositor | |
|
data Texture t => TextureDefinition t Source
TextureDefinition | |
|
InputTex | |
|
data (Texture t, LinkedGpuProgram lp) => CompositionTechnique t lp Source
CompositionTechnique | |
|
data (Texture t, LinkedGpuProgram lp) => CompositionTargetPass t lp Source
CompositionTargetPass | |
|
data (Texture t, LinkedGpuProgram lp) => CompositionPass t lp Source
CompositionPass | |
|