Documentation

Index

Constants

const Prelude = `#include <metal_stdlib>

using namespace metal;

constexpr sampler texture_sampler{filter::nearest};`

Variables

This section is empty.

Functions

func Compile

func Compile(p *shaderir.Program, vertex, fragment string) (shader string)

Types

This section is empty.

Source Files