1 #import <Cocoa/Cocoa.h>
2 #import <VVBasics/VVBasics.h>
3 #import <VVBufferPool/VVBufferPool.h>
4 #import <DDMathParser/DDExpression.h>
20 @interface ISFTargetBuffer : NSObject {
25 NSString *targetWidthString;
26 DDExpression *targetWidthExpression;
28 NSString *targetHeightString;
29 DDExpression *targetHeightExpression;
33 int uniformLocation[4];
38 - (void) setTargetSize:(NSSize)n;
39 - (void) setTargetSize:(NSSize)n createNewBuffer:(BOOL)c;
40 - (void) setTargetSize:(NSSize)n resizeExistingBuffer:(BOOL)r;
41 - (void) setTargetSize:(NSSize)n resizeExistingBuffer:(BOOL)r createNewBuffer:(BOOL)c;
42 - (void) setTargetWidthString:(NSString *)n;
43 - (void) setTargetHeightString:(NSString *)n;
44 - (void) setFloatFlag:(BOOL)n;
49 - (BOOL) targetSizeNeedsEval;
50 - (void) evalTargetSizeWithSubstitutionsDict:(NSDictionary *)d;
51 - (void) evalTargetSizeWithSubstitutionsDict:(NSDictionary *)d resizeExistingBuffer:(BOOL)r;
52 - (void) evalTargetSizeWithSubstitutionsDict:(NSDictionary *)d resizeExistingBuffer:(BOOL)r createNewBuffer:(BOOL)c;
54 @property (retain,readwrite) NSString *name;
55 @property (retain,readwrite)
VVBuffer *buffer;
57 - (NSSize) targetSize;
59 - (void) setUniformLocation:(
int)n forIndex:(
int)i;
60 - (int) uniformLocationForIndex:(
int)i;
61 - (void) clearUniformLocations;
VVBuffer represents a buffer- almost always in VRAM as a GL texture or renderbuffer- created and mana...
Definition: VVBuffer.h:134