GPURenderPassDepthStencilAttachment constructor
GPURenderPassDepthStencilAttachment({
- required GPUTextureView view,
- double? depthClearValue,
- GPULoadOp? depthLoadOp,
- GPUStoreOp? depthStoreOp,
- bool? depthReadOnly,
- int? stencilClearValue,
- GPULoadOp? stencilLoadOp,
- GPUStoreOp? stencilStoreOp,
- 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);