Files
vb01/imageAsset.h
T
devZoGok c08ac0fd12 loading new image data into a texture
additional ImageAsset property
2024-09-27 17:25:18 +03:00

22 lines
422 B
C++

#ifndef IMAGE_ASSET_H
#define IMAGE_ASSET_H
#include "asset.h"
namespace vb01{
struct ImageAsset : public Asset{
ImageAsset(std::string path, u8 *image, int width, int height, int numChannels){
this->path = path;
this->image = image;
this->width = width;
this->height = height;
this->numChannels = numChannels;
}
u8 *image;
int width, height, numChannels;
};
}
#endif