Struct sdl2::render::RendererContext [] [src]

pub struct RendererContext<T> { /* fields omitted */ }

Manages what keeps a SDL_Renderer alive

When the RendererContext is dropped, it destroys the SDL_Renderer

Methods

impl<T> RendererContext<T>
[src]

[src]

Gets information about the rendering context.

[src]

Gets the raw pointer to the SDL_Renderer

[src]

Trait Implementations

impl<T> Drop for RendererContext<T>
[src]

[src]

Executes the destructor for this type. Read more