First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
commit 8204c6b556
18475 changed files with 3309357 additions and 0 deletions

View File

@@ -0,0 +1,93 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_textures_CubeTexture
#define INCLUDED_openfl_display3D_textures_CubeTexture
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display3D_textures_TextureBase
#include <openfl/display3D/textures/TextureBase.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS2(openfl,display,BitmapData)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS3(openfl,display3D,textures,CubeTexture)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
namespace textures{
class HXCPP_CLASS_ATTRIBUTES CubeTexture_obj : public ::openfl::display3D::textures::TextureBase_obj
{
public:
typedef ::openfl::display3D::textures::TextureBase_obj super;
typedef CubeTexture_obj OBJ_;
CubeTexture_obj();
public:
enum { _hx_ClassId = 0x2d6abef7 };
void __construct( ::openfl::display3D::Context3D context,int size, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.textures.CubeTexture")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.display3D.textures.CubeTexture"); }
static hx::ObjectPtr< CubeTexture_obj > __new( ::openfl::display3D::Context3D context,int size, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
static hx::ObjectPtr< CubeTexture_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context,int size, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~CubeTexture_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("CubeTexture",46,04,c2,59); }
int _hx___framebufferSurface;
int _hx___size;
int _hx___uploadedSides;
void uploadCompressedTextureFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,hx::Null< bool > async);
::Dynamic uploadCompressedTextureFromByteArray_dyn();
void uploadFromBitmapData( ::openfl::display::BitmapData source,int side,hx::Null< int > miplevel,hx::Null< bool > generateMipmap);
::Dynamic uploadFromBitmapData_dyn();
void uploadFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,int side,hx::Null< int > miplevel);
::Dynamic uploadFromByteArray_dyn();
void uploadFromTypedArray( ::lime::utils::ArrayBufferView data,int side,hx::Null< int > miplevel);
::Dynamic uploadFromTypedArray_dyn();
::lime::graphics::opengl::GLObject _hx___getGLFramebuffer(bool enableDepthAndStencil,int antiAlias,int surfaceSelector);
bool _hx___setSamplerState( ::openfl::display::_internal::SamplerState state);
int _hx___sideToTarget(int side);
::Dynamic _hx___sideToTarget_dyn();
void _hx___uploadCompressedTextureFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset);
::Dynamic _hx___uploadCompressedTextureFromByteArray_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace textures
#endif /* INCLUDED_openfl_display3D_textures_CubeTexture */

View File

@@ -0,0 +1,76 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_textures_RectangleTexture
#define INCLUDED_openfl_display3D_textures_RectangleTexture
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display3D_textures_TextureBase
#include <openfl/display3D/textures/TextureBase.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS2(openfl,display,BitmapData)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS3(openfl,display3D,textures,RectangleTexture)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
namespace textures{
class HXCPP_CLASS_ATTRIBUTES RectangleTexture_obj : public ::openfl::display3D::textures::TextureBase_obj
{
public:
typedef ::openfl::display3D::textures::TextureBase_obj super;
typedef RectangleTexture_obj OBJ_;
RectangleTexture_obj();
public:
enum { _hx_ClassId = 0x0b79cce7 };
void __construct( ::openfl::display3D::Context3D context,int width,int height,::String format,bool optimizeForRenderToTexture);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.textures.RectangleTexture")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.display3D.textures.RectangleTexture"); }
static hx::ObjectPtr< RectangleTexture_obj > __new( ::openfl::display3D::Context3D context,int width,int height,::String format,bool optimizeForRenderToTexture);
static hx::ObjectPtr< RectangleTexture_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context,int width,int height,::String format,bool optimizeForRenderToTexture);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~RectangleTexture_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("RectangleTexture",8c,6c,f5,1a); }
void uploadFromBitmapData( ::openfl::display::BitmapData source);
::Dynamic uploadFromBitmapData_dyn();
void uploadFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset);
::Dynamic uploadFromByteArray_dyn();
void uploadFromTypedArray( ::lime::utils::ArrayBufferView data);
::Dynamic uploadFromTypedArray_dyn();
bool _hx___setSamplerState( ::openfl::display::_internal::SamplerState state);
};
} // end namespace openfl
} // end namespace display3D
} // end namespace textures
#endif /* INCLUDED_openfl_display3D_textures_RectangleTexture */

View File

@@ -0,0 +1,86 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_textures_Texture
#define INCLUDED_openfl_display3D_textures_Texture
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display3D_textures_TextureBase
#include <openfl/display3D/textures/TextureBase.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS2(openfl,display,BitmapData)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS3(openfl,display3D,textures,Texture)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
namespace textures{
class HXCPP_CLASS_ATTRIBUTES Texture_obj : public ::openfl::display3D::textures::TextureBase_obj
{
public:
typedef ::openfl::display3D::textures::TextureBase_obj super;
typedef Texture_obj OBJ_;
Texture_obj();
public:
enum { _hx_ClassId = 0x1fad1a24 };
void __construct( ::openfl::display3D::Context3D context,int width,int height, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.textures.Texture")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.display3D.textures.Texture"); }
static hx::ObjectPtr< Texture_obj > __new( ::openfl::display3D::Context3D context,int width,int height, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
static hx::ObjectPtr< Texture_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context,int width,int height, ::Dynamic format,bool optimizeForRenderToTexture,int streamingLevels);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Texture_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Texture",bb,f0,31,6c); }
static void __boot();
static bool _hx___lowMemoryMode;
void uploadCompressedTextureFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,hx::Null< bool > async);
::Dynamic uploadCompressedTextureFromByteArray_dyn();
void uploadFromBitmapData( ::openfl::display::BitmapData source,hx::Null< int > miplevel,hx::Null< bool > generateMipmap);
::Dynamic uploadFromBitmapData_dyn();
void uploadFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,hx::Null< int > miplevel);
::Dynamic uploadFromByteArray_dyn();
void uploadFromTypedArray( ::lime::utils::ArrayBufferView data,hx::Null< int > miplevel);
::Dynamic uploadFromTypedArray_dyn();
bool _hx___setSamplerState( ::openfl::display::_internal::SamplerState state);
void _hx___uploadCompressedTextureFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset);
::Dynamic _hx___uploadCompressedTextureFromByteArray_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace textures
#endif /* INCLUDED_openfl_display3D_textures_Texture */

