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,317 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_Context3D
#define INCLUDED_openfl_display3D_Context3D
#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,StringMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS4(lime,_internal,backend,native,NativeOpenGLRenderContext)
HX_DECLARE_CLASS2(lime,app,IModule)
HX_DECLARE_CLASS2(lime,graphics,RenderContext)
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS2(openfl,_Vector,FloatVector)
HX_DECLARE_CLASS2(openfl,_Vector,IVector)
HX_DECLARE_CLASS2(openfl,display,BitmapData)
HX_DECLARE_CLASS2(openfl,display,DisplayObject)
HX_DECLARE_CLASS2(openfl,display,DisplayObjectContainer)
HX_DECLARE_CLASS2(openfl,display,IBitmapDrawable)
HX_DECLARE_CLASS2(openfl,display,InteractiveObject)
HX_DECLARE_CLASS2(openfl,display,Stage)
HX_DECLARE_CLASS2(openfl,display,Stage3D)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS2(openfl,display3D,IndexBuffer3D)
HX_DECLARE_CLASS2(openfl,display3D,Program3D)
HX_DECLARE_CLASS2(openfl,display3D,VertexBuffer3D)
HX_DECLARE_CLASS3(openfl,display3D,_internal,Context3DState)
HX_DECLARE_CLASS3(openfl,display3D,textures,CubeTexture)
HX_DECLARE_CLASS3(openfl,display3D,textures,RectangleTexture)
HX_DECLARE_CLASS3(openfl,display3D,textures,Texture)
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,geom,Matrix3D)
HX_DECLARE_CLASS2(openfl,geom,Point)
HX_DECLARE_CLASS2(openfl,geom,Rectangle)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
class HXCPP_CLASS_ATTRIBUTES Context3D_obj : public ::openfl::events::EventDispatcher_obj
{
public:
typedef ::openfl::events::EventDispatcher_obj super;
typedef Context3D_obj OBJ_;
Context3D_obj();
public:
enum { _hx_ClassId = 0x6271873d };
void __construct( ::openfl::display::Stage stage, ::openfl::display3D::_internal::Context3DState contextState, ::openfl::display::Stage3D stage3D);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.Context3D")
{ 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.Context3D"); }
static hx::ObjectPtr< Context3D_obj > __new( ::openfl::display::Stage stage, ::openfl::display3D::_internal::Context3DState contextState, ::openfl::display::Stage3D stage3D);
static hx::ObjectPtr< Context3D_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display::Stage stage, ::openfl::display3D::_internal::Context3DState contextState, ::openfl::display::Stage3D stage3D);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3D_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_("Context3D",40,3c,cf,b8); }
static void __boot();
static bool supportsVideoTexture;
static ::String _hx___driverInfo;
static int _hx___glDepthStencil;
static int _hx___glMaxTextureMaxAnisotropy;
static int _hx___glMaxViewportDims;
static int _hx___glMemoryCurrentAvailable;
static int _hx___glMemoryTotalAvailable;
static int _hx___glTextureMaxAnisotropy;
int backBufferHeight;
int backBufferWidth;
::String driverInfo;
int maxBackBufferHeight;
int maxBackBufferWidth;
::Dynamic profile;
::lime::_internal::backend::native::NativeOpenGLRenderContext gl;
int _hx___backBufferAntiAlias;
::openfl::display3D::textures::RectangleTexture _hx___backBufferTexture;
bool _hx___backBufferWantsBestResolution;
bool _hx___backBufferWantsBestResolutionOnBrowserZoom;
bool _hx___cleared;
::lime::graphics::RenderContext _hx___context;
::openfl::display3D::_internal::Context3DState _hx___contextState;
::openfl::display3D::Program3D _hx___renderStage3DProgram;
bool _hx___enableErrorChecking;
::lime::utils::ArrayBufferView _hx___fragmentConstants;
::openfl::display3D::textures::RectangleTexture _hx___frontBufferTexture;
::lime::utils::ArrayBufferView _hx___positionScale;
bool _hx___present;
::haxe::ds::StringMap _hx___programs;
::openfl::display3D::IndexBuffer3D _hx___quadIndexBuffer;
int _hx___quadIndexBufferCount;
int _hx___quadIndexBufferElements;
::openfl::display::Stage _hx___stage;
::openfl::display::Stage3D _hx___stage3D;
::openfl::display3D::_internal::Context3DState _hx___state;
::lime::utils::ArrayBufferView _hx___vertexConstants;
void clear(hx::Null< Float > red,hx::Null< Float > green,hx::Null< Float > blue,hx::Null< Float > alpha,hx::Null< Float > depth,hx::Null< int > stencil,hx::Null< int > mask);
::Dynamic clear_dyn();
void configureBackBuffer(int width,int height,int antiAlias,hx::Null< bool > enableDepthAndStencil,hx::Null< bool > wantsBestResolution,hx::Null< bool > wantsBestResolutionOnBrowserZoom);
::Dynamic configureBackBuffer_dyn();
::openfl::display3D::textures::CubeTexture createCubeTexture(int size, ::Dynamic format,bool optimizeForRenderToTexture,hx::Null< int > streamingLevels);
::Dynamic createCubeTexture_dyn();
::openfl::display3D::IndexBuffer3D createIndexBuffer(int numIndices, ::Dynamic bufferUsage);
::Dynamic createIndexBuffer_dyn();
::openfl::display3D::Program3D createProgram( ::Dynamic format);
::Dynamic createProgram_dyn();
::openfl::display3D::textures::RectangleTexture createRectangleTexture(int width,int height, ::Dynamic format,bool optimizeForRenderToTexture);
::Dynamic createRectangleTexture_dyn();
::openfl::display3D::textures::Texture createTexture(int width,int height, ::Dynamic format,bool optimizeForRenderToTexture,hx::Null< int > streamingLevels);
::Dynamic createTexture_dyn();
::openfl::display3D::VertexBuffer3D createVertexBuffer(int numVertices,int data32PerVertex, ::Dynamic bufferUsage);
::Dynamic createVertexBuffer_dyn();
::openfl::display3D::textures::VideoTexture createVideoTexture();
::Dynamic createVideoTexture_dyn();
void dispose(hx::Null< bool > recreate);
::Dynamic dispose_dyn();
void drawToBitmapData( ::openfl::display::BitmapData destination, ::openfl::geom::Rectangle srcRect, ::openfl::geom::Point destPoint);
::Dynamic drawToBitmapData_dyn();
void drawTriangles( ::openfl::display3D::IndexBuffer3D indexBuffer,hx::Null< int > firstIndex,hx::Null< int > numTriangles);
::Dynamic drawTriangles_dyn();
void present();
::Dynamic present_dyn();
void setBlendFactors( ::Dynamic sourceFactor, ::Dynamic destinationFactor);
::Dynamic setBlendFactors_dyn();
void setBlendFactorsSeparate( ::Dynamic sourceRGBFactor, ::Dynamic destinationRGBFactor, ::Dynamic sourceAlphaFactor, ::Dynamic destinationAlphaFactor);
::Dynamic setBlendFactorsSeparate_dyn();
void setColorMask(bool red,bool green,bool blue,bool alpha);
::Dynamic setColorMask_dyn();
void setCulling( ::Dynamic triangleFaceToCull);
::Dynamic setCulling_dyn();
void setDepthTest(bool depthMask, ::Dynamic passCompareMode);
::Dynamic setDepthTest_dyn();
void setProgram( ::openfl::display3D::Program3D program);
::Dynamic setProgram_dyn();
void setProgramConstantsFromByteArray( ::Dynamic programType,int firstRegister,int numRegisters, ::openfl::utils::ByteArrayData data,int byteArrayOffset);
::Dynamic setProgramConstantsFromByteArray_dyn();
void setProgramConstantsFromMatrix( ::Dynamic programType,int firstRegister, ::openfl::geom::Matrix3D matrix,hx::Null< bool > transposedMatrix);
::Dynamic setProgramConstantsFromMatrix_dyn();
void setProgramConstantsFromVector( ::Dynamic programType,int firstRegister, ::openfl::_Vector::FloatVector data,hx::Null< int > numRegisters);
::Dynamic setProgramConstantsFromVector_dyn();
void setRenderToBackBuffer();
::Dynamic setRenderToBackBuffer_dyn();
void setRenderToTexture( ::openfl::display3D::textures::TextureBase texture,hx::Null< bool > enableDepthAndStencil,hx::Null< int > antiAlias,hx::Null< int > surfaceSelector);
::Dynamic setRenderToTexture_dyn();
void setSamplerStateAt(int sampler, ::Dynamic wrap, ::Dynamic filter, ::Dynamic mipfilter);
::Dynamic setSamplerStateAt_dyn();
void setScissorRectangle( ::openfl::geom::Rectangle rectangle);
::Dynamic setScissorRectangle_dyn();
void setStencilActions( ::Dynamic triangleFace, ::Dynamic compareMode, ::Dynamic actionOnBothPass, ::Dynamic actionOnDepthFail, ::Dynamic actionOnDepthPassStencilFail);
::Dynamic setStencilActions_dyn();
void setStencilReferenceValue(int referenceValue,hx::Null< int > readMask,hx::Null< int > writeMask);
::Dynamic setStencilReferenceValue_dyn();
void setTextureAt(int sampler, ::openfl::display3D::textures::TextureBase texture);
::Dynamic setTextureAt_dyn();
void setVertexBufferAt(int index, ::openfl::display3D::VertexBuffer3D buffer,hx::Null< int > bufferOffset, ::Dynamic format);
::Dynamic setVertexBufferAt_dyn();
void _hx___bindGLArrayBuffer( ::lime::graphics::opengl::GLObject buffer);
::Dynamic _hx___bindGLArrayBuffer_dyn();
void _hx___bindGLElementArrayBuffer( ::lime::graphics::opengl::GLObject buffer);
::Dynamic _hx___bindGLElementArrayBuffer_dyn();
void _hx___bindGLFramebuffer( ::lime::graphics::opengl::GLObject framebuffer);
::Dynamic _hx___bindGLFramebuffer_dyn();
void _hx___bindGLTexture2D( ::lime::graphics::opengl::GLObject texture);
::Dynamic _hx___bindGLTexture2D_dyn();
void _hx___bindGLTextureCubeMap( ::lime::graphics::opengl::GLObject texture);
::Dynamic _hx___bindGLTextureCubeMap_dyn();
void _hx___dispose();
::Dynamic _hx___dispose_dyn();
void _hx___drawTriangles(hx::Null< int > firstIndex,int count);
::Dynamic _hx___drawTriangles_dyn();
void _hx___flushGL();
::Dynamic _hx___flushGL_dyn();
void _hx___flushGLBlend();
::Dynamic _hx___flushGLBlend_dyn();
void _hx___flushGLColor();
::Dynamic _hx___flushGLColor_dyn();
void _hx___flushGLCulling();
::Dynamic _hx___flushGLCulling_dyn();
void _hx___flushGLDepth();
::Dynamic _hx___flushGLDepth_dyn();
void _hx___flushGLFramebuffer();
::Dynamic _hx___flushGLFramebuffer_dyn();
void _hx___flushGLProgram();
::Dynamic _hx___flushGLProgram_dyn();
void _hx___flushGLScissor();
::Dynamic _hx___flushGLScissor_dyn();
void _hx___flushGLStencil();
::Dynamic _hx___flushGLStencil_dyn();
void _hx___flushGLTextures();
::Dynamic _hx___flushGLTextures_dyn();
void _hx___flushGLViewport();
::Dynamic _hx___flushGLViewport_dyn();
int _hx___getGLBlend( ::Dynamic blendFactor);
::Dynamic _hx___getGLBlend_dyn();
int _hx___getGLCompareMode( ::Dynamic mode);
::Dynamic _hx___getGLCompareMode_dyn();
int _hx___getGLStencilAction( ::Dynamic action);
::Dynamic _hx___getGLStencilAction_dyn();
int _hx___getGLTriangleFace( ::Dynamic face);
::Dynamic _hx___getGLTriangleFace_dyn();
void _hx___renderStage3D( ::openfl::display::Stage3D stage3D);
::Dynamic _hx___renderStage3D_dyn();
void _hx___setGLBlend(bool enable);
::Dynamic _hx___setGLBlend_dyn();
void _hx___setGLBlendEquation(int value);
::Dynamic _hx___setGLBlendEquation_dyn();
void _hx___setGLCullFace(bool enable);
::Dynamic _hx___setGLCullFace_dyn();
void _hx___setGLDepthTest(bool enable);
::Dynamic _hx___setGLDepthTest_dyn();
void _hx___setGLFrontFace(bool counterClockWise);
::Dynamic _hx___setGLFrontFace_dyn();
void _hx___setGLScissorTest(bool enable);
::Dynamic _hx___setGLScissorTest_dyn();
void _hx___setGLStencilTest(bool enable);
::Dynamic _hx___setGLStencilTest_dyn();
bool get_enableErrorChecking();
::Dynamic get_enableErrorChecking_dyn();
bool set_enableErrorChecking(bool value);
::Dynamic set_enableErrorChecking_dyn();
int get_totalGPUMemory();
::Dynamic get_totalGPUMemory_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_Context3D */

