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_heightInteger (readonly)

Returns maximum texture height

Returns:

  • (Integer)

    maximum texture height

#max_texture_widthInteger (readonly)

Returns maximum texture width

Returns:

  • (Integer)

    maximum texture width

#nameString (readonly)

Returns the name of the renderer

Returns:

  • (String)

    the name of the renderer

#texture_formatsArray<SDL2::PixelFormat> (readonly)

Returns available texture formats

Returns: