don't use GL_LINEAR_MIPMAP_LINEAR for shadow maps
optimize gpu upload (use glBufferSubData instead of glMapBuffer Avoid checking char array against zero.
This commit is contained in:
25
examples/RenderingExamples/TinyVRGui.h
Normal file
25
examples/RenderingExamples/TinyVRGui.h
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
#ifndef TINY_VR_GUI_H
|
||||
#define TINY_VR_GUI_H
|
||||
|
||||
#include "Bullet3Common/b3Transform.h"
|
||||
|
||||
class TinyVRGui
|
||||
{
|
||||
struct TinyVRGuiInternalData* m_data;
|
||||
|
||||
public:
|
||||
|
||||
TinyVRGui(struct ComboBoxParams& params, struct CommonRenderInterface* renderer);
|
||||
virtual ~TinyVRGui();
|
||||
|
||||
bool init();
|
||||
void tick(b3Scalar deltaTime, const b3Transform& guiWorldTransform);
|
||||
|
||||
void clearTextArea();
|
||||
void grapicalPrintf(const char* str,int rasterposx,int rasterposy,unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif //TINY_VR_GUI_H
|
||||
Reference in New Issue
Block a user