BNBShaderSource
Objective-C
@interface BNBShaderSource : NSObject
- (nonnull instancetype)initWithVs:(nonnull NSString *)vs
fs:(nonnull NSString *)fs;
+ (nonnull instancetype)shaderSourceWithVs:(nonnull NSString *)vs
fs:(nonnull NSString *)fs;
@property (nonatomic, readonly, nonnull) NSString * vs;
@property (nonatomic, readonly, nonnull) NSString * fs;
@end
Swift
class BNBShaderSource : NSObject
Undocumented
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithVs:(nonnull NSString *)vs fs:(nonnull NSString *)fs;
Swift
init(vs: String, fs: String)
-
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)shaderSourceWithVs:(nonnull NSString *)vs fs:(nonnull NSString *)fs;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString * vs
Swift
var vs: String { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString * fs
Swift
var fs: String { get }