Public Member Functions | Static Public Attributes | Private Attributes | List of all members
BackgroundRenderer Class Reference

#include <background_renderer.h>

Public Member Functions

 BackgroundRenderer ()=default
 
void Draw (const float *transformed_uvs)
 
void InitializeGlContent (GLuint textureId)
 
 ~BackgroundRenderer ()=default
 

Static Public Attributes

static constexpr int kNumVertices = 4
 

Private Attributes

GLuint attribute_uvs_
 
GLuint attribute_vertices_
 
GLuint shader_program_
 
GLuint texture_id_
 

Detailed Description

Definition at line 31 of file background_renderer.h.

Constructor & Destructor Documentation

BackgroundRenderer::BackgroundRenderer ( )
default
BackgroundRenderer::~BackgroundRenderer ( )
default

Member Function Documentation

void BackgroundRenderer::Draw ( const float *  transformed_uvs)

Definition at line 66 of file background_renderer.cc.

void BackgroundRenderer::InitializeGlContent ( GLuint  textureId)

Definition at line 52 of file background_renderer.cc.

Member Data Documentation

GLuint BackgroundRenderer::attribute_uvs_
private

Definition at line 55 of file background_renderer.h.

GLuint BackgroundRenderer::attribute_vertices_
private

Definition at line 54 of file background_renderer.h.

constexpr int BackgroundRenderer::kNumVertices = 4
static

Definition at line 35 of file background_renderer.h.

GLuint BackgroundRenderer::shader_program_
private

Definition at line 51 of file background_renderer.h.

GLuint BackgroundRenderer::texture_id_
private

Definition at line 52 of file background_renderer.h.


The documentation for this class was generated from the following files:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08