Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NiiightmareXD/windows-capture
/ functions
Functions
251 in github.com/NiiightmareXD/windows-capture
⨍
Functions
251
◇
Types & classes
74
Method
attach_sample_requested_handlers
( media_stream_source: &MediaStreamSource, is_video_disabled: bool, is_audio_disabled:
src/encoder.rs:754
Method
bit_per_sample
Sets bits per sample.
src/encoder.rs:380
Method
buffer_crop
( &'b mut self, start_x: u32, start_y: u32, end_x: u32, end_y: u32,
src/dxgi_duplication_api.rs:532
Method
buffer_crop_with
( &'s mut self, staging: &'s mut StagingTexture, start_x: u32, start_y: u32,
src/dxgi_duplication_api.rs:611
Method
buffer_len
(&self)
windows-capture-python/src/lib.rs:707
Method
buffer_ptr
(&self)
windows-capture-python/src/lib.rs:703
Method
buffer_with
( &'s mut self, staging: &'s mut StagingTexture, )
src/dxgi_duplication_api.rs:576
Method
buffer_without_title_bar
(&'_ mut self)
src/frame.rs:228
Method
bytes_per_pixel
(self)
windows-capture-python/windows_capture/__init__.py:325
Method
bytes_per_pixel
(color_format: ColorFormat)
windows-capture-python/src/lib.rs:504
Method
bytes_per_row
(self)
windows-capture-python/windows_capture/__init__.py:329
Method
bytes_per_row
(&self)
windows-capture-python/src/lib.rs:699
Method
callback
(&self)
src/capture.rs:137
Method
channel_count
Sets number of interleaved channels.
src/encoder.rs:370
Method
color_format
(&self)
src/settings.rs:171
Method
color_format
(self)
windows-capture-python/windows_capture/__init__.py:321
Method
color_format
(&self)
windows-capture-python/src/lib.rs:694
Method
color_format_from_dxgi
(format: DXGI_FORMAT)
windows-capture-python/src/lib.rs:511
Method
color_format_to_str
(color_format: ColorFormat)
windows-capture-python/src/lib.rs:496
Method
convert_to_bgr
Converts The self.frame_buffer Pixel Type To Bgr Instead Of Bgra
windows-capture-python/windows_capture/__init__.py:58
Method
create_cached_surface
( device: &ID3D11Device, width: u32, height: u32, format: ColorFormat, )
src/encoder.rs:709
Method
crop
Crops The Frame To The Specified Region
windows-capture-python/windows_capture/__init__.py:64
Method
cursor_capture
(&self)
src/settings.rs:157
Method
default
()
src/encoder.rs:407
Method
default
()
src/settings.rs:40
Method
depth_pitch
(&self)
src/d3d11.rs:128
Method
desc
(&self)
src/frame.rs:167
Method
device
(&self)
src/dxgi_duplication_api.rs:276
Method
device_context
(&self)
src/dxgi_duplication_api.rs:284
Method
device_string
(&self)
src/monitor.rs:295
Method
dirty_regions
(&self)
src/frame.rs:107
Method
draw_border
(&self)
src/settings.rs:164
Method
drop
(&mut self)
src/graphics_capture_api.rs:497
Method
drop
(&mut self)
src/d3d11.rs:134
Method
drop
(&mut self)
src/dxgi_duplication_api.rs:412
Method
drop
(&mut self)
src/winrt.rs:18
Method
drop
(&mut self)
src/graphics_capture_picker.rs:40
Method
drop
(&mut self)
src/encoder.rs:1341
Method
drop
(&mut self)
windows-capture-python/src/lib.rs:663
Method
duplication
(&self)
src/dxgi_duplication_api.rs:291
Method
duplication_desc
(&self)
src/dxgi_duplication_api.rs:298
Method
dxgi_device
(&self)
src/dxgi_duplication_api.rs:305
Method
enum_monitors_callback
(monitor: HMONITOR, _: HDC, _: *mut RECT, vec: LPARAM)
src/monitor.rs:431
Method
enum_windows_callback
(window: HWND, vec: LPARAM)
src/window.rs:358
Method
enumerate
()
src/window.rs:312
Method
enumerate
()
src/monitor.rs:404
Method
event
Overrides The Callback Function
windows-capture-python/windows_capture/__init__.py:292
Method
flags
(&self)
src/settings.rs:178
Method
foreground
()
src/window.rs:87
Method
frame_info
(&self)
src/dxgi_duplication_api.rs:495
Method
from_contains_name
(title: &str)
src/window.rs:123
Method
from_index
(index: usize)
src/monitor.rs:140
Method
from_mapped
( mapped_texture: MappedStagingTexture<'a>, width: u32, height: u32, format: D
src/dxgi_duplication_api.rs:732
Method
from_mapped
( mapped_texture: MappedStagingTexture<'a>, width: u32, height: u32, color_for
src/frame.rs:304
Method
from_name
(title: &str)
src/window.rs:104
Method
from_raw_checked
Validate an externally constructed texture as a CPU staging texture. The texture must have been created with `D3D11_USAGE_STAGING` usage and `D3D11_CP
src/d3d11.rs:280
Method
from_raw_hmonitor
(monitor: *mut std::ffi::c_void)
src/monitor.rs:418
Method
from_raw_hwnd
(hwnd: *mut std::ffi::c_void)
src/window.rs:345
Method
halt_handle
(&self)
src/graphics_capture_api.rs:419
Method
height
Returns the height of the window in pixels. # Errors - [`Error::WindowsError`] when retrieving the window rectangle fails
src/window.rs:337
Method
height
(&self)
src/dxgi_duplication_api.rs:326
Method
height
(&self)
src/monitor.rs:387
Method
height
(self)
windows-capture-python/windows_capture/__init__.py:317
Method
index
(&self)
src/monitor.rs:163
Method
into_thread_handle
(self)
src/capture.rs:123
Method
is_border_settings_supported
()
src/graphics_capture_api.rs:441
Method
is_cursor_settings_supported
()
src/graphics_capture_api.rs:432
Method
is_dirty_region_supported
()
src/graphics_capture_api.rs:468
Method
is_finished
Checks To See If Capture Thread Is Finished
windows-capture-python/windows_capture/__init__.py:122
Method
is_finished
(&self)
windows-capture-python/src/lib.rs:64
Method
is_minimum_update_interval_supported
()
src/graphics_capture_api.rs:459
Method
is_secondary_windows_supported
()
src/graphics_capture_api.rs:450
Method
is_supported
()
src/graphics_capture_api.rs:425
Method
item
(&self)
src/settings.rs:150
Function
main
()
examples/dxgi_duplication.rs:5
Function
main
()
examples/cli.rs:279
Function
main
()
examples/graphics_capture.rs:85
Function
main
()
examples/stream_capture.rs:89
Method
map_borrowed
Maps a caller-provided staging texture after making sure it is currently unmapped.
src/d3d11.rs:85
Method
map_owned
Maps an owned staging texture.
src/d3d11.rs:80
Method
monitor
(&self)
src/window.rs:212
Method
monitor_index
(self)
windows-capture-python/windows_capture/__init__.py:402
Method
name
(&self)
src/monitor.rs:176
Method
new
(stop: Arc<AtomicBool>)
src/graphics_capture_api.rs:76
Method
new
(device: T)
src/d3d11.rs:42
Method
new
Constructs a new duplication session for the specified monitor. Internally creates a Direct3D 11 device and immediate context using the crate's d3d11
src/dxgi_duplication_api.rs:189
Method
new
Increments the current threads MTA usage.
src/winrt.rs:12
Method
new
(format: ImageFormat, pixel_format: ImageEncoderPixelFormat)
src/encoder.rs:123
Method
new
( item: T, cursor_capture_settings: CursorCaptureSettings, draw_border_settings: DrawB
src/settings.rs:125
Method
new
( thread_handle: JoinHandle<Result<(), GraphicsCaptureApiError<E>>>, halt_handle: Arc<AtomicBo
src/capture.rs:105
Method
new
( capture_frame: Direct3D11CaptureFrame, d3d_device: &'a ID3D11Device, frame_surface:
src/frame.rs:86
Method
new
Called by the library to create a new instance of the handler.
examples/cli.rs:56
Method
new
Function that will be called to create a new instance. The flags can be passed from settings.
examples/graphics_capture.rs:33
Method
new
(ctx: Context<Self::Flags>)
examples/stream_capture.rs:26
Method
new
(capture_control: CaptureControl<InnerNativeWindowsCapture, InnerNativeWindowsCaptureError>)
windows-capture-python/src/lib.rs:55
Method
new_duplication
(monitor: Monitor)
windows-capture-python/src/lib.rs:484
Method
new_from_stream
( video_settings: VideoSettingsBuilder, audio_settings: AudioSettingsBuilder, containe
src/encoder.rs:1008
Method
new_options
Constructs a new duplication session for the specified monitor, using a custom list of supported DXGI formats. This method lets callers prefer any su
src/dxgi_duplication_api.rs:219
Method
on_closed
Optional handler for when the capture item (e.g., a window) is closed.
examples/cli.rs:125
Method
on_closed
Optional handler called when the capture item (usually a window) is closed.
examples/graphics_capture.rs:78
← previous
next →
101–200 of 251, ranked by callers