extern @: to @: extern
This commit is contained in:
committed by
Joshua Granick
parent
e3aab45c4f
commit
376f0ba123
@@ -19,7 +19,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("ANGLE_instanced_arrays")
|
@:native("ANGLE_instanced_arrays")
|
||||||
extern @:noCompletion class ANGLE_instanced_arrays
|
@:noCompletion extern class ANGLE_instanced_arrays
|
||||||
{
|
{
|
||||||
public var VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE:Int;
|
public var VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE:Int;
|
||||||
public function drawArraysInstancedANGLE(mode:Int, first:Int, count:Int, primcount:Int):Void;
|
public function drawArraysInstancedANGLE(mode:Int, first:Int, count:Int, primcount:Int):Void;
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("ANGLE_instanced_arrays")
|
@:native("ANGLE_instanced_arrays")
|
||||||
extern @:noCompletion class EXT_blend_minmax
|
@:noCompletion extern class EXT_blend_minmax
|
||||||
{
|
{
|
||||||
public var MIN_EXT:Int;
|
public var MIN_EXT:Int;
|
||||||
public var MAX_EXT:Int;
|
public var MAX_EXT:Int;
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("EXT_color_buffer_float")
|
@:native("EXT_color_buffer_float")
|
||||||
extern @:noCompletion class EXT_color_buffer_float {}
|
@:noCompletion extern class EXT_color_buffer_float {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("EXT_color_buffer_half_float")
|
@:native("EXT_color_buffer_half_float")
|
||||||
extern @:noCompletion class EXT_color_buffer_half_float
|
@:noCompletion extern class EXT_color_buffer_half_float
|
||||||
{
|
{
|
||||||
public var RGBA16F_EXT:Int;
|
public var RGBA16F_EXT:Int;
|
||||||
public var RGB16F_EXT:Int;
|
public var RGB16F_EXT:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("EXT_disjoint_timer_query")
|
@:native("EXT_disjoint_timer_query")
|
||||||
extern @:noCompletion class EXT_disjoint_timer_query
|
@:noCompletion extern class EXT_disjoint_timer_query
|
||||||
{
|
{
|
||||||
public var QUERY_COUNTER_BITS_EXT:Int;
|
public var QUERY_COUNTER_BITS_EXT:Int;
|
||||||
public var CURRENT_QUERY_EXT:Int;
|
public var CURRENT_QUERY_EXT:Int;
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ package lime.graphics.opengl.ext;
|
|||||||
|
|
||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:native("EXT_frag_depth")
|
@:native("EXT_frag_depth")
|
||||||
extern @:noCompletion class EXT_frag_depth {}
|
@:noCompletion extern class EXT_frag_depth {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("EXT_sRGB")
|
@:native("EXT_sRGB")
|
||||||
extern @:noCompletion class EXT_sRGB
|
@:noCompletion extern class EXT_sRGB
|
||||||
{
|
{
|
||||||
public var SRGB_EXT:Int;
|
public var SRGB_EXT:Int;
|
||||||
public var SRGB_ALPHA_EXT:Int;
|
public var SRGB_ALPHA_EXT:Int;
|
||||||
|
|||||||
@@ -8,5 +8,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("EXT_shader_texture_lod")
|
@:native("EXT_shader_texture_lod")
|
||||||
extern @:noCompletion class EXT_shader_texture_lod {}
|
@:noCompletion extern class EXT_shader_texture_lod {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("EXT_texture_filter_anisotropic")
|
@:native("EXT_texture_filter_anisotropic")
|
||||||
extern @:noCompletion class EXT_texture_filter_anisotropic
|
@:noCompletion extern class EXT_texture_filter_anisotropic
|
||||||
{
|
{
|
||||||
public var TEXTURE_MAX_ANISOTROPY_EXT:Int;
|
public var TEXTURE_MAX_ANISOTROPY_EXT:Int;
|
||||||
public var MAX_TEXTURE_MAX_ANISOTROPY_EXT:Int;
|
public var MAX_TEXTURE_MAX_ANISOTROPY_EXT:Int;
|
||||||
|
|||||||
@@ -10,5 +10,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_element_index_uint")
|
@:native("OES_element_index_uint")
|
||||||
extern @:noCompletion class OES_element_index_uint {}
|
@:noCompletion extern class OES_element_index_uint {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_standard_derivatives")
|
@:native("OES_standard_derivatives")
|
||||||
extern @:noCompletion class OES_standard_derivatives
|
@:noCompletion extern class OES_standard_derivatives
|
||||||
{
|
{
|
||||||
public var FRAGMENT_SHADER_DERIVATIVE_HINT_OES:Int;
|
public var FRAGMENT_SHADER_DERIVATIVE_HINT_OES:Int;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_texture_float")
|
@:native("OES_texture_float")
|
||||||
extern @:noCompletion class OES_texture_float {}
|
@:noCompletion extern class OES_texture_float {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_texture_float_linear")
|
@:native("OES_texture_float_linear")
|
||||||
extern @:noCompletion class OES_texture_float_linear {}
|
@:noCompletion extern class OES_texture_float_linear {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_texture_half_float")
|
@:native("OES_texture_half_float")
|
||||||
extern @:noCompletion class OES_texture_half_float
|
@:noCompletion extern class OES_texture_half_float
|
||||||
{
|
{
|
||||||
public var HALF_FLOAT_OES:Int;
|
public var HALF_FLOAT_OES:Int;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,5 +7,5 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_texture_half_float_linear")
|
@:native("OES_texture_half_float_linear")
|
||||||
extern @:noCompletion class OES_texture_half_float_linear {}
|
@:noCompletion extern class OES_texture_half_float_linear {}
|
||||||
#end
|
#end
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ package lime.graphics.opengl.ext;
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
@:native("OES_vertex_array_object")
|
@:native("OES_vertex_array_object")
|
||||||
extern @:noCompletion class OES_vertex_array_object
|
@:noCompletion extern class OES_vertex_array_object
|
||||||
{
|
{
|
||||||
public var VERTEX_ARRAY_BINDING_OES:Int;
|
public var VERTEX_ARRAY_BINDING_OES:Int;
|
||||||
public function createVertexArrayOES():Dynamic; /*WebGLVertexArrayObject*/
|
public function createVertexArrayOES():Dynamic; /*WebGLVertexArrayObject*/
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_color_buffer_float")
|
@:native("WEBGL_color_buffer_float")
|
||||||
extern @:noCompletion class WEBGL_color_buffer_float
|
@:noCompletion extern class WEBGL_color_buffer_float
|
||||||
{
|
{
|
||||||
public var RGBA32F_EXT:Int;
|
public var RGBA32F_EXT:Int;
|
||||||
public var RGB32F_EXT:Int;
|
public var RGB32F_EXT:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_compressed_texture_atc")
|
@:native("WEBGL_compressed_texture_atc")
|
||||||
extern @:noCompletion class WEBGL_compressed_texture_atc
|
@:noCompletion extern class WEBGL_compressed_texture_atc
|
||||||
{
|
{
|
||||||
public var COMPRESSED_RGB_ATC_WEBGL:Int;
|
public var COMPRESSED_RGB_ATC_WEBGL:Int;
|
||||||
public var COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:Int;
|
public var COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_compressed_texture_etc")
|
@:native("WEBGL_compressed_texture_etc")
|
||||||
extern @:noCompletion class WEBGL_compressed_texture_etc
|
@:noCompletion extern class WEBGL_compressed_texture_etc
|
||||||
{
|
{
|
||||||
public var COMPRESSED_R11_EAC:Int;
|
public var COMPRESSED_R11_EAC:Int;
|
||||||
public var COMPRESSED_SIGNED_R11_EAC:Int;
|
public var COMPRESSED_SIGNED_R11_EAC:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_compressed_texture_etc1")
|
@:native("WEBGL_compressed_texture_etc1")
|
||||||
extern @:noCompletion class WEBGL_compressed_texture_etc1
|
@:noCompletion extern class WEBGL_compressed_texture_etc1
|
||||||
{
|
{
|
||||||
public var COMPRESSED_RGB_ETC1_WEBGL:Int;
|
public var COMPRESSED_RGB_ETC1_WEBGL:Int;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_compressed_texture_pvrtc")
|
@:native("WEBGL_compressed_texture_pvrtc")
|
||||||
extern @:noCompletion class WEBGL_compressed_texture_pvrtc
|
@:noCompletion extern class WEBGL_compressed_texture_pvrtc
|
||||||
{
|
{
|
||||||
public var COMPRESSED_RGB_PVRTC_4BPPV1_IMG:Int;
|
public var COMPRESSED_RGB_PVRTC_4BPPV1_IMG:Int;
|
||||||
public var COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:Int;
|
public var COMPRESSED_RGBA_PVRTC_4BPPV1_IMG:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_compressed_texture_s3tc")
|
@:native("WEBGL_compressed_texture_s3tc")
|
||||||
extern @:noCompletion class WEBGL_compressed_texture_s3tc
|
@:noCompletion extern class WEBGL_compressed_texture_s3tc
|
||||||
{
|
{
|
||||||
public var COMPRESSED_RGB_S3TC_DXT1_EXT:Int;
|
public var COMPRESSED_RGB_S3TC_DXT1_EXT:Int;
|
||||||
public var COMPRESSED_RGBA_S3TC_DXT1_EXT:Int;
|
public var COMPRESSED_RGBA_S3TC_DXT1_EXT:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_debug_renderer_info")
|
@:native("WEBGL_debug_renderer_info")
|
||||||
extern @:noCompletion class WEBGL_debug_renderer_info
|
@:noCompletion extern class WEBGL_debug_renderer_info
|
||||||
{
|
{
|
||||||
public var UNMASKED_VENDOR_WEBGL:Int;
|
public var UNMASKED_VENDOR_WEBGL:Int;
|
||||||
public var UNMASKED_RENDERER_WEBGL:Int;
|
public var UNMASKED_RENDERER_WEBGL:Int;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import lime.graphics.opengl.GLShader;
|
|||||||
|
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_debug_shaders")
|
@:native("WEBGL_debug_shaders")
|
||||||
extern @:noCompletion class WEBGL_debug_shaders
|
@:noCompletion extern class WEBGL_debug_shaders
|
||||||
{
|
{
|
||||||
public function getTranslatedShaderSource(shader:GLShader):String;
|
public function getTranslatedShaderSource(shader:GLShader):String;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import lime.graphics.opengl.GLShader;
|
|||||||
|
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_depth_texture")
|
@:native("WEBGL_depth_texture")
|
||||||
extern @:noCompletion class WEBGL_depth_texture
|
@:noCompletion extern class WEBGL_depth_texture
|
||||||
{
|
{
|
||||||
public var UNSIGNED_INT_24_8_WEBGL:Int;
|
public var UNSIGNED_INT_24_8_WEBGL:Int;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_draw_buffers")
|
@:native("WEBGL_draw_buffers")
|
||||||
extern @:noCompletion class WEBGL_draw_buffers
|
@:noCompletion extern class WEBGL_draw_buffers
|
||||||
{
|
{
|
||||||
public var COLOR_ATTACHMENT0_WEBGL:Int;
|
public var COLOR_ATTACHMENT0_WEBGL:Int;
|
||||||
public var COLOR_ATTACHMENT1_WEBGL:Int;
|
public var COLOR_ATTACHMENT1_WEBGL:Int;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package lime.graphics.opengl.ext;
|
|||||||
#if (js && html5)
|
#if (js && html5)
|
||||||
@:keep
|
@:keep
|
||||||
@:native("WEBGL_lose_context")
|
@:native("WEBGL_lose_context")
|
||||||
extern @:noCompletion class WEBGL_lose_context
|
@:noCompletion extern class WEBGL_lose_context
|
||||||
{
|
{
|
||||||
public function loseContext():Void;
|
public function loseContext():Void;
|
||||||
public function restoreContext():Void;
|
public function restoreContext():Void;
|
||||||
|
|||||||
Reference in New Issue
Block a user