17 #ifndef C_ARCORE_AUGMENTED_IMAGE_BACKGROUND_RENDERER_H_ 18 #define C_ARCORE_AUGMENTED_IMAGE_BACKGROUND_RENDERER_H_ 21 #include <GLES2/gl2.h> 22 #include <GLES2/gl2ext.h> 24 #include <OpenGLES/ES2/gl.h> 25 #include <OpenGLES/ES2/glext.h> 32 -1.0f, -1.0f, +1.0f, -1.0f, -1.0f, +1.0f, +1.0f, +1.0f,
35 1.0f, 1.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f,
62 void Draw(
const float * transformed_uvs,
const GLuint & depthTexture,
int screenWidth,
int screenHeight,
bool redUnknown);
70 #endif // C_ARCORE_AUGMENTED_IMAGE_BACKGROUND_RENDERER_H_ static std::vector< GLuint > shaderPrograms_
void Draw(const float *transformed_uvs, const GLuint &depthTexture, int screenWidth, int screenHeight, bool redUnknown)
BackgroundRenderer()=default
static constexpr int kNumVertices
static const GLfloat BackgroundRenderer_kVertices[]
void InitializeGlContent(GLuint textureId, bool oes)
static const GLfloat BackgroundRenderer_kTexCoord[]