GameCreateTextureFromFile Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Creates a new texture from the specified file.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static Texture CreateTextureFromFile(
	string file
)

Parameters

file
Type: SystemString
The path to the file to create a texture from.

Return Value

Type: Texture
An instance of Texture representing the created texture.
See Also

Reference