View File

@@ -0,0 +1,81 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_IndexBuffer3D
#define INCLUDED_openfl_display3D_IndexBuffer3D
#ifndef HXCPP_H
#include <hxcpp.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,_Vector,IVector)
HX_DECLARE_CLASS2(openfl,_Vector,IntVector)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS2(openfl,display3D,IndexBuffer3D)
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{
class HXCPP_CLASS_ATTRIBUTES IndexBuffer3D_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef IndexBuffer3D_obj OBJ_;
IndexBuffer3D_obj();
public:
enum { _hx_ClassId = 0x36314040 };
void __construct( ::openfl::display3D::Context3D context3D,int numIndices, ::Dynamic bufferUsage);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.IndexBuffer3D")
{ 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.IndexBuffer3D"); }
static hx::ObjectPtr< IndexBuffer3D_obj > __new( ::openfl::display3D::Context3D context3D,int numIndices, ::Dynamic bufferUsage);
static hx::ObjectPtr< IndexBuffer3D_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context3D,int numIndices, ::Dynamic bufferUsage);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~IndexBuffer3D_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_("IndexBuffer3D",c3,32,41,c0); }
::openfl::display3D::Context3D _hx___context;
::lime::graphics::opengl::GLObject _hx___id;
int _hx___memoryUsage;
int _hx___numIndices;
::lime::utils::ArrayBufferView _hx___tempUInt16Array;
int _hx___usage;
void dispose();
::Dynamic dispose_dyn();
void uploadFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,int startOffset,int count);
::Dynamic uploadFromByteArray_dyn();
void uploadFromTypedArray( ::lime::utils::ArrayBufferView data,hx::Null< int > byteLength);
::Dynamic uploadFromTypedArray_dyn();
void uploadFromVector( ::openfl::_Vector::IntVector data,int startOffset,int count);
::Dynamic uploadFromVector_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_IndexBuffer3D */

View File

