2016-02-14 01:52:23 +00:00
|
|
|
//
|
|
|
|
// CRTOpenGL.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 13/02/2016.
|
|
|
|
// Copyright © 2016 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef CRTOpenGL_h
|
|
|
|
#define CRTOpenGL_h
|
|
|
|
|
|
|
|
const size_t kCRTVertexOffsetOfPosition = 0;
|
2016-02-14 04:50:18 +00:00
|
|
|
const size_t kCRTVertexOffsetOfTexCoord = 4;
|
|
|
|
const size_t kCRTVertexOffsetOfTimestamp = 8;
|
|
|
|
const size_t kCRTVertexOffsetOfLateral = 12;
|
2016-02-14 01:52:23 +00:00
|
|
|
|
2016-02-14 04:50:18 +00:00
|
|
|
const size_t kCRTSizeOfVertex = 16;
|
2016-02-14 01:52:23 +00:00
|
|
|
|
|
|
|
const int CRTInputBufferBuilderWidth = 2048;
|
|
|
|
const int CRTInputBufferBuilderHeight = 1024;
|
|
|
|
|
|
|
|
const int CRTIntermediateBufferWidth = 2048;
|
|
|
|
const int CRTIntermediateBufferHeight = 2048;
|
|
|
|
|
2016-02-17 01:37:04 +00:00
|
|
|
const int kCRTNumberOfFrames = 4;
|
2016-02-14 04:50:18 +00:00
|
|
|
|
2016-02-14 01:52:23 +00:00
|
|
|
#endif /* CRTOpenGL_h */
|