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
BNBAttachmentLoadOpDontCare
Swift
case dontCare = 0
-
Clear to
clear_color
at pass startDeclaration
Objective-C
BNBAttachmentLoadOpClear
Swift
case clear = 1
-
load pixels from the previous frame
Declaration
Objective-C
BNBAttachmentLoadOpLoad
Swift
case load = 2