@@ -0,0 +1,135 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_Program3D
#define INCLUDED_openfl_display3D_Program3D
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,ds,List)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS2(openfl,display3D,Program3D)
HX_DECLARE_CLASS2(openfl,display3D,Uniform)
HX_DECLARE_CLASS2(openfl,display3D,UniformMap)
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{
class HXCPP_CLASS_ATTRIBUTES Program3D_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Program3D_obj OBJ_;
Program3D_obj();
public:
enum { _hx_ClassId = 0x28394b12 };
void __construct( ::openfl::display3D::Context3D context3D, ::Dynamic format);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.Program3D")
{ 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.Program3D"); }
static hx::ObjectPtr< Program3D_obj > __new( ::openfl::display3D::Context3D context3D, ::Dynamic format);
static hx::ObjectPtr< Program3D_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context3D, ::Dynamic format);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Program3D_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_("Program3D",15,00,97,7e); }
::Array< ::Dynamic> _hx___agalAlphaSamplerEnabled;
::haxe::ds::List _hx___agalAlphaSamplerUniforms;
::openfl::display3D::UniformMap _hx___agalFragmentUniformMap;
::openfl::display3D::Uniform _hx___agalPositionScale;
::haxe::ds::List _hx___agalSamplerUniforms;
int _hx___agalSamplerUsageMask;
::haxe::ds::List _hx___agalUniforms;
::openfl::display3D::UniformMap _hx___agalVertexUniformMap;
::openfl::display3D::Context3D _hx___context;
::Dynamic _hx___format;
::lime::graphics::opengl::GLObject _hx___glFragmentShader;
::String _hx___glFragmentSource;
::lime::graphics::opengl::GLObject _hx___glProgram;
::Array< ::String > _hx___glslAttribNames;
::Array< ::Dynamic> _hx___glslAttribTypes;
::Array< ::String > _hx___glslSamplerNames;
::Array< int > _hx___glslUniformLocations;
::Array< ::String > _hx___glslUniformNames;
::Array< ::Dynamic> _hx___glslUniformTypes;
::lime::graphics::opengl::GLObject _hx___glVertexShader;
::String _hx___glVertexSource;
::Array< ::Dynamic> _hx___samplerStates;
void dispose();
::Dynamic dispose_dyn();
int getAttributeIndex(::String name);
::Dynamic getAttributeIndex_dyn();
int getConstantIndex(::String name);
::Dynamic getConstantIndex_dyn();
void upload( ::openfl::utils::ByteArrayData vertexProgram, ::openfl::utils::ByteArrayData fragmentProgram);
::Dynamic upload_dyn();
void uploadSources(::String vertexSource,::String fragmentSource);
::Dynamic uploadSources_dyn();
void _hx___buildAGALUniformList();
::Dynamic _hx___buildAGALUniformList_dyn();
void _hx___deleteShaders();
::Dynamic _hx___deleteShaders_dyn();
void _hx___disable();
::Dynamic _hx___disable_dyn();
void _hx___enable();
::Dynamic _hx___enable_dyn();
void _hx___flush();
::Dynamic _hx___flush_dyn();
::openfl::display::_internal::SamplerState _hx___getSamplerState(int sampler);
::Dynamic _hx___getSamplerState_dyn();
void _hx___markDirty(bool isVertex,int index,int count);
::Dynamic _hx___markDirty_dyn();
void _hx___processGLSLData(::String source,::String storageType);
::Dynamic _hx___processGLSLData_dyn();
void _hx___setPositionScale( ::lime::utils::ArrayBufferView positionScale);
::Dynamic _hx___setPositionScale_dyn();
void _hx___setSamplerState(int sampler, ::openfl::display::_internal::SamplerState state);
::Dynamic _hx___setSamplerState_dyn();
void _hx___uploadFromGLSL(::String vertexShaderSource,::String fragmentShaderSource);
::Dynamic _hx___uploadFromGLSL_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_Program3D */

View File

