Class used for creating instructions to output from a render source to a render target.

类用于创建从渲染源输出到渲染目标的指令。

属性

_texture_size: Vector4 = null

访问器

方法

  • 参数

    • shader: Shader3D

      The shader to set. If null, uses the default screen shader.

    • subShader: number

      The sub-shader index. Default is 0.

    • shaderData: ShaderData

      The shader data to set.

    返回 void

    Set the shader, sub-shader, and shader data for the command.

    设置命令的着色器、子着色器和着色器数据。