mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
Added support for pixelData for ABuffer
- ABufferFixed should work but it doesn't. But the interface works at least. - ABufferFixed works for normal rendering - Removed position for ABuffer, it should make rendering much faster. Todo: - Figure out why the fetching of pixelData for ABufferFixed gives wrong result.
This commit is contained in:
@@ -26,18 +26,6 @@
|
||||
#define __RENDERENGINE_H__
|
||||
|
||||
#include <openspace/scripting/scriptengine.h>
|
||||
#include <string>
|
||||
|
||||
#define ABUFFER_FRAMEBUFFER 0
|
||||
#define ABUFFER_SINGLE_LINKED 1
|
||||
#define ABUFFER_FIXED 2
|
||||
#define ABUFFER_DYNAMIC 3
|
||||
|
||||
#ifdef __APPLE__
|
||||
#define ABUFFER_IMPLEMENTATION ABUFFER_FRAMEBUFFER
|
||||
#else
|
||||
#define ABUFFER_IMPLEMENTATION ABUFFER_SINGLE_LINKED
|
||||
#endif
|
||||
|
||||
namespace openspace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user