/
redgpu
/
ofxMSAOpenCL
Обзор
Документация
Войти
/
redgpu
/
ofxMSAOpenCL
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
example-Particles/src/ofApp.h
30 строк
518 B
Memo Akten
particle example fullscreen toggle on key
01 фев 2019, 01:48
01 фев 2019, 01:48
5656feb
Код
Авторство
О чём код?
/****** This example updates 1M particles on the GPU using OpenCL The OpenCL kernel writes position data directly to a VBO stored in the OpenGL device memory so now data transfer between host and device during runtime Kernel based on Rui's ofxOpenCL particle example opencl particles 001b.zip at http://code.google.com/p/ruisource/ *****/ #pragma once #include "ofMain.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); };