V2 working
This commit is contained in:
20
apps/RenderCadenceCompositor/render/SimpleMotionRenderer.h
Normal file
20
apps/RenderCadenceCompositor/render/SimpleMotionRenderer.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class SimpleMotionRenderer
|
||||
{
|
||||
public:
|
||||
SimpleMotionRenderer() = default;
|
||||
|
||||
bool InitializeGl(unsigned width, unsigned height);
|
||||
void RenderFrame(uint64_t frameIndex);
|
||||
void ShutdownGl();
|
||||
|
||||
unsigned Width() const { return mWidth; }
|
||||
unsigned Height() const { return mHeight; }
|
||||
|
||||
private:
|
||||
unsigned mWidth = 0;
|
||||
unsigned mHeight = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user