getRenderTargetSamples method

int getRenderTargetSamples(
  1. RenderTarget renderTarget
)

Implementation

int getRenderTargetSamples(RenderTarget renderTarget) {
  return math.min(maxSamples, renderTarget.samples);
}