View File

@@ -0,0 +1,110 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_textures_TextureBase
#define INCLUDED_openfl_display3D_textures_TextureBase
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_events_EventDispatcher
#include <openfl/events/EventDispatcher.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,IntMap)
HX_DECLARE_CLASS2(lime,graphics,Image)
HX_DECLARE_CLASS2(lime,graphics,RenderContext)
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(openfl,display,BitmapData)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
namespace openfl{
namespace display3D{
namespace textures{
class HXCPP_CLASS_ATTRIBUTES TextureBase_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef TextureBase_obj OBJ_;
TextureBase_obj();
public:
enum { _hx_ClassId = 0x19affbf1 };
void __construct( ::openfl::display3D::Context3D context);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.textures.TextureBase")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.display3D.textures.TextureBase"); }
static hx::ObjectPtr< TextureBase_obj > __new( ::openfl::display3D::Context3D context);
static hx::ObjectPtr< TextureBase_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~TextureBase_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
static bool __SetStatic(const ::String &inString, Dynamic &ioValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("TextureBase",6c,7e,c2,db); }
static void __boot();
static ::Dynamic __meta__;
static ::haxe::ds::IntMap _hx___compressedFormats;
static ::haxe::ds::IntMap _hx___compressedFormatsAlpha;
static ::Dynamic _hx___supportsBGRA;
static int _hx___textureFormat;
static int _hx___textureInternalFormat;
::openfl::display3D::textures::TextureBase _hx___alphaTexture;
::openfl::display3D::Context3D _hx___context;
int _hx___format;
::lime::graphics::opengl::GLObject _hx___glDepthRenderbuffer;
::lime::graphics::opengl::GLObject _hx___glFramebuffer;
::lime::graphics::opengl::GLObject _hx___glStencilRenderbuffer;
int _hx___height;
int _hx___internalFormat;
bool _hx___optimizeForRenderToTexture;
::openfl::display::_internal::SamplerState _hx___samplerState;
int _hx___streamingLevels;
::lime::graphics::RenderContext _hx___textureContext;
::lime::graphics::opengl::GLObject _hx___textureID;
int _hx___textureTarget;
int _hx___width;
virtual void dispose();
::Dynamic dispose_dyn();
virtual ::lime::graphics::opengl::GLObject _hx___getGLFramebuffer(bool enableDepthAndStencil,int antiAlias,int surfaceSelector);
::Dynamic _hx___getGLFramebuffer_dyn();
::lime::graphics::Image _hx___getImage( ::openfl::display::BitmapData bitmapData);
::Dynamic _hx___getImage_dyn();
virtual ::lime::graphics::opengl::GLObject _hx___getTexture();
::Dynamic _hx___getTexture_dyn();
virtual bool _hx___setSamplerState( ::openfl::display::_internal::SamplerState state);
::Dynamic _hx___setSamplerState_dyn();
void _hx___uploadFromImage( ::lime::graphics::Image image);
::Dynamic _hx___uploadFromImage_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace textures
#endif /* INCLUDED_openfl_display3D_textures_TextureBase */

View File

@@ -0,0 +1,77 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_textures_VideoTexture
#define INCLUDED_openfl_display3D_textures_VideoTexture
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl_display3D_textures_TextureBase
#include <openfl/display3D/textures/TextureBase.h>
#endif
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS3(openfl,display3D,textures,VideoTexture)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,net,NetStream)
namespace openfl{
namespace display3D{
namespace textures{
class HXCPP_CLASS_ATTRIBUTES VideoTexture_obj : public ::openfl::display3D::textures::TextureBase_obj
{
public:
typedef ::openfl::display3D::textures::TextureBase_obj super;
typedef VideoTexture_obj OBJ_;
VideoTexture_obj();
public:
enum { _hx_ClassId = 0x72cfd49b };
void __construct( ::openfl::display3D::Context3D context);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.textures.VideoTexture")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"openfl.display3D.textures.VideoTexture"); }
static hx::ObjectPtr< VideoTexture_obj > __new( ::openfl::display3D::Context3D context);
static hx::ObjectPtr< VideoTexture_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~VideoTexture_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("VideoTexture",c0,7d,ef,80); }
int videoHeight;
int videoWidth;
Float _hx___cacheTime;
::openfl::net::NetStream _hx___netStream;
void attachNetStream( ::openfl::net::NetStream netStream);
::Dynamic attachNetStream_dyn();
void dispose();
::lime::graphics::opengl::GLObject _hx___getTexture();
void _hx___textureReady();
::Dynamic _hx___textureReady_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace textures
#endif /* INCLUDED_openfl_display3D_textures_VideoTexture */