Data Fields | |
WGPUChainedStruct * | nextInChain |
WGPUTextureView | view |
uint32_t | depthSlice |
WGPUTextureView | resolveTarget |
WGPULoadOp | loadOp |
WGPUStoreOp | storeOp |
WGPUColor | clearValue |
Default values can be set using WGPU_RENDER_PASS_COLOR_ATTACHMENT_INIT as initializer.
WGPUChainedStruct* WGPURenderPassColorAttachment::nextInChain |
WGPUTextureView WGPURenderPassColorAttachment::view |
If NULL
, indicates a hole in the parent WGPURenderPassDescriptor::colorAttachments array.
The INIT
macro sets this to NULL
.
uint32_t WGPURenderPassColorAttachment::depthSlice |
The INIT
macro sets this to WGPU_DEPTH_SLICE_UNDEFINED.
WGPUTextureView WGPURenderPassColorAttachment::resolveTarget |
WGPULoadOp WGPURenderPassColorAttachment::loadOp |
The INIT
macro sets this to (WGPULoadOp)0.
WGPUStoreOp WGPURenderPassColorAttachment::storeOp |
The INIT
macro sets this to (WGPUStoreOp)0.
WGPUColor WGPURenderPassColorAttachment::clearValue |
The INIT
macro sets this to WGPU_COLOR_INIT.