-
Notifications
You must be signed in to change notification settings - Fork 1
/
v002AnalogGlitchPlugIn.h
36 lines (27 loc) · 1.33 KB
/
v002AnalogGlitchPlugIn.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//
// v002AnalogGlitchPlugIn.h
// v002AnalogGlitch
//
// Created by vade on 8/21/08.
// Copyright (c) 2008 __MyCompanyName__. All rights reserved.
//
#import <Quartz/Quartz.h>
#import "v002MasterPluginInterface.h"
@interface v002AnalogGlitchPlugIn : v002MasterPluginInterface
{
}
@property (assign) id<QCPlugInInputImageSource> inputImage;
@property (assign) id<QCPlugInInputImageSource> inputDistortionImage;
@property (assign) double inputBarsAmount;
@property (assign) double inputDistortion;
@property (assign) NSUInteger inputResolution;
@property (assign) double inputVSYNC;
@property (assign) double inputHSYNC;
@property (assign) id<QCPlugInOutputImageProvider> outputImage;
@end
@interface v002AnalogGlitchPlugIn (Execution)
- (GLuint) renderToFBO:(CGLContextObj)cgl_ctx width:(NSUInteger)pixelsWide height:(NSUInteger)pixelsHigh bounds:(NSRect)bounds texture:(GLuint)texture
displacementTexture:(GLuint)dTexture distortionWidth:(NSUInteger)distortionWidth distortionHeight:(NSUInteger)distortionHeight
barsamount:(GLfloat)barsamount distortion:(GLfloat)distortion resolution:(GLint)resolution vsync:(GLfloat)vsync hsync:(GLfloat)hsync;
//GLuint dTexture, NSUInteger distortionWidth, NSUInteger distortionHeight , GLhandleARB program, GLfloat barsamount, GLfloat distortion, GLint resolution, GLfloat vsync, GLfloat hsync;
@end