Class: SDL2::Renderer::Info

Inherits:
Object
  • Object
show all
Defined in:
video.c,
video.c

Overview

This class contains information of a rendering context.

Instance Attribute Summary collapse

Instance Attribute Details

#max_texture_height ⇒ Integer (readonly)

Returns maximum texture height.

Returns:

  • (Integer) —

    maximum texture height

#max_texture_width ⇒ Integer (readonly)

Returns maximum texture width.

Returns:

  • (Integer) —

    maximum texture width

#name ⇒ String (readonly)

Returns the name of the renderer.

Returns:

  • (String) —

    the name of the renderer

#texture_formats ⇒ Array<SDL2::PixelFormat> (readonly)

Returns available texture formats.

Returns: