srgb

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Unlicense, MIT, Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FBO

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

FBO implements an intermediate sRGB FBO for gamma-correct rendering on platforms without sRGB enabled native framebuffers.

func New

func New(ctx gl.Context) (*FBO, error)

func (*FBO) AfterPresent

func (s *FBO) AfterPresent()

func (*FBO) Blit

func (s *FBO) Blit()

func (*FBO) Refresh

func (s *FBO) Refresh(w, h int) error

func (*FBO) Release

func (s *FBO) Release()

Jump to

Keyboard shortcuts

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