Buckets:
| import Pipeline from './Pipeline.js'; | |
| /** | |
| * Class for representing render pipelines. | |
| * | |
| * @private | |
| * @augments Pipeline | |
| */ | |
| class RenderPipeline extends Pipeline { | |
| /** | |
| * Constructs a new render pipeline. | |
| * | |
| * @param {string} cacheKey - The pipeline's cache key. | |
| * @param {ProgrammableStage} vertexProgram - The pipeline's vertex shader. | |
| * @param {ProgrammableStage} fragmentProgram - The pipeline's fragment shader. | |
| */ | |
| constructor( cacheKey, vertexProgram, fragmentProgram ) { | |
| super( cacheKey ); | |
| /** | |
| * The pipeline's vertex shader. | |
| * | |
| * @type {ProgrammableStage} | |
| */ | |
| this.vertexProgram = vertexProgram; | |
| /** | |
| * The pipeline's fragment shader. | |
| * | |
| * @type {ProgrammableStage} | |
| */ | |
| this.fragmentProgram = fragmentProgram; | |
| } | |
| } | |
| export default RenderPipeline; | |
Xet Storage Details
- Size:
- 806 Bytes
- Xet hash:
- 98f5e1401349cf0a5ff60a38d9ecde58af4990c2d070b66e1fa69d0900952f4f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.