Resource:Shadermanager: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added proposed features.)
No edit summary
Line 5: Line 5:
* Minimalistic GUI to allow for the enabling/disabling of shaders.
* Minimalistic GUI to allow for the enabling/disabling of shaders.
** Small log to allow for viewing of shader-specific errors.
** Small log to allow for viewing of shader-specific errors.
* Adoption of certain exported resources to allow shadermanager to control all the shaders on a server.
* Exported functions to allow shadermanager to function as a backend for other scripts (allowing someone else to implement their own GUI, for example).
** getShaderFromName, getAllShaders, setShaderEnabled, isShaderEnabled, isShaderCompatibleWithClient
* Adoption of certain exported functions for shaders to allow shadermanager to control all the shaders on a server.
** setShaderEnabled, isShaderEnabled
** setShaderEnabled, isShaderEnabled

Revision as of 00:49, 29 April 2012

Shadermanager is a planned resource to facilitate the managment of shaders in MTA, analogous to mapmanager for maps. This page is simply here to serve as a place to share the proposed system. To discuss, contact John on #mta.

Proposed Features

  • Adoption of a "type='shader'" standard to allow shadermanager to find all the shaders on a server.
  • Minimalistic GUI to allow for the enabling/disabling of shaders.
    • Small log to allow for viewing of shader-specific errors.
  • Exported functions to allow shadermanager to function as a backend for other scripts (allowing someone else to implement their own GUI, for example).
    • getShaderFromName, getAllShaders, setShaderEnabled, isShaderEnabled, isShaderCompatibleWithClient
  • Adoption of certain exported functions for shaders to allow shadermanager to control all the shaders on a server.
    • setShaderEnabled, isShaderEnabled