The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

SDL2::RendererInfo - Information on the Capabilities of a Render Driver or Context

SYNOPSIS

    use SDL2 qw[:renderer];
    # TODO
    warn $renderer->name;

DESCRIPTION

SDL2::RendererInfo exposes render driver information.

Fields

name - the name of the renderer
flags - Supported SDL_RendererFlags
num_texture_formats - the number of available texture format
texture_formats - the available texture formats
max_texture_width - the maximum texture width
max_texture_height - the maximum texture height

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>