OpenBve.Host.RegisterTexture C# (CSharp) Méthode

RegisterTexture() public méthode

Registers a texture and returns a handle to the texture.
public RegisterTexture ( OpenBveApi texture, OpenBveApi parameters, OpenBveApi &handle ) : bool
texture OpenBveApi The texture data.
parameters OpenBveApi The parameters that specify how to process the texture.
handle OpenBveApi Receives the handle to the texture.
Résultat bool
		public override bool RegisterTexture(OpenBveApi.Textures.Texture texture, OpenBveApi.Textures.TextureParameters parameters, out OpenBveApi.Textures.TextureHandle handle) {
			texture = texture.ApplyParameters(parameters);
			handle = Textures.RegisterTexture(texture);
			return true;
		}
		

Same methods

Host::RegisterTexture ( string path, OpenBveApi parameters, OpenBveApi &handle ) : bool