Home Reference Source Repository
import PropertyFactoryShader from 'f.lux/src/PropertyFactoryShader.js'
public class | source

PropertyFactoryShader

Specialized shader that uses a StateType instance to instantiate a Property. Used by KeyedApi for adding child properties to the Property#shader.

See:

Constructor Summary

Public Constructor
public

constructor(stateType: *, parent: *)

Member Summary

Public Members
public
public

parent: *

public
public

Method Summary

Public Methods
public

addProperty(name: *, stateType: *)

public

setElementType(stateType: *)

public

shadowProperty(time: *, name: *, parentState: *, parentImpl: *): *

public

Public Constructors

public constructor(stateType: *, parent: *) source

Params:

NameTypeAttributeDescription
stateType *
parent *

Public Members

public elementType: * source

public parent: * source

public propertyShaderDefn: {} source

public stateType: * source

Public Methods

public addProperty(name: *, stateType: *) source

Params:

NameTypeAttributeDescription
name *
stateType *

public setElementType(stateType: *) source

Params:

NameTypeAttributeDescription
stateType *

public shadowProperty(time: *, name: *, parentState: *, parentImpl: *): * source

Params:

NameTypeAttributeDescription
time *
name *
parentState *
parentImpl *

Return:

*

public shouldAutomount(): * source

Return:

*