Buckets:
| import { ShaderMaterial } from './ShaderMaterial.js'; | |
| /** | |
| * This class works just like {@link ShaderMaterial}, except that definitions | |
| * of built-in uniforms and attributes are not automatically prepended to the | |
| * GLSL shader code. | |
| * | |
| * `RawShaderMaterial` can only be used with {@link WebGLRenderer}. | |
| * | |
| * @augments ShaderMaterial | |
| */ | |
| class RawShaderMaterial extends ShaderMaterial { | |
| /** | |
| * Constructs a new raw shader material. | |
| * | |
| * @param {Object} [parameters] - An object with one or more properties | |
| * defining the material's appearance. Any property of the material | |
| * (including any property from inherited materials) can be passed | |
| * in here. Color values can be passed any type of value accepted | |
| * by {@link Color#set}. | |
| */ | |
| constructor( parameters ) { | |
| super( parameters ); | |
| /** | |
| * This flag can be used for type testing. | |
| * | |
| * @type {boolean} | |
| * @readonly | |
| * @default true | |
| */ | |
| this.isRawShaderMaterial = true; | |
| this.type = 'RawShaderMaterial'; | |
| } | |
| } | |
| export { RawShaderMaterial }; | |
Xet Storage Details
- Size:
- 1.03 kB
- Xet hash:
- 697a079cb671cd7a05a2c334d0b63652bc7d477faeb4b0e567f4eff19f8df5d1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.