@@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_Uniform
#define INCLUDED_openfl_display3D_Uniform
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(lime,utils,ArrayBufferView)
HX_DECLARE_CLASS2(lime,utils,BytePointerData)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS2(openfl,display3D,Uniform)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
namespace openfl{
namespace display3D{
class HXCPP_CLASS_ATTRIBUTES Uniform_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Uniform_obj OBJ_;
Uniform_obj();
public:
enum { _hx_ClassId = 0x288bd2fd };
void __construct( ::openfl::display3D::Context3D context);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.Uniform")
{ 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.Uniform"); }
static hx::ObjectPtr< Uniform_obj > __new( ::openfl::display3D::Context3D context);
static hx::ObjectPtr< Uniform_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Uniform_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_("Uniform",14,69,b5,82); }
static void __boot();
static ::Dynamic __meta__;
::String name;
int location;
int type;
int size;
::lime::utils::ArrayBufferView regData;
int regIndex;
int regCount;
bool isDirty;
::openfl::display3D::Context3D context;
::lime::utils::BytePointerData regDataPointer;
void flush();
::Dynamic flush_dyn();
::lime::utils::BytePointerData _hx___getUniformRegisters(int index,int size);
::Dynamic _hx___getUniformRegisters_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_Uniform */

View File

@@ -0,0 +1,70 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_UniformMap
#define INCLUDED_openfl_display3D_UniformMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,_Vector,IVector)
HX_DECLARE_CLASS2(openfl,_Vector,ObjectVector)
HX_DECLARE_CLASS2(openfl,display3D,Uniform)
HX_DECLARE_CLASS2(openfl,display3D,UniformMap)
namespace openfl{
namespace display3D{
class HXCPP_CLASS_ATTRIBUTES UniformMap_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef UniformMap_obj OBJ_;
UniformMap_obj();
public:
enum { _hx_ClassId = 0x16eab4bb };
void __construct(::Array< ::Dynamic> list);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.UniformMap")
{ 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.UniformMap"); }
static hx::ObjectPtr< UniformMap_obj > __new(::Array< ::Dynamic> list);
static hx::ObjectPtr< UniformMap_obj > __alloc(hx::Ctx *_hx_ctx,::Array< ::Dynamic> list);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~UniformMap_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_("UniformMap",e8,3d,45,d1); }
static void __boot();
static ::Dynamic __meta__;
bool _hx___allDirty;
bool _hx___anyDirty;
::openfl::_Vector::ObjectVector _hx___registerLookup;
::Array< ::Dynamic> _hx___uniforms;
void flush();
::Dynamic flush_dyn();
void markAllDirty();
::Dynamic markAllDirty_dyn();
void markDirty(int start,int count);
::Dynamic markDirty_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_UniformMap */

View File

@@ -0,0 +1,84 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D_VertexBuffer3D
#define INCLUDED_openfl_display3D_VertexBuffer3D
#ifndef HXCPP_H
#include <hxcpp.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,_Vector,FloatVector)
HX_DECLARE_CLASS2(openfl,_Vector,IVector)
HX_DECLARE_CLASS2(openfl,display3D,Context3D)
HX_DECLARE_CLASS2(openfl,display3D,VertexBuffer3D)
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{
class HXCPP_CLASS_ATTRIBUTES VertexBuffer3D_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef VertexBuffer3D_obj OBJ_;
VertexBuffer3D_obj();
public:
enum { _hx_ClassId = 0x1e9235a8 };
void __construct( ::openfl::display3D::Context3D context3D,int numVertices,int dataPerVertex,::String bufferUsage);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D.VertexBuffer3D")
{ 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.VertexBuffer3D"); }
static hx::ObjectPtr< VertexBuffer3D_obj > __new( ::openfl::display3D::Context3D context3D,int numVertices,int dataPerVertex,::String bufferUsage);
static hx::ObjectPtr< VertexBuffer3D_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::display3D::Context3D context3D,int numVertices,int dataPerVertex,::String bufferUsage);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~VertexBuffer3D_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_("VertexBuffer3D",55,59,6d,dc); }
::openfl::display3D::Context3D _hx___context;
::openfl::_Vector::FloatVector _hx___data;
::lime::graphics::opengl::GLObject _hx___id;
int _hx___memoryUsage;
int _hx___numVertices;
int _hx___stride;
::lime::utils::ArrayBufferView _hx___tempFloat32Array;
int _hx___usage;
int _hx___vertexSize;
void dispose();
::Dynamic dispose_dyn();
void uploadFromByteArray( ::openfl::utils::ByteArrayData data,int byteArrayOffset,int startVertex,int numVertices);
::Dynamic uploadFromByteArray_dyn();
void uploadFromTypedArray( ::lime::utils::ArrayBufferView data,hx::Null< int > byteLength);
::Dynamic uploadFromTypedArray_dyn();
void uploadFromVector( ::openfl::_Vector::FloatVector data,int startVertex,int numVertices);
::Dynamic uploadFromVector_dyn();
};
} // end namespace openfl
} // end namespace display3D
#endif /* INCLUDED_openfl_display3D_VertexBuffer3D */

View File

@@ -0,0 +1,78 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DBlendFactor_Context3DBlendFactor_Impl_
#define INCLUDED_openfl_display3D__Context3DBlendFactor_Context3DBlendFactor_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DBlendFactor,Context3DBlendFactor_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DBlendFactor{
class HXCPP_CLASS_ATTRIBUTES Context3DBlendFactor_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DBlendFactor_Impl__obj OBJ_;
Context3DBlendFactor_Impl__obj();
public:
enum { _hx_ClassId = 0x480b2f60 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DBlendFactor.Context3DBlendFactor_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DBlendFactor.Context3DBlendFactor_Impl_"); }
inline static hx::ObjectPtr< Context3DBlendFactor_Impl__obj > __new() {
hx::ObjectPtr< Context3DBlendFactor_Impl__obj > __this = new Context3DBlendFactor_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DBlendFactor_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DBlendFactor_Impl__obj *__this = (Context3DBlendFactor_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DBlendFactor_Impl__obj), false, "openfl.display3D._Context3DBlendFactor.Context3DBlendFactor_Impl_"));
*(void **)__this = Context3DBlendFactor_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DBlendFactor_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DBlendFactor_Impl_",40,80,2d,4a); }
static void __boot();
static ::Dynamic DESTINATION_ALPHA;
static ::Dynamic DESTINATION_COLOR;
static ::Dynamic ONE;
static ::Dynamic ONE_MINUS_DESTINATION_ALPHA;
static ::Dynamic ONE_MINUS_DESTINATION_COLOR;
static ::Dynamic ONE_MINUS_SOURCE_ALPHA;
static ::Dynamic ONE_MINUS_SOURCE_COLOR;
static ::Dynamic SOURCE_ALPHA;
static ::Dynamic SOURCE_COLOR;
static ::Dynamic ZERO;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DBlendFactor
#endif /* INCLUDED_openfl_display3D__Context3DBlendFactor_Context3DBlendFactor_Impl_ */

View File

@@ -0,0 +1,70 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DBufferUsage_Context3DBufferUsage_Impl_
#define INCLUDED_openfl_display3D__Context3DBufferUsage_Context3DBufferUsage_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DBufferUsage,Context3DBufferUsage_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DBufferUsage{
class HXCPP_CLASS_ATTRIBUTES Context3DBufferUsage_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DBufferUsage_Impl__obj OBJ_;
Context3DBufferUsage_Impl__obj();
public:
enum { _hx_ClassId = 0x3108c5a2 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DBufferUsage.Context3DBufferUsage_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DBufferUsage.Context3DBufferUsage_Impl_"); }
inline static hx::ObjectPtr< Context3DBufferUsage_Impl__obj > __new() {
hx::ObjectPtr< Context3DBufferUsage_Impl__obj > __this = new Context3DBufferUsage_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DBufferUsage_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DBufferUsage_Impl__obj *__this = (Context3DBufferUsage_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DBufferUsage_Impl__obj), false, "openfl.display3D._Context3DBufferUsage.Context3DBufferUsage_Impl_"));
*(void **)__this = Context3DBufferUsage_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DBufferUsage_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DBufferUsage_Impl_",01,5f,3c,c9); }
static void __boot();
static ::Dynamic DYNAMIC_DRAW;
static ::Dynamic STATIC_DRAW;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DBufferUsage
#endif /* INCLUDED_openfl_display3D__Context3DBufferUsage_Context3DBufferUsage_Impl_ */

View File

@@ -0,0 +1,76 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DCompareMode_Context3DCompareMode_Impl_
#define INCLUDED_openfl_display3D__Context3DCompareMode_Context3DCompareMode_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DCompareMode,Context3DCompareMode_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DCompareMode{
class HXCPP_CLASS_ATTRIBUTES Context3DCompareMode_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DCompareMode_Impl__obj OBJ_;
Context3DCompareMode_Impl__obj();
public:
enum { _hx_ClassId = 0x4ebd56b0 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DCompareMode.Context3DCompareMode_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DCompareMode.Context3DCompareMode_Impl_"); }
inline static hx::ObjectPtr< Context3DCompareMode_Impl__obj > __new() {
hx::ObjectPtr< Context3DCompareMode_Impl__obj > __this = new Context3DCompareMode_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DCompareMode_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DCompareMode_Impl__obj *__this = (Context3DCompareMode_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DCompareMode_Impl__obj), false, "openfl.display3D._Context3DCompareMode.Context3DCompareMode_Impl_"));
*(void **)__this = Context3DCompareMode_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DCompareMode_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DCompareMode_Impl_",e8,34,29,98); }
static void __boot();
static ::Dynamic ALWAYS;
static ::Dynamic EQUAL;
static ::Dynamic GREATER;
static ::Dynamic GREATER_EQUAL;
static ::Dynamic LESS;
static ::Dynamic LESS_EQUAL;
static ::Dynamic NEVER;
static ::Dynamic NOT_EQUAL;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DCompareMode
#endif /* INCLUDED_openfl_display3D__Context3DCompareMode_Context3DCompareMode_Impl_ */

View File

@@ -0,0 +1,71 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DMipFilter_Context3DMipFilter_Impl_
#define INCLUDED_openfl_display3D__Context3DMipFilter_Context3DMipFilter_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DMipFilter,Context3DMipFilter_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DMipFilter{
class HXCPP_CLASS_ATTRIBUTES Context3DMipFilter_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DMipFilter_Impl__obj OBJ_;
Context3DMipFilter_Impl__obj();
public:
enum { _hx_ClassId = 0x3ec7ffd4 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DMipFilter.Context3DMipFilter_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DMipFilter.Context3DMipFilter_Impl_"); }
inline static hx::ObjectPtr< Context3DMipFilter_Impl__obj > __new() {
hx::ObjectPtr< Context3DMipFilter_Impl__obj > __this = new Context3DMipFilter_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DMipFilter_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DMipFilter_Impl__obj *__this = (Context3DMipFilter_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DMipFilter_Impl__obj), false, "openfl.display3D._Context3DMipFilter.Context3DMipFilter_Impl_"));
*(void **)__this = Context3DMipFilter_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DMipFilter_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DMipFilter_Impl_",ac,f5,1a,b7); }
static void __boot();
static ::Dynamic MIPLINEAR;
static ::Dynamic MIPNEAREST;
static ::Dynamic MIPNONE;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DMipFilter
#endif /* INCLUDED_openfl_display3D__Context3DMipFilter_Context3DMipFilter_Impl_ */

View File

@@ -0,0 +1,74 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DProfile_Context3DProfile_Impl_
#define INCLUDED_openfl_display3D__Context3DProfile_Context3DProfile_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DProfile,Context3DProfile_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DProfile{
class HXCPP_CLASS_ATTRIBUTES Context3DProfile_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DProfile_Impl__obj OBJ_;
Context3DProfile_Impl__obj();
public:
enum { _hx_ClassId = 0x7f62d972 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DProfile.Context3DProfile_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DProfile.Context3DProfile_Impl_"); }
inline static hx::ObjectPtr< Context3DProfile_Impl__obj > __new() {
hx::ObjectPtr< Context3DProfile_Impl__obj > __this = new Context3DProfile_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DProfile_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DProfile_Impl__obj *__this = (Context3DProfile_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DProfile_Impl__obj), false, "openfl.display3D._Context3DProfile.Context3DProfile_Impl_"));
*(void **)__this = Context3DProfile_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DProfile_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DProfile_Impl_",29,b6,ff,e8); }
static void __boot();
static ::Dynamic BASELINE;
static ::Dynamic BASELINE_CONSTRAINED;
static ::Dynamic BASELINE_EXTENDED;
static ::Dynamic STANDARD;
static ::Dynamic STANDARD_CONSTRAINED;
static ::Dynamic STANDARD_EXTENDED;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DProfile
#endif /* INCLUDED_openfl_display3D__Context3DProfile_Context3DProfile_Impl_ */

View File

@@ -0,0 +1,70 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DProgramFormat_Context3DProgramFormat_Impl_
#define INCLUDED_openfl_display3D__Context3DProgramFormat_Context3DProgramFormat_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DProgramFormat,Context3DProgramFormat_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DProgramFormat{
class HXCPP_CLASS_ATTRIBUTES Context3DProgramFormat_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DProgramFormat_Impl__obj OBJ_;
Context3DProgramFormat_Impl__obj();
public:
enum { _hx_ClassId = 0x01aa7a32 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DProgramFormat.Context3DProgramFormat_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DProgramFormat.Context3DProgramFormat_Impl_"); }
inline static hx::ObjectPtr< Context3DProgramFormat_Impl__obj > __new() {
hx::ObjectPtr< Context3DProgramFormat_Impl__obj > __this = new Context3DProgramFormat_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DProgramFormat_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DProgramFormat_Impl__obj *__this = (Context3DProgramFormat_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DProgramFormat_Impl__obj), false, "openfl.display3D._Context3DProgramFormat.Context3DProgramFormat_Impl_"));
*(void **)__this = Context3DProgramFormat_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DProgramFormat_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DProgramFormat_Impl_",5b,bf,c9,30); }
static void __boot();
static ::Dynamic AGAL;
static ::Dynamic GLSL;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DProgramFormat
#endif /* INCLUDED_openfl_display3D__Context3DProgramFormat_Context3DProgramFormat_Impl_ */

View File

@@ -0,0 +1,70 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DProgramType_Context3DProgramType_Impl_
#define INCLUDED_openfl_display3D__Context3DProgramType_Context3DProgramType_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DProgramType,Context3DProgramType_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DProgramType{
class HXCPP_CLASS_ATTRIBUTES Context3DProgramType_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DProgramType_Impl__obj OBJ_;
Context3DProgramType_Impl__obj();
public:
enum { _hx_ClassId = 0x6a0b7f38 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DProgramType.Context3DProgramType_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DProgramType.Context3DProgramType_Impl_"); }
inline static hx::ObjectPtr< Context3DProgramType_Impl__obj > __new() {
hx::ObjectPtr< Context3DProgramType_Impl__obj > __this = new Context3DProgramType_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DProgramType_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DProgramType_Impl__obj *__this = (Context3DProgramType_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DProgramType_Impl__obj), false, "openfl.display3D._Context3DProgramType.Context3DProgramType_Impl_"));
*(void **)__this = Context3DProgramType_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DProgramType_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DProgramType_Impl_",1e,ce,d4,5e); }
static void __boot();
static ::Dynamic FRAGMENT;
static ::Dynamic VERTEX;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DProgramType
#endif /* INCLUDED_openfl_display3D__Context3DProgramType_Context3DProgramType_Impl_ */

View File

@@ -0,0 +1,70 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DRenderMode_Context3DRenderMode_Impl_
#define INCLUDED_openfl_display3D__Context3DRenderMode_Context3DRenderMode_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DRenderMode,Context3DRenderMode_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DRenderMode{
class HXCPP_CLASS_ATTRIBUTES Context3DRenderMode_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DRenderMode_Impl__obj OBJ_;
Context3DRenderMode_Impl__obj();
public:
enum { _hx_ClassId = 0x74aa2b64 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DRenderMode.Context3DRenderMode_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DRenderMode.Context3DRenderMode_Impl_"); }
inline static hx::ObjectPtr< Context3DRenderMode_Impl__obj > __new() {
hx::ObjectPtr< Context3DRenderMode_Impl__obj > __this = new Context3DRenderMode_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DRenderMode_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DRenderMode_Impl__obj *__this = (Context3DRenderMode_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DRenderMode_Impl__obj), false, "openfl.display3D._Context3DRenderMode.Context3DRenderMode_Impl_"));
*(void **)__this = Context3DRenderMode_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DRenderMode_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DRenderMode_Impl_",99,0b,34,90); }
static void __boot();
static ::Dynamic AUTO;
static ::Dynamic SOFTWARE;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DRenderMode
#endif /* INCLUDED_openfl_display3D__Context3DRenderMode_Context3DRenderMode_Impl_ */

View File

@@ -0,0 +1,76 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DStencilAction_Context3DStencilAction_Impl_
#define INCLUDED_openfl_display3D__Context3DStencilAction_Context3DStencilAction_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DStencilAction,Context3DStencilAction_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DStencilAction{
class HXCPP_CLASS_ATTRIBUTES Context3DStencilAction_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DStencilAction_Impl__obj OBJ_;
Context3DStencilAction_Impl__obj();
public:
enum { _hx_ClassId = 0x23bfe1a0 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DStencilAction.Context3DStencilAction_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DStencilAction.Context3DStencilAction_Impl_"); }
inline static hx::ObjectPtr< Context3DStencilAction_Impl__obj > __new() {
hx::ObjectPtr< Context3DStencilAction_Impl__obj > __this = new Context3DStencilAction_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DStencilAction_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DStencilAction_Impl__obj *__this = (Context3DStencilAction_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DStencilAction_Impl__obj), false, "openfl.display3D._Context3DStencilAction.Context3DStencilAction_Impl_"));
*(void **)__this = Context3DStencilAction_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DStencilAction_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DStencilAction_Impl_",92,1c,56,d7); }
static void __boot();
static ::Dynamic DECREMENT_SATURATE;
static ::Dynamic DECREMENT_WRAP;
static ::Dynamic INCREMENT_SATURATE;
static ::Dynamic INCREMENT_WRAP;
static ::Dynamic INVERT;
static ::Dynamic KEEP;
static ::Dynamic SET;
static ::Dynamic ZERO;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DStencilAction
#endif /* INCLUDED_openfl_display3D__Context3DStencilAction_Context3DStencilAction_Impl_ */

View File

@@ -0,0 +1,74 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DTextureFilter_Context3DTextureFilter_Impl_
#define INCLUDED_openfl_display3D__Context3DTextureFilter_Context3DTextureFilter_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DTextureFilter,Context3DTextureFilter_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DTextureFilter{
class HXCPP_CLASS_ATTRIBUTES Context3DTextureFilter_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DTextureFilter_Impl__obj OBJ_;
Context3DTextureFilter_Impl__obj();
public:
enum { _hx_ClassId = 0x62511a62 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DTextureFilter.Context3DTextureFilter_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DTextureFilter.Context3DTextureFilter_Impl_"); }
inline static hx::ObjectPtr< Context3DTextureFilter_Impl__obj > __new() {
hx::ObjectPtr< Context3DTextureFilter_Impl__obj > __this = new Context3DTextureFilter_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DTextureFilter_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DTextureFilter_Impl__obj *__this = (Context3DTextureFilter_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DTextureFilter_Impl__obj), false, "openfl.display3D._Context3DTextureFilter.Context3DTextureFilter_Impl_"));
*(void **)__this = Context3DTextureFilter_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DTextureFilter_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DTextureFilter_Impl_",73,4b,a4,5b); }
static void __boot();
static ::Dynamic ANISOTROPIC16X;
static ::Dynamic ANISOTROPIC2X;
static ::Dynamic ANISOTROPIC4X;
static ::Dynamic ANISOTROPIC8X;
static ::Dynamic LINEAR;
static ::Dynamic NEAREST;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DTextureFilter
#endif /* INCLUDED_openfl_display3D__Context3DTextureFilter_Context3DTextureFilter_Impl_ */

View File

@@ -0,0 +1,74 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DTextureFormat_Context3DTextureFormat_Impl_
#define INCLUDED_openfl_display3D__Context3DTextureFormat_Context3DTextureFormat_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DTextureFormat,Context3DTextureFormat_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DTextureFormat{
class HXCPP_CLASS_ATTRIBUTES Context3DTextureFormat_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DTextureFormat_Impl__obj OBJ_;
Context3DTextureFormat_Impl__obj();
public:
enum { _hx_ClassId = 0x1f3750e0 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DTextureFormat.Context3DTextureFormat_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DTextureFormat.Context3DTextureFormat_Impl_"); }
inline static hx::ObjectPtr< Context3DTextureFormat_Impl__obj > __new() {
hx::ObjectPtr< Context3DTextureFormat_Impl__obj > __this = new Context3DTextureFormat_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DTextureFormat_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DTextureFormat_Impl__obj *__this = (Context3DTextureFormat_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DTextureFormat_Impl__obj), false, "openfl.display3D._Context3DTextureFormat.Context3DTextureFormat_Impl_"));
*(void **)__this = Context3DTextureFormat_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DTextureFormat_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DTextureFormat_Impl_",32,e4,60,8c); }
static void __boot();
static ::Dynamic BGR_PACKED;
static ::Dynamic BGRA;
static ::Dynamic BGRA_PACKED;
static ::Dynamic COMPRESSED;
static ::Dynamic COMPRESSED_ALPHA;
static ::Dynamic RGBA_HALF_FLOAT;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DTextureFormat
#endif /* INCLUDED_openfl_display3D__Context3DTextureFormat_Context3DTextureFormat_Impl_ */

View File

@@ -0,0 +1,72 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DTriangleFace_Context3DTriangleFace_Impl_
#define INCLUDED_openfl_display3D__Context3DTriangleFace_Context3DTriangleFace_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DTriangleFace,Context3DTriangleFace_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DTriangleFace{
class HXCPP_CLASS_ATTRIBUTES Context3DTriangleFace_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DTriangleFace_Impl__obj OBJ_;
Context3DTriangleFace_Impl__obj();
public:
enum { _hx_ClassId = 0x218053dc };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_"); }
inline static hx::ObjectPtr< Context3DTriangleFace_Impl__obj > __new() {
hx::ObjectPtr< Context3DTriangleFace_Impl__obj > __this = new Context3DTriangleFace_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DTriangleFace_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DTriangleFace_Impl__obj *__this = (Context3DTriangleFace_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DTriangleFace_Impl__obj), false, "openfl.display3D._Context3DTriangleFace.Context3DTriangleFace_Impl_"));
*(void **)__this = Context3DTriangleFace_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DTriangleFace_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DTriangleFace_Impl_",45,42,51,8c); }
static void __boot();
static ::Dynamic BACK;
static ::Dynamic FRONT;
static ::Dynamic FRONT_AND_BACK;
static ::Dynamic NONE;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DTriangleFace
#endif /* INCLUDED_openfl_display3D__Context3DTriangleFace_Context3DTriangleFace_Impl_ */

