Class ShaderLibrary
Creates and disposes the custom shaders owned by one scene scope.
public sealed class ShaderLibrary : IDisposable
- Inheritance
-
ShaderLibrary
- Implements
- Inherited Members
Constructors
ShaderLibrary(Game)
Creates and disposes the custom shaders owned by one scene scope.
public ShaderLibrary(Game game)
Parameters
gameGame
Methods
Create(string, string)
public ShaderProgram Create(string vertexSource, string fragmentSource)
Parameters
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()