|
|
vc::Error | SaveImageToFile (const char *path) |
| |
|
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 | CreateReadWriteTexture (int width, int height, vc::ShaderVertexFormat format, int mipMapLevels, int arrayLayers=1) |
| | Corresponds to Storage Images / Sampled Images for Vulkan for instance Switch between layouts or types is handled automatically.
|
| |
|
vc::Error | CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format) |
| |
|
vc::Error | CreateShadowMaps (int dimension) |
| |
|
vc::Error | CreateShadowCubeMaps (int dimension) |
| |
|
virtual bool | HasTexture () const =0 |
| |
|
vc::Error | SetMemoryAccess (const TextureMemoryAccess access) |
| |
|
virtual vc::Error | LoadImage (unsigned char *pixels, int width, int height, int channels)=0 |
| |
|
virtual vc::Error | LoadImageRGBA (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) |
| |
|
void | SetTextureAverageLuminance (float averageLuminance) |
| |
|
const float & | GetTexturePeakLuminance () const |
| |
|
const float & | GetTextureAverageLuminance () const |
| |
|
const TextureMemoryAccess & | GetMemoryAccess () const |
| |
|
bool | operator== (const GraphicsCachedResource *res) const |
| |
|
vc::Error | GetGUITextureID (void **ptrToTextureId) |
| |
|
virtual int | GetWidth () const =0 |
| |
|
virtual int | GetHeight () const =0 |
| |
|
virtual void | SetDimensions (int width, int height)=0 |
| |
| 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 * | 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 |
| |
|
template<class T> |
| T * | DAs () |
| |
|
template<class T> |
| const T * | DAs () const |
| |
|
void | IncRefCount () |
| |
|
void | DecRefCount () |
| |
|
template<typename T> |
| T * | As () |
| |
|
void | SetResource (const GraphicsCachedResourceHolder &resource) |
| |
|
void | SetResource (const SPtr< GraphicsCachedResource > &resource) |
| |
|
const vc::String & | GetResourceName () const |
| |
|
const vc::String & | GetResourceShortName () const |
| |
|
|
virtual vc::Error | _InitDepthBuffer (int width, int height)=0 |
| |
|
virtual vc::Error | _CreateAttachment (int width, int height, int imageCount, vc::ShaderVertexFormat format)=0 |
| |
|
virtual vc::Error | _SetMemoryAccess (const TextureMemoryAccess access)=0 |
| |
|
virtual vc::Error | _CreateReadWriteTexture (int width, int height, vc::ShaderVertexFormat format, int mipMapLevels, int arrayLayers)=0 |
| |
|
virtual vc::Error | _CreateShadowMaps (int dimension)=0 |
| |
|
virtual vc::Error | _CreateShadowCubeMaps (int dimension)=0 |
| |
|
virtual vc::Error | _SaveImageToFile (const char *path)=0 |
| |
|
virtual GUITexture * | _NewGuiTextureInstance ()=0 |
| |
|
const SPtr< GraphicsCachedResource > & | _GetResourceToCache () const |
| |
|
SPtr< GraphicsCachedResource > & | _GetResourceToCache () |
| |
|
void | _LoadFromCache (const SPtr< GraphicsCachedResource > &cache) |
| |
| virtual void | _ResetResource ()=0 |
| | Resets the resource, should be implemented by the final class, i.e. VulkanTextureResource.
|
| |