View File

@@ -0,0 +1,73 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DVertexBufferFormat_Context3DVertexBufferFormat_Impl_
#define INCLUDED_openfl_display3D__Context3DVertexBufferFormat_Context3DVertexBufferFormat_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DVertexBufferFormat,Context3DVertexBufferFormat_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DVertexBufferFormat{
class HXCPP_CLASS_ATTRIBUTES Context3DVertexBufferFormat_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DVertexBufferFormat_Impl__obj OBJ_;
Context3DVertexBufferFormat_Impl__obj();
public:
enum { _hx_ClassId = 0x43e73bc0 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DVertexBufferFormat.Context3DVertexBufferFormat_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DVertexBufferFormat.Context3DVertexBufferFormat_Impl_"); }
inline static hx::ObjectPtr< Context3DVertexBufferFormat_Impl__obj > __new() {
hx::ObjectPtr< Context3DVertexBufferFormat_Impl__obj > __this = new Context3DVertexBufferFormat_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DVertexBufferFormat_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DVertexBufferFormat_Impl__obj *__this = (Context3DVertexBufferFormat_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DVertexBufferFormat_Impl__obj), false, "openfl.display3D._Context3DVertexBufferFormat.Context3DVertexBufferFormat_Impl_"));
*(void **)__this = Context3DVertexBufferFormat_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DVertexBufferFormat_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DVertexBufferFormat_Impl_",1b,b9,26,ce); }
static void __boot();
static ::Dynamic BYTES_4;
static ::Dynamic FLOAT_1;
static ::Dynamic FLOAT_2;
static ::Dynamic FLOAT_3;
static ::Dynamic FLOAT_4;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DVertexBufferFormat
#endif /* INCLUDED_openfl_display3D__Context3DVertexBufferFormat_Context3DVertexBufferFormat_Impl_ */

