| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/io/dataresource.h>

Public Member Functions | |
| virtual void * | pointer () const =0 |
| Returns a pointer to the data array. | |
| virtual void * | pointer (unsigned int byteOffset) const |
| Returns a pointer to the data array starting at the given byteOffset. | |
| virtual unsigned int | size () const =0 |
| Returns the size of the data resource in bytes. | |
| virtual bool | isWritable () const =0 |
| Data resources can be writable, otherwise are read-only. | |
| VRS_TYPEINFO (DataResource, SharedObj) | |
| virtual void* VRS::DataResource::pointer | ( | ) | const [pure virtual] |
Returns a pointer to the data array.
Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.
| virtual void* VRS::DataResource::pointer | ( | unsigned int | byteOffset | ) | const [virtual] |
Returns a pointer to the data array starting at the given byteOffset.
| virtual unsigned int VRS::DataResource::size | ( | ) | const [pure virtual] |
Returns the size of the data resource in bytes.
Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.
| virtual bool VRS::DataResource::isWritable | ( | ) | const [pure virtual] |
Data resources can be writable, otherwise are read-only.
Implemented in VRS::DataSubResource, VRS::FileDataResource, and VRS::MemoryDataResource.
| VRS::DataResource::VRS_TYPEINFO | ( | DataResource | , | |
| SharedObj | ||||
| ) |