effects

package
v0.0.0-...-0518d83 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blend

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

func NewBlend

func NewBlend(width, height, frames int, weights []float32) *Blend

func (*Blend) Begin

func (effect *Blend) Begin()

func (*Blend) Blend

func (effect *Blend) Blend()

func (*Blend) End

func (effect *Blend) End()

type BloomEffect

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

func NewBloomEffect

func NewBloomEffect(width, height int) *BloomEffect

func (*BloomEffect) Begin

func (effect *BloomEffect) Begin()

func (*BloomEffect) EndAndRender

func (effect *BloomEffect) EndAndRender()

func (*BloomEffect) SetBlur

func (effect *BloomEffect) SetBlur(blur float64)

func (*BloomEffect) SetPower

func (effect *BloomEffect) SetPower(power float64)

func (*BloomEffect) SetThreshold

func (effect *BloomEffect) SetThreshold(threshold float64)

type BlurEffect

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

func NewBlurEffect

func NewBlurEffect(width, height int) *BlurEffect

func (*BlurEffect) Begin

func (effect *BlurEffect) Begin()

func (*BlurEffect) EndAndProcess

func (effect *BlurEffect) EndAndProcess() texture.Texture

func (*BlurEffect) SetBlur

func (effect *BlurEffect) SetBlur(blurX, blurY float64)

type RGBYUV

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

func NewRGBYUV

func NewRGBYUV(width, height int, subsample bool) *RGBYUV

func (*RGBYUV) Begin

func (effect *RGBYUV) Begin()

func (*RGBYUV) Draw

func (effect *RGBYUV) Draw() (y texture.Texture, uv texture.Texture)

func (*RGBYUV) End

func (effect *RGBYUV) End()

Jump to

Keyboard shortcuts

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