Contents Menu Expand Light mode Dark mode Auto light/dark mode
Logo. Logo.
PowerVR Docs
Developer Forum Email Developer Support
PowerVR Tools Downloads PowerVR SDK on GitHub PowerVR Tools EULA PowerVR SDK EULA
Imagination Technologies Careers
PowerVR Supported Extensions for OpenGL ES and EGL
PowerVR Supported Extensions for OpenGL ES and EGL
  • Introduction
  • EGL Extensions
    • EGL_ANDROID_blob_cache
    • EGL_ANDROID_framebuffer_target
    • EGL_ANDROID_front_buffer_auto_refresh
    • EGL_ANDROID_image_native_buffer
    • EGL_ANDROID_native_fence_sync
    • EGL_ANDROID_presentation_time
    • EGL_ANDROID_recordable
    • EGL_EXT_buffer_age
    • EGL_EXT_create_context_robustness
    • EGL_IMG_context_priority
    • EGL_KHR_create_context
    • EGL_KHR_fence_sync
    • EGL_KHR_get_all_proc_addresses
    • EGL_KHR_gl_renderbuffer_image
    • EGL_KHR_gl_texture_2D_image
    • EGL_KHR_gl_texture_cubemap_image
    • EGL_KHR_image
    • EGL_KHR_image_base
    • EGL_KHR_image_pixmap
    • EGL_KHR_mutable_render_buffer
    • EGL_KHR_partial_update
    • EGL_KHR_surfaceless_context
    • EGL_KHR_swap_buffers_with_damage
    • EGL_KHR_wait_sync
  • OpenGL ES Extensions
    • GL_ANDROID_extension_pack_es31a
    • GL_APPLE_texture_2D_limited_npot
    • GL_APPLE_texture_format_BGRA8888
    • GL_EXT_blend_minmax
    • GL_EXT_buffer_storage
    • GL_EXT_clear_texture
    • GL_EXT_clip_control
    • GL_EXT_color_buffer_float
    • GL_EXT_compressed_ETC1_RGB8_sub_texture
    • GL_EXT_conservative_depth
    • GL_EXT_copy_image
    • GL_EXT_debug_marker
    • GL_EXT_discard_framebuffer
    • GL_EXT_draw_buffers
    • GL_EXT_draw_buffers_indexed
    • GL_EXT_draw_elements_base_vertex
    • GL_EXT_float_blend
    • GL_EXT_geometry_point_size
    • GL_EXT_geometry_shader
    • GL_EXT_gpu_shader5
    • GL_EXT_memory_object
    • GL_EXT_memory_object_fd
    • GL_EXT_multi_draw_arrays
    • GL_EXT_multisampled_render_to_texture
    • GL_EXT_multisampled_render_to_texture2
    • GL_EXT_occlusion_query_boolean
    • GL_EXT_polygon_offset_clamp
    • GL_EXT_primitive_bounding_box
    • GL_EXT_pvrtc_sRGB
    • GL_EXT_read_format_bgra
    • GL_EXT_robustness
    • GL_EXT_separate_shader_objects
    • GL_EXT_shader_framebuffer_fetch
    • GL_EXT_shader_group_vote
    • GL_EXT_shader_implicit_conversions
    • GL_EXT_shader_io_blocks
    • GL_EXT_shader_non_constant_global_initializers
    • GL_EXT_shader_pixel_local_storage
    • GL_EXT_shader_pixel_local_storage2
    • GL_EXT_shader_texture_lod
    • GL_EXT_shadow_samplers
    • GL_EXT_sparse_texture
    • GL_EXT_tessellation_point_size
    • GL_EXT_tessellation_shader
    • GL_EXT_texture_border_clamp
    • GL_EXT_texture_buffer
    • GL_EXT_texture_cube_map_array
    • GL_EXT_texture_filter_anisotropic
    • GL_EXT_texture_format_BGRA8888
    • GL_EXT_texture_format_sRGB_override
    • GL_EXT_texture_rg
    • GL_EXT_texture_shadow_lod
    • GL_EXT_texture_sRGB_decode
    • GL_EXT_texture_sRGB_R8
    • GL_EXT_texture_sRGB_RG8
    • GL_EXT_YUV_target
    • GL_IMG_bindless_texture
    • GL_IMG_framebuffer_downsample
    • GL_IMG_multisampled_render_to_texture
    • GL_IMG_polygon_offset_clamp
    • GL_IMG_program_binary
    • GL_IMG_read_format
    • GL_IMG_shader_binary
    • GL_IMG_shader_group_vote
    • GL_IMG_texture_compression_pvrtc
    • GL_IMG_texture_compression_pvrtc2
    • GL_IMG_texture_format_BGRA8888
    • GL_IMG_texture_npot
    • GL_KHR_blend_equation_advanced
    • GL_KHR_blend_equation_advanced_coherent
    • GL_KHR_debug
    • GL_KHR_robustness
    • GL_KHR_texture_compression_astc_ldr
    • GL_OES_blend_equation_separate
    • GL_OES_blend_func_separate
    • GL_OES_blend_subtract
    • GL_OES_byte_coordinates
    • GL_OES_compressed_ETC1_RGB8_texture
    • GL_OES_compressed_paletted_texture
    • GL_OES_depth_texture
    • GL_OES_depth24
    • GL_OES_draw_buffers_indexed
    • GL_OES_draw_texture
    • GL_OES_EGL_image
    • GL_OES_EGL_image_external
    • GL_OES_EGL_image_external_essl3
    • GL_OES_EGL_sync
    • GL_OES_element_index_uint
    • GL_OES_extended_matrix_palette
    • GL_OES_fixed_point
    • GL_OES_fragment_precision_high
    • GL_OES_framebuffer_object
    • GL_OES_geometry_point_size
    • GL_OES_geometry_shader
    • GL_OES_get_program_binary
    • GL_OES_gpu_shader5
    • GL_OES_mapbuffer
    • GL_OES_matrix_get
    • GL_OES_matrix_palette
    • GL_OES_packed_depth_stencil
    • GL_OES_point_size_array
    • GL_OES_point_sprite
    • GL_OES_query_matrix
    • GL_OES_read_format
    • GL_OES_required_internalformat
    • GL_OES_rgb8_rgba8
    • GL_OES_sample_shading
    • GL_OES_sample_variables
    • GL_OES_shader_image_atomic
    • GL_OES_shader_io_blocks
    • GL_OES_shader_multisample_interpolation
    • GL_OES_single_precision
    • GL_OES_standard_derivatives
    • GL_OES_stencil_wrap
    • GL_OES_stencil8
    • GL_OES_surfaceless_context
    • GL_OES_tessellation_point_size
    • GL_OES_tessellation_shader
    • GL_OES_texture_border_clamp
    • GL_OES_texture_buffer
    • GL_OES_texture_cube_map
    • GL_OES_texture_cube_map_array
    • GL_OES_texture_env_crossbar
    • GL_OES_texture_float
    • GL_OES_texture_half_float
    • GL_OES_texture_mirrored_repeat
    • GL_OES_texture_npot
    • GL_OES_texture_stencil8
    • GL_OES_texture_storage_multisample_2d_array
    • GL_OES_vertex_array_object
    • GL_OES_vertex_half_float
    • GL_OVR_multiview
    • GL_OVR_multiview_multisampled_render_to_texture
    • GL_OVR_multiview2
Back to top

GL_EXT_clear_texture#

Valid APIs#

OpenGL ES 3.1+

Description#

This extension enables developers to initialize textures directly to a desired value.

Registry Link#

https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_clear_texture.txt

Example#

float data[] = {0.0f, 0.0f, 0.0f, 1.0f};
glClearTexImageEXT(textureHandle, 0, GL_RGBA, GL_BYTE, &data);
Next
GL_EXT_clip_control
Previous
GL_EXT_buffer_storage
© Imagination Technologies Limited. All rights reserved.
Privacy Policy | Terms & Conditions
Made with Sphinx and Furo.
On this page
  • GL_EXT_clear_texture
    • Valid APIs
    • Description
    • Registry Link
    • Example