swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

HTML_NeedsPaint_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct HTML_NeedsPaint_t

the browser has a pending paint

View source

Fields

flPageScale

the page scale factor on this page when rendered

public float flPageScale
Field Value

k_iCallback

public const int k_iCallback = 4502
Field Value

pBGRA

a pointer to the B8G8R8A8 data for this surface, valid until SteamAPI_RunCallbacks is next called

public nint pBGRA
Field Value

unBrowserHandle

the browser that needs the paint

public HHTMLBrowser unBrowserHandle
Field Value

unPageSerial

incremented on each new page load, you can use this to reject draws while navigating to new pages

public uint unPageSerial
Field Value

unScrollX

the page scroll the browser was at when this texture was rendered

public uint unScrollX
Field Value

unScrollY

the page scroll the browser was at when this texture was rendered

public uint unScrollY
Field Value

unTall

the total height of the pBGRA texture

public uint unTall
Field Value

unUpdateTall

the height of the damage rect for this update

public uint unUpdateTall
Field Value

unUpdateWide

the width of the damage rect for this update

public uint unUpdateWide
Field Value

unUpdateX

the offset in X for the damage rect for this update

public uint unUpdateX
Field Value

unUpdateY

the offset in Y for the damage rect for this update

public uint unUpdateY
Field Value

unWide

the total width of the pBGRA texture

public uint unWide
Field Value