BlendShader

indigo.shared.shader.BlendShader
See theBlendShader companion trait
object BlendShader extends BaseBlendShader

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class External(id: ShaderId, vertex: Option[AssetName], fragment: Option[AssetName]) extends BlendShader

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait BlendShader
trait Shader
class Object
trait Matchable
class Any
Show all
object External

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
External.type
final case class Source(id: ShaderId, vertex: String, fragment: String) extends BlendShader

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait BlendShader
trait Shader
class Object
trait Matchable
class Any
Show all
object Source

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Source.type

Inherited classlikes

protected case class IndigoFrameData(TIME: highp[Float], VIEWPORT_SIZE: vec2)

Attributes

Inherited from:
BaseBlendShader
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
protected case class IndigoMergeData(u_projection: mat4, u_scale: vec2)

Attributes

Inherited from:
BaseBlendShader
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
protected case class UserDefined()

Attributes

Inherited from:
BaseBlendShader
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
protected case class VertexEnv(var gl_Position: vec4)

Attributes

Inherited from:
BaseBlendShader
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

inline def fragment[Env](inline userFragmentFn: Shader[Env, Unit], env: Env): ShaderResult

Attributes

Inherited from:
BaseBlendShader
inline def fragmentRawBody(inline userFragmentFn: Shader[Unit, Unit]): ShaderResult

Attributes

Inherited from:
BaseBlendShader
inline def fragmentShader[E](inline userFragmentFn: Shader[E, Unit], reference: E): Shader[UserDefined, Unit]

Attributes

Inherited from:
BaseBlendShader
inline def vertex[Env](inline userVertexFn: Shader[Env, Unit], env: Env): ShaderResult

Attributes

Inherited from:
BaseBlendShader
inline def vertexRawBody(inline userVertexFn: Shader[Unit, Unit]): ShaderResult

Attributes

Inherited from:
BaseBlendShader
inline def vertexShader[E](inline userVertexFn: Shader[E, Unit], reference: E): Shader[IndigoMergeData & VertexEnv & UserDefined, Unit]

Attributes

Inherited from:
BaseBlendShader

Inherited fields

val fragmentTemplate: String => String

Attributes

Inherited from:
BaseBlendShader
val vertexTemplate: String => String

Attributes

Inherited from:
BaseBlendShader