#ifndef INCLUDED_phoenix_utils_Rendering
#define INCLUDED_phoenix_utils_Rendering

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_CLASS1(phoenix,BlendMode)
HX_DECLARE_CLASS1(phoenix,PrimitiveType)
HX_DECLARE_CLASS2(phoenix,utils,Rendering)
namespace phoenix{
namespace utils{


class HXCPP_CLASS_ATTRIBUTES  Rendering_obj : public hx::Object{
	public:
		typedef hx::Object super;
		typedef Rendering_obj OBJ_;
		Rendering_obj();
		Void __construct();

	public:
		inline void *operator new( size_t inSize, bool inContainer=false)
			{ return hx::Object::operator new(inSize,inContainer); }
		static hx::ObjectPtr< Rendering_obj > __new();
		static Dynamic __CreateEmpty();
		static Dynamic __Create(hx::DynamicArray inArgs);
		//~Rendering_obj();

		HX_DO_RTTI;
		static void __boot();
		static void __register();
		::String __ToString() const { return HX_CSTRING("Rendering"); }

		static int gl_blend_mode_from_BlendMode( ::phoenix::BlendMode _b);
		static Dynamic gl_blend_mode_from_BlendMode_dyn();

		static int get_elements_for_type( ::phoenix::PrimitiveType type,int length);
		static Dynamic get_elements_for_type_dyn();

		static int get_opengl_primitive_type( ::phoenix::PrimitiveType type);
		static Dynamic get_opengl_primitive_type_dyn();

};

} // end namespace phoenix
} // end namespace utils

#endif /* INCLUDED_phoenix_utils_Rendering */ 
