Struct sdl2::render::RendererBuilder [] [src]

pub struct RendererBuilder {
    // some fields omitted
}

The type that allows you to build Window-based renderers.

By default, the renderer builder will prioritize for a hardware-accelerated renderer.

Methods

impl RendererBuilder
[src]

Initializes a new RendererBuilder.

Builds the renderer.

Sets the index of the rendering driver to initialize.

Set the renderer to a software fallback.

Set the renderer to use hardware acceleration.

Synchronize renderer present with the refresh rate.

Set the renderer to support rendering to a texture.