tiny.windowing.SurfaceExtent
Defined in surface.
API (7)
Actions
Public operations.
Fields and members
Public fields and members.
Source
Source: lib/windowing/src/surface.zig:11
zig
pub const Extent = struct { width: u32, height: u32, framebuffer_width: u32, framebuffer_height: u32, scale_x: f32, scale_y: f32, pub fn pixelCount(self: Extent) ?usize { return std.math.mul(usize, @as(usize, self.framebuffer_width), @as(usize, self.framebuffer_height)) catch null; }};Source: lib/windowing/src/root.zig:102
zig
pub const SurfaceExtent = surface_module.Extent;Audit
| Definitions | 2 |
|---|---|
| Public names | 4 |
| Members | 6 |
| Version | 26.7.0 |
| Revision | daab053ee433 |