IndigoShader

indigo.IndigoShader

A trait representing a shader that fills the available window.

You can override a number of the details in this trait using launch flags, including:

  • width - starting width of the shader
  • height - starting height of the shader
  • channel0 - path to an image
  • channel1 - path to an image
  • channel2 - path to an image
  • channel3 - path to an image

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

protected def ready(flags: Map[String, String]): Element => GameEngine[IndigoShaderModel, IndigoShaderModel, Unit]

Inherited methods

def halt(): Unit

Attributes

Inherited from:
GameLauncher
def launch(element: Element, flags: (String, String)*): Unit

Attributes

Inherited from:
GameLauncher
def launch(containerId: String, flags: (String, String)*): Unit

Attributes

Inherited from:
GameLauncher
def launch(element: Element, flags: Map[String, String]): Unit

Attributes

Inherited from:
GameLauncher
def launch(containerId: String, flags: Map[String, String]): Unit

Attributes

Inherited from:
GameLauncher
def launch(element: Element, flags: Dictionary[String]): Unit

Attributes

Inherited from:
GameLauncher
def launch(containerId: String, flags: Dictionary[String]): Unit

Attributes

Inherited from:
GameLauncher
def launch(element: Element): Unit

Attributes

Inherited from:
GameLauncher
def launch(containerId: String): Unit

Attributes

Inherited from:
GameLauncher

Abstract fields

A fixed set of assets that will be loaded before the game starts, typically for loading an external shader file.

A fixed set of assets that will be loaded before the game starts, typically for loading an external shader file.

Attributes

An optional path to an image asset you would like to be mapped to channel 0 for your shader to use.

An optional path to an image asset you would like to be mapped to channel 0 for your shader to use.

Attributes

An optional path to an image asset you would like to be mapped to channel 1 for your shader to use.

An optional path to an image asset you would like to be mapped to channel 1 for your shader to use.

Attributes

An optional path to an image asset you would like to be mapped to channel 2 for your shader to use.

An optional path to an image asset you would like to be mapped to channel 2 for your shader to use.

Attributes

An optional path to an image asset you would like to be mapped to channel 3 for your shader to use.

An optional path to an image asset you would like to be mapped to channel 3 for your shader to use.

Attributes

Your shader's default configuration settings, values like the viewport size can be overriden with flags.

Your shader's default configuration settings, values like the viewport size can be overriden with flags.

Attributes

val shader: Shader

The shader you want to render

The shader you want to render

Attributes