View File

@@ -0,0 +1,72 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__Context3DWrapMode_Context3DWrapMode_Impl_
#define INCLUDED_openfl_display3D__Context3DWrapMode_Context3DWrapMode_Impl_
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,display3D,_Context3DWrapMode,Context3DWrapMode_Impl_)
namespace openfl{
namespace display3D{
namespace _Context3DWrapMode{
class HXCPP_CLASS_ATTRIBUTES Context3DWrapMode_Impl__obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DWrapMode_Impl__obj OBJ_;
Context3DWrapMode_Impl__obj();
public:
enum { _hx_ClassId = 0x4cd9bb5c };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._Context3DWrapMode.Context3DWrapMode_Impl_")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._Context3DWrapMode.Context3DWrapMode_Impl_"); }
inline static hx::ObjectPtr< Context3DWrapMode_Impl__obj > __new() {
hx::ObjectPtr< Context3DWrapMode_Impl__obj > __this = new Context3DWrapMode_Impl__obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< Context3DWrapMode_Impl__obj > __alloc(hx::Ctx *_hx_ctx) {
Context3DWrapMode_Impl__obj *__this = (Context3DWrapMode_Impl__obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(Context3DWrapMode_Impl__obj), false, "openfl.display3D._Context3DWrapMode.Context3DWrapMode_Impl_"));
*(void **)__this = Context3DWrapMode_Impl__obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DWrapMode_Impl__obj();
HX_DO_RTTI_ALL;
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Context3DWrapMode_Impl_",0d,1b,27,fa); }
static void __boot();
static ::Dynamic CLAMP;
static ::Dynamic CLAMP_U_REPEAT_V;
static ::Dynamic REPEAT;
static ::Dynamic REPEAT_U_CLAMP_V;
static ::Dynamic fromString(::String value);
static ::Dynamic fromString_dyn();
static ::String toString( ::Dynamic this1);
static ::Dynamic toString_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _Context3DWrapMode
#endif /* INCLUDED_openfl_display3D__Context3DWrapMode_Context3DWrapMode_Impl_ */

View File

@@ -0,0 +1,111 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_Context3DState
#define INCLUDED_openfl_display3D__internal_Context3DState
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,graphics,opengl,GLObject)
HX_DECLARE_CLASS2(openfl,display,Shader)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS2(openfl,display3D,Program3D)
HX_DECLARE_CLASS3(openfl,display3D,_internal,Context3DState)
HX_DECLARE_CLASS3(openfl,display3D,textures,TextureBase)
HX_DECLARE_CLASS2(openfl,events,EventDispatcher)
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
HX_DECLARE_CLASS2(openfl,geom,Rectangle)
namespace openfl{
namespace display3D{
namespace _internal{
class HXCPP_CLASS_ATTRIBUTES Context3DState_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef Context3DState_obj OBJ_;
Context3DState_obj();
public:
enum { _hx_ClassId = 0x017bf00a };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.Context3DState")
{ 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._internal.Context3DState"); }
static hx::ObjectPtr< Context3DState_obj > __new();
static hx::ObjectPtr< Context3DState_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~Context3DState_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_("Context3DState",b1,41,87,10); }
static void __boot();
static ::Dynamic __meta__;
bool backBufferEnableDepthAndStencil;
::Dynamic blendDestinationAlphaFactor;
::Dynamic blendSourceAlphaFactor;
::Dynamic blendDestinationRGBFactor;
::Dynamic blendSourceRGBFactor;
bool colorMaskRed;
bool colorMaskGreen;
bool colorMaskBlue;
bool colorMaskAlpha;
::Dynamic culling;
::Dynamic depthCompareMode;
bool depthMask;
::openfl::display3D::Program3D program;
::openfl::display3D::textures::TextureBase renderToTexture;
int renderToTextureAntiAlias;
bool renderToTextureDepthStencil;
int renderToTextureSurfaceSelector;
::Array< ::Dynamic> samplerStates;
bool scissorEnabled;
::openfl::geom::Rectangle scissorRectangle;
::Dynamic stencilCompareMode;
::Dynamic stencilDepthFail;
::Dynamic stencilFail;
::Dynamic stencilPass;
int stencilReadMask;
int stencilReferenceValue;
::Dynamic stencilTriangleFace;
int stencilWriteMask;
::Array< ::Dynamic> textures;
::openfl::display::Shader shader;
::lime::graphics::opengl::GLObject _hx___currentGLArrayBuffer;
::lime::graphics::opengl::GLObject _hx___currentGLElementArrayBuffer;
::lime::graphics::opengl::GLObject _hx___currentGLFramebuffer;
::lime::graphics::opengl::GLObject _hx___currentGLTexture2D;
::lime::graphics::opengl::GLObject _hx___currentGLTextureCubeMap;
bool _hx___enableGLBlend;
bool _hx___enableGLCullFace;
bool _hx___enableGLDepthTest;
bool _hx___enableGLScissorTest;
bool _hx___enableGLStencilTest;
bool _hx___frontFaceGLCCW;
int _hx___glBlendEquation;
::lime::graphics::opengl::GLObject _hx___primaryGLFramebuffer;
::lime::graphics::opengl::GLObject _hx___rttDepthGLRenderbuffer;
::lime::graphics::opengl::GLObject _hx___rttGLFramebuffer;
::lime::graphics::opengl::GLObject _hx___rttGLRenderbuffer;
::lime::graphics::opengl::GLObject _hx___rttStencilGLRenderbuffer;
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
#endif /* INCLUDED_openfl_display3D__internal_Context3DState */

View File

@@ -0,0 +1,86 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal_AGALConverter
#define INCLUDED_openfl_display3D__internal_agal_AGALConverter
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS4(openfl,display3D,_internal,agal,AGALConverter)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,ProgramType)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
class HXCPP_CLASS_ATTRIBUTES AGALConverter_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef AGALConverter_obj OBJ_;
AGALConverter_obj();
public:
enum { _hx_ClassId = 0x4d2de5dd };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.display3D._internal.agal.AGALConverter")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,false,"openfl.display3D._internal.agal.AGALConverter"); }
inline static hx::ObjectPtr< AGALConverter_obj > __new() {
hx::ObjectPtr< AGALConverter_obj > __this = new AGALConverter_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< AGALConverter_obj > __alloc(hx::Ctx *_hx_ctx) {
AGALConverter_obj *__this = (AGALConverter_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(AGALConverter_obj), false, "openfl.display3D._internal.agal.AGALConverter"));
*(void **)__this = AGALConverter_obj::_hx_vtable;
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~AGALConverter_obj();
HX_DO_RTTI_ALL;
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_("AGALConverter",8f,ef,1a,42); }
static void __boot();
static ::Dynamic __meta__;
static ::Dynamic limitedProfile;
static ::String prefixFromType(int regType, ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType);
static ::Dynamic prefixFromType_dyn();
static cpp::Int64Struct readUInt64( ::openfl::utils::ByteArrayData byteArray);
static ::Dynamic readUInt64_dyn();
static ::String convertToGLSL( ::openfl::utils::ByteArrayData agal,::Array< ::Dynamic> samplerState);
static ::Dynamic convertToGLSL_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
#endif /* INCLUDED_openfl_display3D__internal_agal_AGALConverter */

View File

@@ -0,0 +1,85 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal_RegisterMap
#define INCLUDED_openfl_display3D__internal_agal_RegisterMap
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS4(openfl,display3D,_internal,agal,RegisterMap)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,DestRegister)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,RegisterMapEntry)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,RegisterUsage)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,SamplerRegister)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,SourceRegister)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
class HXCPP_CLASS_ATTRIBUTES RegisterMap_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef RegisterMap_obj OBJ_;
RegisterMap_obj();
public:
enum { _hx_ClassId = 0x63beba6f };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.agal.RegisterMap")
{ 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._internal.agal.RegisterMap"); }
static hx::ObjectPtr< RegisterMap_obj > __new();
static hx::ObjectPtr< RegisterMap_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~RegisterMap_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_("RegisterMap",d9,93,09,fc); }
static void __boot();
static ::Dynamic __meta__;
::Array< ::Dynamic> mEntries;
void add(int type,::String name,int number, ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage usage);
::Dynamic add_dyn();
void addDR( ::openfl::display3D::_internal::agal::_AGALConverter::DestRegister dr, ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage usage);
::Dynamic addDR_dyn();
void addSaR( ::openfl::display3D::_internal::agal::_AGALConverter::SamplerRegister sr, ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage usage);
::Dynamic addSaR_dyn();
void addSR( ::openfl::display3D::_internal::agal::_AGALConverter::SourceRegister sr, ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage usage,hx::Null< int > offset);
::Dynamic addSR_dyn();
::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage getRegisterUsage( ::openfl::display3D::_internal::agal::_AGALConverter::SourceRegister sr);
::Dynamic getRegisterUsage_dyn();
::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage getUsage(int type,::String name,int number);
::Dynamic getUsage_dyn();
::String toGLSL(bool tempRegistersOnly);
::Dynamic toGLSL_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
#endif /* INCLUDED_openfl_display3D__internal_agal_RegisterMap */

