C# Class Terraria.Graphics.Shaders.ShaderData

Mostrar archivo Open project: EmuDevs/EDTerraria

Protected Properties

Property Type Description
_effectPass Microsoft.Xna.Framework.Graphics.EffectPass
_passName string
_shader Microsoft.Xna.Framework.Graphics.Effect

Public Methods

Method Description
Apply ( ) : void
ShaderData ( Effect shader, string passName ) : Microsoft.Xna.Framework.Graphics
SwapProgram ( string passName ) : void

Method Details

Apply() public method

public Apply ( ) : void
return void

ShaderData() public method

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

SwapProgram() public method

public SwapProgram ( string passName ) : void
passName string
return void

Property Details

_effectPass protected_oe property

protected EffectPass,Microsoft.Xna.Framework.Graphics _effectPass
return Microsoft.Xna.Framework.Graphics.EffectPass

_passName protected_oe property

protected string _passName
return string

_shader protected_oe property

protected Effect,Microsoft.Xna.Framework.Graphics _shader
return Microsoft.Xna.Framework.Graphics.Effect