#include <opengl3.h>
Public Member Functions | |
void | draw (texture_2d_shader &shader, uint32_t tex) |
void | draw (texture_2d_shader &shader, uint32_t tex1, uint32_t tex2) |
void | set_position (float2 pos) |
void | set_scale (float2 scale) |
texture_visualizer (float2 pos, float2 scale) | |
texture_visualizer () | |
Static Private Member Functions | |
static obj_mesh | create_mesh () |
Private Attributes | |
std::shared_ptr< vao > | _geometry |
float2 | _position |
float2 | _scale |
|
staticprivate |
Definition at line 380 of file opengl3.cpp.
void texture_visualizer::draw | ( | texture_2d_shader & | shader, |
uint32_t | tex | ||
) |
Definition at line 352 of file opengl3.cpp.
void texture_visualizer::draw | ( | texture_2d_shader & | shader, |
uint32_t | tex1, | ||
uint32_t | tex2 | ||
) |
Definition at line 364 of file opengl3.cpp.
|
private |