Panda3D

Classes | Public Member Functions | List of all members
RocketFileInterface Class Reference

Implementation of FileInterface to allow libRocket to read files from the virtual file system. More...

`#include "rocketFileInterface.h"`

Inheritance diagram for RocketFileInterface:

## Public Member Functions
| RocketFileInterface (VirtualFileSystem *vfs=nullptr)
| Constructs a RocketFileInterface for the given VFS, or the default if NULL is given. More...
void | Close (Rocket::Core::FileHandle file)
size_t | Length (Rocket::Core::FileHandle file)
Rocket::Core::FileHandle | Open (const Rocket::Core::String &path)
size_t | Read (void *buffer, size_t size, Rocket::Core::FileHandle file)
bool | Seek (Rocket::Core::FileHandle file, long offset, int origin)
size_t | Tell (Rocket::Core::FileHandle file)

## Detailed Description

Implementation of FileInterface to allow libRocket to read files from the virtual file system.

Definition at line 27 of file rocketFileInterface.h.

## Constructor & Destructor Documentation

## ◆ RocketFileInterface()

RocketFileInterface::RocketFileInterface | ( | VirtualFileSystem * | vfs = `nullptr` | ) |

Constructs a RocketFileInterface for the given VFS, or the default if NULL is given.

Definition at line 21 of file rocketFileInterface.cxx.

The documentation for this class was generated from the following files:

- panda/src/rocket/rocketFileInterface.h
- panda/src/rocket/rocketFileInterface.cxx