getRenderTargetSamples method

int getRenderTargetSamples(
  1. RenderTarget renderTarget
)

Implementation

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