C# Class Terraria.Graphics.Shaders.ScreenShaderData

Inheritance: ShaderData
Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
Apply ( ) : void
GetSecondaryShader ( Player player ) : ScreenShaderData
ScreenShaderData ( Effect shader, string passName ) : Microsoft.Xna.Framework
ScreenShaderData ( string passName ) : Microsoft.Xna.Framework
UseColor ( Color color ) : ScreenShaderData
UseColor ( Microsoft.Xna.Framework.Vector3 color ) : ScreenShaderData
UseColor ( float r, float g, float b ) : ScreenShaderData
UseGlobalOpacity ( float opacity ) : ScreenShaderData
UseIntensity ( float intensity ) : ScreenShaderData
UseOpacity ( float opacity ) : ScreenShaderData
UseProgress ( float progress ) : ScreenShaderData
UseSecondaryColor ( Color color ) : ScreenShaderData
UseSecondaryColor ( Microsoft.Xna.Framework.Vector3 color ) : ScreenShaderData
UseSecondaryColor ( float r, float g, float b ) : ScreenShaderData
UseTargetPosition ( Vector2 position ) : ScreenShaderData

Method Details

Apply() public method

public Apply ( ) : void
return void

GetSecondaryShader() public method

public GetSecondaryShader ( Player player ) : ScreenShaderData
player Terraria.Player
return ScreenShaderData

ScreenShaderData() public method

public ScreenShaderData ( Effect shader, string passName ) : Microsoft.Xna.Framework
shader Microsoft.Xna.Framework.Graphics.Effect
passName string
return Microsoft.Xna.Framework

ScreenShaderData() public method

public ScreenShaderData ( string passName ) : Microsoft.Xna.Framework
passName string
return Microsoft.Xna.Framework

UseColor() public method

public UseColor ( Color color ) : ScreenShaderData
color Color
return ScreenShaderData

UseColor() public method

public UseColor ( Microsoft.Xna.Framework.Vector3 color ) : ScreenShaderData
color Microsoft.Xna.Framework.Vector3
return ScreenShaderData

UseColor() public method

public UseColor ( float r, float g, float b ) : ScreenShaderData
r float
g float
b float
return ScreenShaderData

UseGlobalOpacity() public method

public UseGlobalOpacity ( float opacity ) : ScreenShaderData
opacity float
return ScreenShaderData

UseIntensity() public method

public UseIntensity ( float intensity ) : ScreenShaderData
intensity float
return ScreenShaderData

UseOpacity() public method

public UseOpacity ( float opacity ) : ScreenShaderData
opacity float
return ScreenShaderData

UseProgress() public method

public UseProgress ( float progress ) : ScreenShaderData
progress float
return ScreenShaderData

UseSecondaryColor() public method

public UseSecondaryColor ( Color color ) : ScreenShaderData
color Color
return ScreenShaderData

UseSecondaryColor() public method

public UseSecondaryColor ( Microsoft.Xna.Framework.Vector3 color ) : ScreenShaderData
color Microsoft.Xna.Framework.Vector3
return ScreenShaderData

UseSecondaryColor() public method

public UseSecondaryColor ( float r, float g, float b ) : ScreenShaderData
r float
g float
b float
return ScreenShaderData

UseTargetPosition() public method

public UseTargetPosition ( Vector2 position ) : ScreenShaderData
position Vector2
return ScreenShaderData