Skip to content

package glsl

import "kaijuengine.com/rendering/glsl"

Types

ShaderSource

struct

type ShaderSource struct {
    WorkGroups [3]uint32
    Layouts    []rendering.ShaderLayout

    // Has unexported fields.
}

Parse

func Parse(path string, args string) (ShaderSource, error)

ShaderSource.IsCompute

func (s *ShaderSource) IsCompute() bool

ShaderSource.Type

func (s *ShaderSource) Type() string