Fork me on GitHub
View source

package haxepunk.graphics.shader

class TextureShader


extends Shader

Static variables

static read only defaultShader : TextureShader

Static functions

View source

static fromAsset (name : String) : TextureShader

Create a custom shader from a text asset.

Constructor

View source

new (vertex : String, fragment : String) : Void