blib/lib/SDL2/RendererInfo.pm untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package SDL2::RendererInfo {
2 use SDL2::Utils;
3 has name => 'opaque', # string
4 flags => 'uint32',
5 num_texture_formats => 'uint32',
6 texture_formats => 'uint32[16]',
7 max_texture_width => 'int',
8 max_texture_height => 'int';
9  
10 =encoding utf-8
11  
12 =head1 NAME
13  
14 SDL2::RendererInfo - Information on the Capabilities of a Render Driver or
15 Context
16  
17 =head1 SYNOPSIS
18  
19 use SDL2 qw[:all];
20 # TODO
21 warn $renderer->name;
22  
23 =head1 DESCRIPTION
24  
25 SDL2::RendererInfo
26  
27 =head1 Fields
28  
29 =over
30  
31 =item C<name> - the name of the renderer
32  
33 =item C<flags> - supported L<< C<:rendererFlags>|/C<:rendererFlags> >>
34  
35 =item C<num_texture_formats> - the number of available texture format
36  
37 =item C<texture_formats> - the available texture formats
38  
39 =item C<max_texture_width> - the maximum texture width
40  
41 =item C<max_texture_height> - the maximum texture height
42  
43 =back
44  
45 =head1 AUTHOR
46  
47 Sanko Robinson E<lt>sanko@cpan.orgE<gt>
48  
49 =begin stopwords
50  
51  
52  
53 =end stopwords
54  
55 =cut
56  
57 };
58 1;