Struct egli::FrameBufferConfigRef [] [src]

pub struct FrameBufferConfigRef { /* fields omitted */ }

[EGL 1.0] Reference to frame buffer configuration.

This is not a RAII object, so nothing will be cleaned up when it is dropped.

Instead, the individual methods of this object may return errors if they are used after the display is terminated.

Methods

impl FrameBufferConfigRef
[src]

Get native config handle.

Returns the number of bits of alpha stored in the color buffer.

Calls eglGetConfigAttrib with EGL_ALPHA_SIZE attribute.

Returns the number of bits in the alpha mask buffer.

Calls eglGetConfigAttrib with EGL_ALPHA_MASK_SIZE attribute.

Returns whether color buffers can be bound to an RGB texture.

Calls eglGetConfigAttrib with EGL_BIND_TO_TEXTURE_RGB attribute.

Returns whether buffers can be bound to an RGBA texture.

Calls eglGetConfigAttrib with EGL_BIND_TO_TEXTURE_RGBA attribute.

Returns the number of bits of blue stored in the color buffer.

Calls eglGetConfigAttrib with EGL_BLUE_SIZE attribute.

Returns the depth of the color buffer. It is the sum of EGL_RED_SIZE, EGL_GREEN_SIZE, EGL_BLUE_SIZE, and EGL_ALPHA_SIZE.

Calls eglGetConfigAttrib with EGL_BUFFER_SIZE attribute.

Returns the color buffer type. Possible types are EGL_RGB_BUFFER and EGL_LUMINANCE_BUFFER.

Calls eglGetConfigAttrib with EGL_COLOR_BUFFER_TYPE attribute.

Returns the caveats for the frame buffer configuration. Possible caveat values are EGL_NONE, EGL_SLOW_CONFIG, and EGL_NON_CONFORMANT.

Calls eglGetConfigAttrib with EGL_CONFIG_CAVEAT attribute.

Returns the ID of the frame buffer configuration.

Calls eglGetConfigAttrib with EGL_CONFIG_ID attribute.

Returns a bitmask indicating which client API contexts created with respect to this config are conformant.

EGL_CONFORMANT is supported only if the EGL version is 1.3 or greater.

Calls eglGetConfigAttrib with EGL_CONFORMANT attribute.

Returns the number of bits in the depth buffer.

Calls eglGetConfigAttrib with EGL_DEPTH_SIZE attribute.

Returns the number of bits of green stored in the color buffer.

Calls eglGetConfigAttrib with EGL_GREEN_SIZE attribute.

Returns the frame buffer level. Level zero is the default frame buffer. Positive levels correspond to frame buffers that overlay the default buffer and negative levels correspond to frame buffers that underlay the default buffer.

Calls eglGetConfigAttrib with EGL_LEVEL attribute.

Returns the number of bits of luminance stored in the luminance buffer.

Calls eglGetConfigAttrib with EGL_LUMINANCE_SIZE attribute.

Returns the maximum width of a pixel buffer surface in pixels.

Calls eglGetConfigAttrib with EGL_MAX_PBUFFER_WIDTH attribute.

Returns the maximum height of a pixel buffer surface in pixels.

Calls eglGetConfigAttrib with EGL_MAX_PBUFFER_HEIGHT attribute.

Returns the maximum size of a pixel buffer surface in pixels.

Calls eglGetConfigAttrib with EGL_MAX_PBUFFER_PIXELS attribute.

Returns the maximum value that can be passed to eglSwapInterval.

Calls eglGetConfigAttrib with EGL_MAX_SWAP_INTERVAL attribute.

Returns the minimum value that can be passed to eglSwapInterval.

Calls eglGetConfigAttrib with EGL_MIN_SWAP_INTERVAL attribute.

Returns whether native rendering APIs can render into the surface.

Calls eglGetConfigAttrib with EGL_NATIVE_RENDERABLE attribute.

Returns the ID of the associated native visual.

Calls eglGetConfigAttrib with EGL_NATIVE_VISUAL_ID attribute.

Returns the type of the associated native visual.

Calls eglGetConfigAttrib with EGL_NATIVE_VISUAL_TYPE attribute.

Returns the number of bits of red stored in the color buffer.

Calls eglGetConfigAttrib with EGL_RED_SIZE attribute.

Returns a bitmask indicating the types of supported client API contexts.

Calls eglGetConfigAttrib with EGL_RENDERABLE_TYPE attribute.

Returns the number of multisample buffers.

Calls eglGetConfigAttrib with EGL_SAMPLE_BUFFERS attribute.

Returns the number of samples per pixel.

Calls eglGetConfigAttrib with EGL_SAMPLES attribute.

Returns the number of bits in the stencil buffer.

Calls eglGetConfigAttrib with EGL_STENCIL_SIZE attribute.

Returns a bitmask indicating the types of supported EGL surfaces.

Calls eglGetConfigAttrib with EGL_SURFACE_TYPE attribute.

Returns the type of supported transparency. Possible transparency values are: EGL_NONE, and EGL_TRANSPARENT_RGB.

Calls eglGetConfigAttrib with EGL_TRANSPARENT_TYPE attribute.

Returns the transparent red value.

Calls eglGetConfigAttrib with EGL_TRANSPARENT_RED_VALUE attribute.

Returns the transparent green value.

Calls eglGetConfigAttrib with EGL_TRANSPARENT_GREEN_VALUE attribute.

Returns the transparent blue value.

Calls eglGetConfigAttrib with EGL_TRANSPARENT_BLUE_VALUE attribute.

Trait Implementations

impl Copy for FrameBufferConfigRef
[src]

impl Clone for FrameBufferConfigRef
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FrameBufferConfigRef
[src]

Formats the value using the given formatter.