SteamScreenshots
Swift
public struct SteamScreenshots: Sendable
Steamworks ISteamScreenshots
Access via screenshots
.
Topics
func addScreenshotToLibrary(filename: String, thumbnailFilename: String?, width: Int, height: Int) -> ScreenshotHandle
func addScreenshotToLibrary(filename: String, thumbnailFilename: String?, width: Int, height: Int) -> ScreenshotHandle
Steamworks ISteamScreenshots::AddScreenshotToLibrary()
Declaration
Swift
public func addScreenshotToLibrary(
filename: String, thumbnailFilename: String?, width: Int, height: Int
) -> ScreenshotHandle
func addVRScreenshotToLibrary(type: VRScreenshotType, filename: String, vrFilename: String) -> ScreenshotHandle
func addVRScreenshotToLibrary(type: VRScreenshotType, filename: String, vrFilename: String) -> ScreenshotHandle
Steamworks ISteamScreenshots::AddVRScreenshotToLibrary()
Declaration
Swift
public func addVRScreenshotToLibrary(
type: VRScreenshotType, filename: String, vrFilename: String
) -> ScreenshotHandle
func hookScreenshots(hook: Bool)
func hookScreenshots(hook: Bool)
Steamworks ISteamScreenshots::HookScreenshots()
Declaration
Swift
public func hookScreenshots(hook: Bool)
func isScreenshotsHooked() -> Bool
func isScreenshotsHooked() -> Bool
Steamworks ISteamScreenshots::IsScreenshotsHooked()
Declaration
Swift
public func isScreenshotsHooked() -> Bool
func setLocation(screenshot: ScreenshotHandle, location: String) -> Bool
func setLocation(screenshot: ScreenshotHandle, location: String) -> Bool
Steamworks ISteamScreenshots::SetLocation()
Declaration
Swift
public func setLocation(screenshot: ScreenshotHandle, location: String) -> Bool
func tagPublishedFile(screenshot: ScreenshotHandle, publishedFileID: PublishedFileID) -> Bool
func tagPublishedFile(screenshot: ScreenshotHandle, publishedFileID: PublishedFileID) -> Bool
Steamworks ISteamScreenshots::TagPublishedFile()
Declaration
Swift
public func tagPublishedFile(
screenshot: ScreenshotHandle, publishedFileID: PublishedFileID
) -> Bool
func tagUser(screenshot: ScreenshotHandle, steamID: SteamID) -> Bool
func tagUser(screenshot: ScreenshotHandle, steamID: SteamID) -> Bool
Steamworks ISteamScreenshots::TagUser()
Declaration
Swift
public func tagUser(screenshot: ScreenshotHandle, steamID: SteamID) -> Bool
func triggerScreenshot()
func triggerScreenshot()
Steamworks ISteamScreenshots::TriggerScreenshot()
Declaration
Swift
public func triggerScreenshot()
func writeScreenshot(rgb: UnsafeRawPointer, rgbSize: Int, width: Int, height: Int) -> ScreenshotHandle
func writeScreenshot(rgb: UnsafeRawPointer, rgbSize: Int, width: Int, height: Int) -> ScreenshotHandle
Steamworks ISteamScreenshots::WriteScreenshot()
Declaration
Swift
public func writeScreenshot(
rgb: UnsafeRawPointer, rgbSize: Int, width: Int, height: Int
) -> ScreenshotHandle