View File

@@ -0,0 +1,75 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_DestRegister
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_DestRegister
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,DestRegister)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,ProgramType)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class HXCPP_CLASS_ATTRIBUTES DestRegister_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef DestRegister_obj OBJ_;
DestRegister_obj();
public:
enum { _hx_ClassId = 0x33588e3f };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.agal._AGALConverter.DestRegister")
{ 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._internal.agal._AGALConverter.DestRegister"); }
static hx::ObjectPtr< DestRegister_obj > __new();
static hx::ObjectPtr< DestRegister_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~DestRegister_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);
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_("DestRegister",05,3f,c2,ef); }
static void __boot();
static ::Dynamic __meta__;
static ::openfl::display3D::_internal::agal::_AGALConverter::DestRegister parse(int v, ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType);
static ::Dynamic parse_dyn();
int mask;
int n;
::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType;
int type;
::String getWriteMask();
::Dynamic getWriteMask_dyn();
::String toGLSL(hx::Null< bool > useMask);
::Dynamic toGLSL_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_DestRegister */

View File

@@ -0,0 +1,43 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_ProgramType
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_ProgramType
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,ProgramType)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class ProgramType_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef ProgramType_obj OBJ_;
public:
ProgramType_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("openfl.display3D._internal.agal._AGALConverter.ProgramType",32,43,0c,ef); }
::String __ToString() const { return HX_("ProgramType.",30,43,41,ab) + _hx_tag; }
static ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType FRAGMENT;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType FRAGMENT_dyn() { return FRAGMENT; }
static ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType VERTEX;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType VERTEX_dyn() { return VERTEX; }
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_ProgramType */

View File

