Struct surfman::SurfaceInfo [−][src]
pub struct SurfaceInfo { pub size: Size2D<i32>, pub id: SurfaceID, pub context_id: ContextID, pub framebuffer_object: c_uint, }
Expand description
Various data about the surface.
Fields
size: Size2D<i32>
The surface’s size, in device pixels.
id: SurfaceID
The ID of the surface. This should be globally unique for each currently-allocated surface.
context_id: ContextID
The ID of the context that this surface belongs to.
framebuffer_object: c_uint
The OpenGL framebuffer object that can be used to render to this surface.
This is only valid when the surface is actually attached to a context.
Auto Trait Implementations
impl RefUnwindSafe for SurfaceInfo
impl Send for SurfaceInfo
impl Sync for SurfaceInfo
impl Unpin for SurfaceInfo
impl UnwindSafe for SurfaceInfo