public interface MTLParallelRenderCommandEncoder extends MTLCommandEncoder
The MTLParallelRenderCommandEncoder protocol is designed to allow a single render to texture operation to be efficiently (and safely) broken up across multiple threads.
| Modifier and Type | Method and Description |
|---|---|
MTLRenderCommandEncoder |
renderCommandEncoder()
renderCommandEncoder
|
void |
setColorStoreActionAtIndex(long storeAction,
long colorAttachmentIndex)
setColorStoreAction:atIndex:
|
void |
setColorStoreActionOptionsAtIndex(long storeActionOptions,
long colorAttachmentIndex)
setColorStoreActionOptions:atIndex:
|
void |
setDepthStoreAction(long storeAction)
setDepthStoreAction:
|
void |
setDepthStoreActionOptions(long storeActionOptions)
setDepthStoreActionOptions:
|
void |
setStencilStoreAction(long storeAction)
setStencilStoreAction:
|
void |
setStencilStoreActionOptions(long storeActionOptions)
setStencilStoreActionOptions:
|
device, endEncoding, insertDebugSignpost, label, popDebugGroup, pushDebugGroup, setLabelMTLRenderCommandEncoder renderCommandEncoder()
Return a new autoreleased object that conforms to
void setColorStoreActionAtIndex(long storeAction,
long colorAttachmentIndex)
If the the store action for a given color attachment was set to MTLStoreActionUnknown when the render command encoder was created, setColorStoreAction:atIndex: must be used to finalize the store action before endEncoding is called.
storeAction - The desired store action for the given color attachment. This may be set to any value other than MTLStoreActionUnknown.colorAttachmentIndex - The index of the color attachmentvoid setDepthStoreAction(long storeAction)
If the the store action for the depth attachment was set to MTLStoreActionUnknown when the render command encoder was created, setDepthStoreAction: must be used to finalize the store action before endEncoding is called.
void setStencilStoreAction(long storeAction)
If the the store action for the stencil attachment was set to MTLStoreActionUnknown when the render command encoder was created, setStencilStoreAction: must be used to finalize the store action before endEncoding is called.
void setColorStoreActionOptionsAtIndex(long storeActionOptions,
long colorAttachmentIndex)
If the the store action for a given color attachment was set to MTLStoreActionUnknown when the render command encoder was created, setColorStoreActionOptions:atIndex: may be used to finalize the store action options before endEncoding is called.
storeActionOptions - The desired store action options for the given color attachment.colorAttachmentIndex - The index of the color attachmentvoid setDepthStoreActionOptions(long storeActionOptions)
If the the store action for the depth attachment was set to MTLStoreActionUnknown when the render command encoder was created, setDepthStoreActionOptions: may be used to finalize the store action options before endEncoding is called.
void setStencilStoreActionOptions(long storeActionOptions)
If the the store action for the stencil attachment was set to MTLStoreActionUnknown when the render command encoder was created, setStencilStoreActionOptions: may be used to finalize the store action options before endEncoding is called.