@@ -0,0 +1,79 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterMapEntry
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterMapEntry
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_f37df1b95961fe37_818_new)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,RegisterMapEntry)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,RegisterUsage)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class HXCPP_CLASS_ATTRIBUTES RegisterMapEntry_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef RegisterMapEntry_obj OBJ_;
RegisterMapEntry_obj();
public:
enum { _hx_ClassId = 0x43285877 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.agal._AGALConverter.RegisterMapEntry")
{ 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._internal.agal._AGALConverter.RegisterMapEntry"); }
inline static hx::ObjectPtr< RegisterMapEntry_obj > __new() {
hx::ObjectPtr< RegisterMapEntry_obj > __this = new RegisterMapEntry_obj();
__this->__construct();
return __this;
}
inline static hx::ObjectPtr< RegisterMapEntry_obj > __alloc(hx::Ctx *_hx_ctx) {
RegisterMapEntry_obj *__this = (RegisterMapEntry_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(RegisterMapEntry_obj), true, "openfl.display3D._internal.agal._AGALConverter.RegisterMapEntry"));
*(void **)__this = RegisterMapEntry_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_f37df1b95961fe37_818_new)
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~RegisterMapEntry_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_("RegisterMapEntry",d9,c1,86,00); }
::String name;
int number;
int type;
::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage usage;
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterMapEntry */

View File

@@ -0,0 +1,55 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterUsage
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterUsage
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,RegisterUsage)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class RegisterUsage_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase_obj super;
typedef RegisterUsage_obj OBJ_;
public:
RegisterUsage_obj() {};
HX_DO_ENUM_RTTI;
static void __boot();
static void __register();
static bool __GetStatic(const ::String &inName, Dynamic &outValue, hx::PropertyAccess inCallProp);
::String GetEnumName( ) const { return HX_("openfl.display3D._internal.agal._AGALConverter.RegisterUsage",92,04,b8,b6); }
::String __ToString() const { return HX_("RegisterUsage.",d0,3a,d9,af) + _hx_tag; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage MATRIX_4_4;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage MATRIX_4_4_dyn() { return MATRIX_4_4; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_2D;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_2D_dyn() { return SAMPLER_2D; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_2D_ALPHA;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_2D_ALPHA_dyn() { return SAMPLER_2D_ALPHA; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_CUBE;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_CUBE_dyn() { return SAMPLER_CUBE; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_CUBE_ALPHA;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage SAMPLER_CUBE_ALPHA_dyn() { return SAMPLER_CUBE_ALPHA; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage UNUSED;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage UNUSED_dyn() { return UNUSED; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage VECTOR_4;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage VECTOR_4_dyn() { return VECTOR_4; }
static ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage VECTOR_4_ARRAY;
static inline ::openfl::display3D::_internal::agal::_AGALConverter::RegisterUsage VECTOR_4_ARRAY_dyn() { return VECTOR_4_ARRAY; }
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_RegisterUsage */

View File

@@ -0,0 +1,86 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_SamplerRegister
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_SamplerRegister
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS3(openfl,display,_internal,SamplerState)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,ProgramType)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,SamplerRegister)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class HXCPP_CLASS_ATTRIBUTES SamplerRegister_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef SamplerRegister_obj OBJ_;
SamplerRegister_obj();
public:
enum { _hx_ClassId = 0x595ae871 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.agal._AGALConverter.SamplerRegister")
{ 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._internal.agal._AGALConverter.SamplerRegister"); }
static hx::ObjectPtr< SamplerRegister_obj > __new();
static hx::ObjectPtr< SamplerRegister_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~SamplerRegister_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);
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_("SamplerRegister",6b,77,ff,5c); }
static void __boot();
static ::Dynamic __meta__;
static ::openfl::display3D::_internal::agal::_AGALConverter::SamplerRegister parse( cpp::Int64Struct v, ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType);
static ::Dynamic parse_dyn();
int b;
int d;
int f;
int m;
int n;
::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType;
int s;
int t;
int type;
int w;
::String toGLSL();
::Dynamic toGLSL_dyn();
::openfl::display::_internal::SamplerState toSamplerState();
::Dynamic toSamplerState_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_SamplerRegister */

View File

@@ -0,0 +1,81 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_agal__AGALConverter_SourceRegister
#define INCLUDED_openfl_display3D__internal_agal__AGALConverter_SourceRegister
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,ProgramType)
HX_DECLARE_CLASS5(openfl,display3D,_internal,agal,_AGALConverter,SourceRegister)
namespace openfl{
namespace display3D{
namespace _internal{
namespace agal{
namespace _AGALConverter{
class HXCPP_CLASS_ATTRIBUTES SourceRegister_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef SourceRegister_obj OBJ_;
SourceRegister_obj();
public:
enum { _hx_ClassId = 0x1dc18c38 };
void __construct();
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.agal._AGALConverter.SourceRegister")
{ 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._internal.agal._AGALConverter.SourceRegister"); }
static hx::ObjectPtr< SourceRegister_obj > __new();
static hx::ObjectPtr< SourceRegister_obj > __alloc(hx::Ctx *_hx_ctx);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~SourceRegister_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);
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_("SourceRegister",7e,7a,8d,0c); }
static void __boot();
static ::Dynamic __meta__;
static ::openfl::display3D::_internal::agal::_AGALConverter::SourceRegister parse( cpp::Int64Struct v, ::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType,int sourceMask);
static ::Dynamic parse_dyn();
int d;
int itype;
int n;
int o;
::openfl::display3D::_internal::agal::_AGALConverter::ProgramType programType;
int q;
int s;
int sourceMask;
int type;
::String toGLSL(hx::Null< bool > emitSwizzle,hx::Null< int > offset);
::Dynamic toGLSL_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace agal
} // end namespace _AGALConverter
#endif /* INCLUDED_openfl_display3D__internal_agal__AGALConverter_SourceRegister */

View File

@@ -0,0 +1,81 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_openfl_display3D__internal_atf_ATFReader
#define INCLUDED_openfl_display3D__internal_atf_ATFReader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS4(openfl,display3D,_internal,atf,ATFReader)
HX_DECLARE_CLASS2(openfl,utils,ByteArrayData)
HX_DECLARE_CLASS2(openfl,utils,IDataInput)
HX_DECLARE_CLASS2(openfl,utils,IDataOutput)
namespace openfl{
namespace display3D{
namespace _internal{
namespace atf{
class HXCPP_CLASS_ATTRIBUTES ATFReader_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef ATFReader_obj OBJ_;
ATFReader_obj();
public:
enum { _hx_ClassId = 0x2940f3fc };
void __construct( ::openfl::utils::ByteArrayData data,int byteArrayOffset);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="openfl.display3D._internal.atf.ATFReader")
{ 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._internal.atf.ATFReader"); }
static hx::ObjectPtr< ATFReader_obj > __new( ::openfl::utils::ByteArrayData data,int byteArrayOffset);
static hx::ObjectPtr< ATFReader_obj > __alloc(hx::Ctx *_hx_ctx, ::openfl::utils::ByteArrayData data,int byteArrayOffset);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~ATFReader_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_("ATFReader",96,ad,dd,e3); }
static void __boot();
static ::Dynamic __meta__;
int atfFormat;
bool cubeMap;
::openfl::utils::ByteArrayData data;
int height;
int mipCount;
int version;
int width;
bool readHeader(int _hx___width,int _hx___height,bool cubeMap);
::Dynamic readHeader_dyn();
void readTextures( ::Dynamic uploadCallback);
::Dynamic readTextures_dyn();
int _hx___readUInt24( ::openfl::utils::ByteArrayData data);
::Dynamic _hx___readUInt24_dyn();
int _hx___readUInt32( ::openfl::utils::ByteArrayData data);
::Dynamic _hx___readUInt32_dyn();
};
} // end namespace openfl
} // end namespace display3D
} // end namespace _internal
} // end namespace atf
#endif /* INCLUDED_openfl_display3D__internal_atf_ATFReader */

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 */