Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type GBuffer = OutBuffer
- type DepthBuffer t = OutBuffer t OutDepthBuffer
- type GBufferInfo = OutBufferInfo
- type DepthBufferInfo = OutBufferInfo OutDepthBuffer
- data GBufferSampler t o
- data DepthBufferSampler t
- sampleGBuffer :: GBufferSampler t o -> GVec2 -> o
- sampleDepthBuffer :: DepthBufferSampler t -> GVec2 -> GFloat
- floatGBuffer :: FragmentShaderOutput o => TextureParameters -> GBufferInfo o
- byteGBuffer :: FragmentShaderOutput o => TextureParameters -> GBufferInfo o
- depthBuffer :: TextureParameters -> DepthBufferInfo
- depthStencilBuffer :: TextureParameters -> DepthBufferInfo
- toTextureSampler :: GBufferSampler t GVec4 -> TextureSampler
- fromTextureSampler :: TextureSampler -> GBufferSampler t GVec4
Documentation
type GBuffer = OutBuffer Source #
A container that can be used to store the output of some drawing operation.
type DepthBuffer t = OutBuffer t OutDepthBuffer Source #
A container for depth/stencil values.
type GBufferInfo = OutBufferInfo Source #
type DepthBufferInfo = OutBufferInfo OutDepthBuffer Source #
data GBufferSampler t o Source #
A GPU object that can be used to retrieve data from a GBuffer
.
FragmentShaderOutput o => Uniform (GBufferSampler t o) Source # | |
FragmentShaderOutput o => ShaderInput (GBufferSampler t o) Source # | |
FragmentShaderOutput o => MultiShaderType (GBufferSampler t o) Source # | |
type CPUUniform (GBufferSampler t o) Source # | |
type ExprMST (GBufferSampler t o) Source # | |
data DepthBufferSampler t Source #
A GPU object that can be used to retrieve data from a DepthBuffer
.
Uniform (DepthBufferSampler t) Source # | |
ShaderInput (DepthBufferSampler t) Source # | |
MultiShaderType (DepthBufferSampler t) Source # | |
type CPUUniform (DepthBufferSampler t) Source # | |
type ExprMST (DepthBufferSampler t) Source # | |
sampleGBuffer :: GBufferSampler t o -> GVec2 -> o Source #
Sample a value from a GBufferSampler
.
sampleDepthBuffer :: DepthBufferSampler t -> GVec2 -> GFloat Source #
Sample a value from a DepthBufferSampler
.
floatGBuffer :: FragmentShaderOutput o => TextureParameters -> GBufferInfo o Source #
byteGBuffer :: FragmentShaderOutput o => TextureParameters -> GBufferInfo o Source #