Skip to content

ShaderOverlay ​

Provides an interface to ReShade shader effects in a target process.

Kind: Class

Namespace: ConnectorLib.Inject

Inheritance: InjectedModule

Public Constructors

ShaderOverlay(InjectConnector connector, IntPtr moduleBase)

Creates a new instance of the ConnectorLib.Inject.ShaderOverlay class.

Public Member Functions

bool

TryLoadShader(string shaderName, Action callback = null)

Attempts to load a shader into the target process.

bool

TryUnloadShader(string shaderName, Action callback = null)

Attempts to unload a shader from the target process.

bool

TrySetConfigValue(string section, string key, string value)

Attempts to set a configuration value for a ReShade shader.

bool

TryGetConfigValue(string section, string key, string out value)

Attempts to get a configuration value for a ReShade shader.

bool

TryGetGetBasePath(string out path)

Attempts to get the base path for ReShade resources in the target process.

Properties

InjectConnector

Connector

[get, ]

The connector used to interact with the target process.

ConcurrentDictionary

Shaders

[get, ]

Collection of loaded shader effects.