#include <NuxGraphics/GLResourceManager.h>
Constructor & Destructor Documentation
nux::CachedResourceData::CachedResourceData |
( |
NResourceSet * |
InSet | ) |
|
virtual nux::CachedResourceData::~CachedResourceData |
( |
| ) |
[virtual] |
Member Function Documentation
virtual unsigned int nux::CachedResourceData::GetMaxLodSize |
( |
| ) |
const [inline, virtual] |
Returns the size of the max LOD of the resource.
Returns the size of the max LOD of the resource. For a texture, this is the size of mipmap 0. Texture resource overwrite this function.
- Returns:
- Size of the resource in bytes.
References Size.
virtual unsigned int nux::CachedResourceData::GetSize |
( |
| ) |
const [inline, virtual] |
Returns the size in bytes of the resource.
Returns the size in bytes of the resource.
- Returns:
- Size of the resource in bytes.
References Size.
virtual bool nux::CachedResourceData::UpdateResource |
( |
ResourceData * |
Resource | ) |
[pure virtual] |
Friends And Related Function Documentation
Field Documentation
The documentation for this class was generated from the following file: