BNBAttachmentLoadOp
Objective-C
NS_ENUM(NSInteger, BNBAttachmentLoadOp)
{
/**
* Don't care about attachment content at the pass
* start (pass will overwrite all pixels)
*/
BNBAttachmentLoadOpDontCare,
/** Clear to `clear_color` at pass start */
BNBAttachmentLoadOpClear,
/** load pixels from the previous frame */
BNBAttachmentLoadOpLoad,
}
Swift
enum BNBAttachmentLoadOp : Int, @unchecked Sendable
Undocumented
-
Don’t care about attachment content at the pass start (pass will overwrite all pixels)
Declaration
Objective-C
BNBAttachmentLoadOpDontCareSwift
case dontCare = 0 -
Clear to
clear_colorat pass startDeclaration
Objective-C
BNBAttachmentLoadOpClearSwift
case clear = 1 -
load pixels from the previous frame
Declaration
Objective-C
BNBAttachmentLoadOpLoadSwift
case load = 2
BNBAttachmentLoadOp Enumeration Reference