-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathKinemeGLGridRendererPatch.h
More file actions
39 lines (28 loc) · 1003 Bytes
/
KinemeGLGridRendererPatch.h
File metadata and controls
39 lines (28 loc) · 1003 Bytes
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
37
38
39
@interface KinemeGLGridRendererPatch : QCPatch
{
QCStructurePort *inputStructure;
QCIndexPort *inputWireFrame;
QCIndexPort *inputSelection;
QCIndexPort *inputSubdivisionAmount;
QCBooleanPort *inputHighlightSelection;
QCColorPort *inputColor;
QCOpenGLPort_Image *inputImage;
QCOpenGLPort_Blending *inputBlending;
QCOpenGLPort_Culling *inputCulling;
QCOpenGLPort_ZBuffer *inputDepth;
GLuint gridList;
#if 0 // optimizations for higher density grids. Not implemented yet.
QCStructure *currentStructure;
unsigned int currentWidth, currentHeight;
float *vertexData; // x, y, z data
float *colorData; // r, g, b, a data
float *texData; // u, v data
#endif
}
- (id)initWithIdentifier:(id)fp8;
//- (id)setup:(QCOpenGLContext *)context;
//- (void)cleanup:(QCOpenGLContext *)context;
//- (void)enable:(QCOpenGLContext *)context;
//- (void)disable:(QCOpenGLContext *)context;
- (BOOL)execute:(QCOpenGLContext *)context time:(double)time arguments:(NSDictionary *)arguments;
@end