fireball/lib/materials/RawShaderMaterial.js

22 lines
451 B
JavaScript
Raw Permalink Normal View History

2018-12-25 13:59:22 +00:00
import { ShaderMaterial } from './ShaderMaterial.js';
/**
* @author mrdoob / http://mrdoob.com/
*/
function RawShaderMaterial( parameters ) {
ShaderMaterial.call( this, parameters );
this.type = 'RawShaderMaterial';
}
RawShaderMaterial.prototype = Object.create( ShaderMaterial.prototype );
RawShaderMaterial.prototype.constructor = RawShaderMaterial;
RawShaderMaterial.prototype.isRawShaderMaterial = true;
export { RawShaderMaterial };