mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 02:09:59 +01:00
Separate shader for image processing and simple texture display.
ImageShader added a second texture for mask blending. Cleanup of User Interface windows.
This commit is contained in:
@@ -22,9 +22,12 @@ namespace Resource
|
||||
// Returns the OpenGL generated Texture index
|
||||
uint getTextureImage(const std::string& path, float *aspect_ratio = nullptr);
|
||||
|
||||
// Returns the OpenGL generated Texture index for an empty 1x1 black pixel texture
|
||||
// Returns the OpenGL generated Texture index for an empty 1x1 black transparent pixel texture
|
||||
uint getTextureBlack();
|
||||
|
||||
// Returns the OpenGL generated Texture index for an empty 1x1 white opaque pixel texture
|
||||
uint getTextureWhite();
|
||||
|
||||
// Generic access to pointer to data
|
||||
const char *getData(const std::string& path, size_t* out_file_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user