Difference between revisions of "Oblivion Graphics Extender"

Jump to navigation Jump to search
389 bytes added ,  18:09, 15 February 2008
some updates from the thread
imported>DragoonWraith
(some documentation, very incomplete)
 
imported>DragoonWraith
(some updates from the thread)
Line 56: Line 56:
::"Loads an effect file. (Must be in the .fx format)"
::"Loads an effect file. (Must be in the .fx format)"


:* ApplyFullscreenShader ShaderID:int "HUD"?:bool
:* ApplyFullscreenShader ShaderID:int ShaderAffectsHUD:bool


::"Applies a fullscreen shader to oblivion"
::"Applies a fullscreen shader to oblivion. The second parameter affects whether or not the HUD is affected by the shader (in most cases it should not be)."


:* RemoveFullscreenShader ShaderID:int
:* RemoveFullscreenShader ShaderID:int
Line 81: Line 81:


* Textures
* Textures
:* (TexID:int) LoadTexture Path:string "fromFile"?:bool
:* (TexID:int) LoadTexture Path:string DoNotModify:bool


::"Loads a texture for use in shaders or HUD elements"
::"Loads a texture for use in shaders or HUD elements. If the second parameter is 0 (false), then OBGE may modify the texture's color depth if it is too high for the graphics card - if this parameter is 1 and the call is run on a computer with a card that does not support the texture's color depth, the call will fail."


:* FreeTexture TexID:int
:* FreeTexture TexID:int


::"Frees up the memory used by an obge texture"
::"Frees up the memory used by an OBGE texture"


[[Category: OBSE Plugins|Graphics extender]]
[[Category: OBSE Plugins|Graphics extender]]

Navigation menu