C# Class Protogame.ProtogameEffectParameter

Inheritance: IEffectParameter
ファイルを表示 Open project: RedpointGames/Protogame

Public Methods

Method Description
GetValueColor ( ) : Microsoft.Xna.Framework.Color
GetValueSingle ( ) : float
GetValueTexture2D ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetValueVector4 ( ) : Vector4
ProtogameEffectParameter ( Effect targetEffect, int index ) : Microsoft.Xna.Framework
ProtogameEffectParameter ( Effect targetEffect, string name ) : Microsoft.Xna.Framework

Method Details

GetValueColor() public method

public GetValueColor ( ) : Microsoft.Xna.Framework.Color
return Microsoft.Xna.Framework.Color

GetValueSingle() public method

public GetValueSingle ( ) : float
return float

GetValueTexture2D() public method

public GetValueTexture2D ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

GetValueVector4() public method

public GetValueVector4 ( ) : Vector4
return Microsoft.Xna.Framework.Vector4

ProtogameEffectParameter() public method

public ProtogameEffectParameter ( Effect targetEffect, int index ) : Microsoft.Xna.Framework
targetEffect Microsoft.Xna.Framework.Graphics.Effect
index int
return Microsoft.Xna.Framework

ProtogameEffectParameter() public method

public ProtogameEffectParameter ( Effect targetEffect, string name ) : Microsoft.Xna.Framework
targetEffect Microsoft.Xna.Framework.Graphics.Effect
name string
return Microsoft.Xna.Framework