mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 23:32:28 +00:00
28 lines
649 B
C++
28 lines
649 B
C++
//
|
|
// 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;
|
|
const size_t kCRTVertexOffsetOfTexCoord = 4;
|
|
const size_t kCRTVertexOffsetOfTimestamp = 8;
|
|
const size_t kCRTVertexOffsetOfLateral = 12;
|
|
|
|
const size_t kCRTSizeOfVertex = 16;
|
|
|
|
const int CRTInputBufferBuilderWidth = 2048;
|
|
const int CRTInputBufferBuilderHeight = 1024;
|
|
|
|
const int CRTIntermediateBufferWidth = 2048;
|
|
const int CRTIntermediateBufferHeight = 2048;
|
|
|
|
const int kCRTNumberOfFrames = 3;
|
|
|
|
#endif /* CRTOpenGL_h */
|