MCPcopy Index your code
hub / github.com/microsoft/SandDance / _getModel

Method _getModel

docs/app/js/sanddance-app.js:7747–7753  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

7745 //}
7746 }
7747 _getModel(gl) {
7748 return new (0, _base.base).luma.Model(gl, Object.assign({}, this.getShaders(), {
7749 id: this.props.id,
7750 geometry: new (0, _base.base).luma.CubeGeometry(),
7751 isInstanced: true
7752 }));
7753 }
7754 draw({ uniforms }) {
7755 let { lightingMix } = this.props;
7756 if (this.props.interpolator && this.props.interpolator.layerInterpolatedProps) lightingMix = this.props.interpolator.layerInterpolatedProps.lightingMix;

Callers 2

updateStateMethod · 0.95
sanddance-app.jsFile · 0.45

Calls 1

getShadersMethod · 0.95

Tested by

no test coverage detected