Documentation ¶
Overview ¶
Package pipeline implements learnogl env mapping stuff
Index ¶
- func System(r *render.Context, res *resource.Context) error
- type PL
- func (pl *PL) CaptureBRDF(target string) PipelineFunc
- func (pl *PL) CaptureIrradiance(src, target string) PipelineFunc
- func (pl *PL) CapturePrefilter(src, target string) PipelineFunc
- func (pl *PL) LoadHDR(src string, target string) PipelineFunc
- func (pl *PL) LoadSkyboxStage(target string) PipelineFunc
- func (pl *PL) RenderCube(srcMap string, vp gm.Vec4) PipelineFunc
- func (p *PL) RenderQuad(srcMap string, vp gm.Vec4) PipelineFunc
- func (pl *PL) RenderQuadDepth(srcMap string, vp gm.Vec4) PipelineFunc
- type PipelineFunc
- type Render
- type Shader
- type Step
- type StepFunc
- type VBO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PL ¶
type PL struct {
// contains filtered or unexported fields
}
PL pipeline instance that will reference VertexArray and VBOs.
func (*PL) CaptureBRDF ¶
func (pl *PL) CaptureBRDF(target string) PipelineFunc
func (*PL) CaptureIrradiance ¶
func (pl *PL) CaptureIrradiance(src, target string) PipelineFunc
CaptureIrradiance processes envMap through a shader
func (*PL) CapturePrefilter ¶
func (pl *PL) CapturePrefilter(src, target string) PipelineFunc
func (*PL) LoadSkyboxStage ¶
func (pl *PL) LoadSkyboxStage(target string) PipelineFunc
func (*PL) RenderCube ¶
func (pl *PL) RenderCube(srcMap string, vp gm.Vec4) PipelineFunc
RenderCube with a specific CubeMap sampler
func (*PL) RenderQuad ¶
func (p *PL) RenderQuad(srcMap string, vp gm.Vec4) PipelineFunc
func (*PL) RenderQuadDepth ¶
func (pl *PL) RenderQuadDepth(srcMap string, vp gm.Vec4) PipelineFunc
type PipelineFunc ¶
type PipelineFunc = renderpl.PipelineFunc
Click to show internal directories.
Click to hide internal directories.