line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package SDL2::MetalView { |
2
|
2
|
|
|
2
|
|
14
|
use SDL2::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
20
|
|
3
|
|
|
|
|
|
|
has(); |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=encoding utf-8 |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
SDL2::MetalView - A handle to a CAMetalLayer-backed NSView (OSX) or UIView |
10
|
|
|
|
|
|
|
(iOS/tvOS) |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 SYNOPSIS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
use SDL2 qw[:all]; |
15
|
|
|
|
|
|
|
# TODO: I need to whip up a quick example |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 DESCRIPTION |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 Fields |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 AUTHOR |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Sanko Robinson Esanko@cpan.orgE |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=begin stopwords |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
CAMetalLayer-backed NSView UIView |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=end stopwords |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
}; |
36
|
|
|
|
|
|
|
1; |