OpenBve.Textures.Texture.Texture C# (CSharp) Method

Texture() private method

Creates a new texture.
private Texture ( string path, OpenBveApi parameters ) : System
path string The path to the texture.
parameters OpenBveApi The parameters that specify how to process the texture.
return System
			internal Texture(string path, OpenBveApi.Textures.TextureParameters parameters) {
				this.Origin = new PathOrigin(path, parameters);
				this.OpenGlTextures = new OpenGlTexture[] { new OpenGlTexture(), new OpenGlTexture(), new OpenGlTexture(), new OpenGlTexture() };
			}
			/// <summary>Creates a new texture.</summary>

Same methods

Textures.Texture::Texture ( Bitmap bitmap ) : System
Textures.Texture::Texture ( Bitmap bitmap, OpenBveApi parameters ) : System
Textures.Texture::Texture ( OpenBveApi texture ) : System