preset

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCubeVertexArrayData

func NewCubeVertexArrayData(left, right, top, bottom, near, far float32) graphics.VertexArrayData

func NewExposureProbeShaderData

func NewExposureProbeShaderData() graphics.ProgramData

func NewPostprocessingShaderData

func NewPostprocessingShaderData(toneMapping ToneMapping) graphics.ProgramData

func NewQuadVertexArrayData

func NewQuadVertexArrayData(left, right, top, bottom float32) graphics.VertexArrayData

Types

type ShaderBuilder

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

func NewShaderBuilder

func NewShaderBuilder(template string) *ShaderBuilder

func (*ShaderBuilder) AddFeature

func (b *ShaderBuilder) AddFeature(feature string)

func (*ShaderBuilder) Build

func (b *ShaderBuilder) Build() string

func (*ShaderBuilder) SetVersion

func (b *ShaderBuilder) SetVersion(version string)

type ToneMapping

type ToneMapping int
const (
	ReinhardToneMapping ToneMapping = iota
	ExponentialToneMapping
)

Jump to

Keyboard shortcuts

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