|
vc::Error | LoadImageFromFile (const char *path) |
|
vc::Error | LoadImage (const char *path, int id, char *bgraData, unsigned int width, unsigned int height) |
|
vc::Error | InitDepthBuffer (int width, int height) |
|
vc::Error | CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format) |
|
virtual bool | HasTexture () const =0 |
|
virtual vc::Error | LoadImage (unsigned char *pixels, int width, int height, int channels)=0 |
|
virtual vc::Error | LoadImageBGRA (unsigned char *pixels, int width, int height, int channels)=0 |
|
virtual vc::Error | LoadImage (uint16_t *pixels, int width, int height, int channels)=0 |
|
void | SetTexturePeakLuminance (float peakLuminance) |
|
const float & | GetTexturePeakLuminance () const |
|
template<class T > |
T * | As () |
|
template<class T > |
const T * | As () const |
|
template<class T > |
T * | ConstAs () const |
|
template<class T > |
T * | RAs () |
|
template<class T > |
const T * | RAs () const |
|
void | IncRefCount () |
|
void | DecRefCount () |
|
virtual void | Destroy () override |
| /!\ THIS FUNCTION MUST BE CALLED FOR DESTRUCTION, DO NOT USE delete
|
|
| PluginObject (const PluginType type) |
|
PluginType | GetType () const override |
|
template<class T > |
T * | DAs () |
|
template<class T > |
const T * | DAs () const |
|
template<typename T > |
T * | As () |
|
void | SetResource (const GraphicsCachedResourceHolder &resource) |
|
void | SetResource (const SPtr< GraphicsCachedResource > &resource) |
|
|
virtual vc::Error | _InitDepthBuffer (int width, int height)=0 |
|
virtual vc::Error | _CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format)=0 |
|
const SPtr< GraphicsCachedResource > & | _GetResourceToCache () const |
|
SPtr< GraphicsCachedResource > & | _GetResourceToCache () |
|
void | _LoadFromCache (const SPtr< GraphicsCachedResource > &cache) |
|
The documentation for this class was generated from the following files:
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/include/venom/common/plugin/graphics/Texture.h
- /Users/kevinpruvost/Bossing/Perso/VenomEngine/lib/common/src/Texture.cc