11import { LAYERID_SKYBOX , LAYERID_IMMEDIATE , TONEMAP_NONE , GAMMA_NONE } from '../../scene/constants.js' ;
22import { ADDRESS_CLAMP_TO_EDGE , FILTER_LINEAR , PIXELFORMAT_RGBA8 } from '../../platform/graphics/constants.js' ;
33import { Texture } from '../../platform/graphics/texture.js' ;
4- import { RenderPass } from '../../platform/graphics/render -pass.js' ;
5- import { RenderPassColorGrab } from '../../scene/graphics/render -pass-color-grab.js' ;
4+ import { FramePass } from '../../platform/graphics/frame -pass.js' ;
5+ import { FramePassColorGrab } from '../../scene/graphics/frame -pass-color-grab.js' ;
66import { RenderPassForward } from '../../scene/renderer/render-pass-forward.js' ;
77import { RenderTarget } from '../../platform/graphics/render-target.js' ;
88
9- import { RenderPassBloom } from './render -pass-bloom.js' ;
9+ import { FramePassBloom } from './frame -pass-bloom.js' ;
1010import { RenderPassCompose } from './render-pass-compose.js' ;
1111import { RenderPassTAA } from './render-pass-taa.js' ;
12- import { RenderPassDof } from './render -pass-dof.js' ;
12+ import { FramePassDof } from './frame -pass-dof.js' ;
1313import { RenderPassPrepass } from './render-pass-prepass.js' ;
1414import { RenderPassSsao } from './render-pass-ssao.js' ;
1515import { SSAOTYPE_COMBINE , SSAOTYPE_LIGHTING , SSAOTYPE_NONE } from './constants.js' ;
@@ -22,8 +22,8 @@ import { Color } from '../../core/math/color.js';
2222 */
2323
2424/**
25- * Options used to configure the RenderPassCameraFrame . To modify these options, you must create
26- * a new instance of the RenderPassCameraFrame with the desired settings.
25+ * Options used to configure the FramePassCameraFrame . To modify these options, you must create
26+ * a new instance of the FramePassCameraFrame with the desired settings.
2727 *
2828 * @ignore
2929 */
@@ -76,7 +76,7 @@ const _defaultOptions = new CameraFrameOptions();
7676 * @category Graphics
7777 * @ignore
7878 */
79- class RenderPassCameraFrame extends RenderPass {
79+ class FramePassCameraFrame extends FramePass {
8080 app ;
8181
8282 prePass ;
@@ -375,7 +375,7 @@ class RenderPassCameraFrame extends RenderPass {
375375 // grab pass allowing us to copy the render scene into a texture and use for refraction
376376 // the source for the copy is the texture we render the scene to
377377 if ( options . sceneColorMap ) {
378- this . colorGrabPass = new RenderPassColorGrab ( device ) ;
378+ this . colorGrabPass = new FramePassColorGrab ( device ) ;
379379 this . colorGrabPass . source = this . rt ;
380380
381381 // if grab pass is used, render the layers after it (otherwise they were already rendered)
@@ -430,13 +430,13 @@ class RenderPassCameraFrame extends RenderPass {
430430
431431 if ( this . _bloomEnabled ) {
432432 // create a bloom pass, which generates bloom texture based on the provided texture
433- this . bloomPass = new RenderPassBloom ( this . device , inputTexture , this . hdrFormat ) ;
433+ this . bloomPass = new FramePassBloom ( this . device , inputTexture , this . hdrFormat ) ;
434434 }
435435 }
436436
437437 setupDofPass ( options , inputTexture , inputTextureHalf ) {
438438 if ( options . dofEnabled ) {
439- this . dofPass = new RenderPassDof ( this . device , this . cameraComponent , inputTexture , inputTextureHalf , options . dofHighQuality , options . dofNearBlur ) ;
439+ this . dofPass = new FramePassDof ( this . device , this . cameraComponent , inputTexture , inputTextureHalf , options . dofHighQuality , options . dofNearBlur ) ;
440440 }
441441 }
442442
@@ -503,4 +503,4 @@ class RenderPassCameraFrame extends RenderPass {
503503 }
504504}
505505
506- export { RenderPassCameraFrame , CameraFrameOptions } ;
506+ export { FramePassCameraFrame , CameraFrameOptions } ;
0 commit comments