mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
Correções de erros encotrados no pipeline
This commit is contained in:
parent
7d1533f18e
commit
f151932043
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "xna/default.hpp"
|
#include "xna/default.hpp"
|
||||||
#include "xna/csharp/stream.hpp"
|
#include "xna/csharp/stream.hpp"
|
||||||
#include "pipeline-enums.hpp"
|
#include "enums.hpp"
|
||||||
#include "default.hpp"
|
#include "default.hpp"
|
||||||
#include <stack>
|
#include <stack>
|
||||||
|
|
||||||
|
@ -6,9 +6,13 @@
|
|||||||
namespace xna {
|
namespace xna {
|
||||||
class ContentTypeWriter;
|
class ContentTypeWriter;
|
||||||
class ContentTypeWriterFactory;
|
class ContentTypeWriterFactory;
|
||||||
|
class ContentCompiler;
|
||||||
|
class ContentWriter;
|
||||||
|
|
||||||
using P_ContentTypeWriter = sptr<ContentTypeWriter>;
|
using P_ContentTypeWriter = sptr<ContentTypeWriter>;
|
||||||
using P_ContentTypeWriterFactory = sptr<ContentTypeWriterFactory>;
|
using P_ContentTypeWriterFactory = sptr<ContentTypeWriterFactory>;
|
||||||
|
using P_ContentCompiler = sptr<ContentCompiler>;
|
||||||
|
using P_ContentWriter = sptr<ContentWriter>;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
@ -87,6 +87,8 @@ namespace xna {
|
|||||||
//A simplified port of the System.IO.MemoryStream.
|
//A simplified port of the System.IO.MemoryStream.
|
||||||
class MemoryStream : public Stream {
|
class MemoryStream : public Stream {
|
||||||
public:
|
public:
|
||||||
|
constexpr MemoryStream(){}
|
||||||
|
|
||||||
constexpr MemoryStream(std::vector<uint8_t> const& bytes):
|
constexpr MemoryStream(std::vector<uint8_t> const& bytes):
|
||||||
_buffer(bytes),
|
_buffer(bytes),
|
||||||
_length(static_cast<int64_t>(bytes.size())){}
|
_length(static_cast<int64_t>(bytes.size())){}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user