Add WebGL extensions names
This commit is contained in:
parent
a53231e5ed
commit
e11c0eca0a
1 changed files with 30 additions and 0 deletions
|
@ -785,6 +785,36 @@ class webgl extends make {
|
||||||
]
|
]
|
||||||
return random.item(pname)
|
return random.item(pname)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static randomExtension () {
|
||||||
|
let extension = [
|
||||||
|
'ANGLE_instanced_arrays',
|
||||||
|
'EXT_blend_minmax',
|
||||||
|
'EXT_color_buffer_half_float',
|
||||||
|
'EXT_frag_depth',
|
||||||
|
'EXT_sRGB',
|
||||||
|
'EXT_shader_texture_lod',
|
||||||
|
'EXT_texture_filter_anisotropic',
|
||||||
|
'EXT_disjoint_timer_query',
|
||||||
|
'OES_element_index_uint',
|
||||||
|
'OES_standard_derivatives',
|
||||||
|
'OES_texture_float',
|
||||||
|
'OES_texture_float_linear',
|
||||||
|
'OES_texture_half_float',
|
||||||
|
'OES_texture_half_float_linear',
|
||||||
|
'OES_vertex_array_object',
|
||||||
|
'WEBGL_color_buffer_float',
|
||||||
|
'WEBGL_compressed_texture_s3tc',
|
||||||
|
'WEBGL_compressed_texture_s3tc_srgb',
|
||||||
|
'WEBGL_debug_renderer_info',
|
||||||
|
'WEBGL_debug_shaders',
|
||||||
|
'WEBGL_depth_texture',
|
||||||
|
'WEBGL_draw_buffers',
|
||||||
|
'WEBGL_lose_context'
|
||||||
|
]
|
||||||
|
|
||||||
|
return random.item(extension)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = webgl
|
module.exports = webgl
|
||||||
|
|
Loading…
Reference in a new issue