BNBAttachmentInfo

Objective-C

@interface BNBAttachmentInfo : NSObject
- (nonnull instancetype)initWithLoadBehaviour:(BNBAttachmentLoadOp)loadBehaviour
                               storeBehaviour:(BNBAttachmentStoreOp)storeBehaviour
                                       format:(BNBPixelFormatType)format
                                   clearColor:(nonnull BNBVec4 *)clearColor
                              generateMipmaps:(BOOL)generateMipmaps;
+ (nonnull instancetype)attachmentInfoWithLoadBehaviour:(BNBAttachmentLoadOp)loadBehaviour
                                         storeBehaviour:(BNBAttachmentStoreOp)storeBehaviour
                                                 format:(BNBPixelFormatType)format
                                             clearColor:(nonnull BNBVec4 *)clearColor
                                        generateMipmaps:(BOOL)generateMipmaps;

@property (nonatomic, readonly) BNBAttachmentLoadOp loadBehaviour;

@property (nonatomic, readonly) BNBAttachmentStoreOp storeBehaviour;

@property (nonatomic, readonly) BNBPixelFormatType format;

@property (nonatomic, readonly, nonnull) BNBVec4 * clearColor;

@property (nonatomic, readonly) BOOL generateMipmaps;

@end

Swift

class BNBAttachmentInfo : NSObject

Undocumented