pipeline

package
v0.0.0-...-6aa7f09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package pipeline implements learnogl env mapping stuff

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func System

func System(r *render.Context, res *resource.Context) error

Types

type PL

type PL struct {
	// contains filtered or unexported fields
}

PL pipeline instance that will reference VertexArray and VBOs.

func New

func New(r *render.Context, res *resource.Context) *PL

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) LoadHDR

func (pl *PL) LoadHDR(src string, 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

type Render

type Render = render.Render

type Shader

type Shader = render.Shader

type Step

type Step = render.Step

type StepFunc

type StepFunc = render.StepFunc

type VBO

type VBO = render.VBO

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL