GPURenderPassDepthStencilAttachment constructor

GPURenderPassDepthStencilAttachment({
  1. required GPUTextureView view,
  2. double? depthClearValue,
  3. GPULoadOp? depthLoadOp,
  4. GPUStoreOp? depthStoreOp,
  5. bool? depthReadOnly,
  6. int? stencilClearValue,
  7. GPULoadOp? stencilLoadOp,
  8. GPUStoreOp? stencilStoreOp,
  9. bool? stencilReadOnly,
})

Implementation

factory GPURenderPassDepthStencilAttachment(
        {required GPUTextureView view,
        double? depthClearValue,
        GPULoadOp? depthLoadOp,
        GPUStoreOp? depthStoreOp,
        bool? depthReadOnly,
        int? stencilClearValue,
        GPULoadOp? stencilLoadOp,
        GPUStoreOp? stencilStoreOp,
        bool? stencilReadOnly}) =>
    GPURenderPassDepthStencilAttachment._(
        view: view,
        depthClearValue: depthClearValue ?? 0,
        depthLoadOp: depthLoadOp?.value ?? undefined,
        depthStoreOp: depthStoreOp?.value ?? undefined,
        depthReadOnly: depthReadOnly ?? false,
        stencilClearValue: stencilClearValue ?? 0,
        stencilLoadOp: stencilLoadOp?.value ?? undefined,
        stencilStoreOp: stencilStoreOp?.value ?? undefined,
        stencilReadOnly: stencilReadOnly ?? false);