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
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithLoadBehaviour:(BNBAttachmentLoadOp)loadBehaviour storeBehaviour:(BNBAttachmentStoreOp)storeBehaviour format:(BNBPixelFormatType)format clearColor:(nonnull BNBVec4 *)clearColor generateMipmaps:(BOOL)generateMipmaps;
Swift
init(loadBehaviour: BNBAttachmentLoadOp, storeBehaviour: BNBAttachmentStoreOp, format: BNBPixelFormatType, clearColor: BNBVec4, generateMipmaps: Bool)
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)attachmentInfoWithLoadBehaviour:(BNBAttachmentLoadOp)loadBehaviour storeBehaviour:(BNBAttachmentStoreOp)storeBehaviour format:(BNBPixelFormatType)format clearColor:(nonnull BNBVec4 *)clearColor generateMipmaps:(BOOL)generateMipmaps;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BNBAttachmentLoadOp loadBehaviour
Swift
var loadBehaviour: BNBAttachmentLoadOp { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BNBAttachmentStoreOp storeBehaviour
Swift
var storeBehaviour: BNBAttachmentStoreOp { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BNBPixelFormatType format
Swift
var format: BNBPixelFormatType { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BOOL generateMipmaps
Swift
var generateMipmaps: Bool { get }