mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Expanded Features
Added ability to set format dynamically on read from stream. Added other formats to write to a stream.
This commit is contained in:
parent
106346630d
commit
43c2c918c7
3 changed files with 68 additions and 23 deletions
|
|
@ -75,7 +75,7 @@ public:
|
|||
typedef bool(*ReadStreamFunc)(Stream& stream, GBitmap* bitmap, U32 len);
|
||||
/// The write functions prototype. Compression levels are image-specific - see their registration declaration for details.
|
||||
typedef bool(*WriteFunc)(const Torque::Path& path, GBitmap* bitmap, U32 compressionLevel);
|
||||
typedef bool(*WriteStreamFunc)(Stream& stream, GBitmap* bitmap, U32 compressionLevel);
|
||||
typedef bool(*WriteStreamFunc)(const String& bmType, Stream& stream, GBitmap* bitmap, U32 compressionLevel);
|
||||
|
||||
/// Used to sort the registrations so that
|
||||
/// lookups occur in a fixed order.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue