RenderTarget.singleColor constructor

RenderTarget.singleColor(
  1. ColorAttachment colorAttachment, {
  2. DepthStencilAttachment? depthStencilAttachment,
})

Implementation

RenderTarget.singleColor(
  ColorAttachment colorAttachment, {
  DepthStencilAttachment? depthStencilAttachment,
}) : this(
       colorAttachments: [colorAttachment],
       depthStencilAttachment: depthStencilAttachment,
     );