GpuDepthTarget constructor

const GpuDepthTarget(
  1. GpuTexture texture, {
  2. GpuLoad load = GpuLoad.clear,
  3. GpuStore store = GpuStore.dontCare,
  4. double clearDepth = 1.0,
})

Depth into texture, cleared to clearDepth (1 = far).

Implementation

const GpuDepthTarget(
  this.texture, {
  this.load = GpuLoad.clear,
  this.store = GpuStore.dontCare,
  this.clearDepth = 1.0,
});