The BlitScreenQuadCMD class is used to create render the source texture to the destination render texture by using the full screen quad command.

BlitScreenQuadCMD 类用于创建通过全屏四边形将源纹理渲染到目标渲染纹理的指令

层级 (查看完整内容)

访问器

方法

  • 参数

    • source: BaseTexture

      The source texture. If set to null, it will use the default RenderTexture from the Camera process.

    • dest: RenderTexture

      The destination texture. If set to null, it will use the default rendering target of the camera.

    • offsetScale: Vector4 = null

      Offset scaling.

    • shader: Shader3D = null

      The shader to use for rendering.

    • shaderData: ShaderData = null

      The shader data for rendering.

    • subShader: number = 0

      The subShader index. Default is 0.

    • screenType: number = BlitScreenQuadCMD.SCREENTYPE_QUAD

      The screen type for rendering.

    • commandbuffer: CommandBuffer = null

      The command buffer to use.

    返回 BlitScreenQuadCMD

    Create command stream

    创建命令流