translator

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	TextureLines []string
	UniformLines []string
	VaryingLines []string
	CodeLines    []string
}

func Translate

func Translate(shader *lsl.Shader, stage ShaderStage) Output

type ShaderStage

type ShaderStage string
const (
	ShaderStageVertex   ShaderStage = "vertex"
	ShaderStageFragment ShaderStage = "fragment"
)

Jump to

Keyboard shortcuts

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