C# Class Squared.Render.Material

Inheritance: IDisposable
Datei anzeigen Open project: sq/Fracture Class Usage Examples

Public Properties

Property Type Description
BeginHandlers Action[]
Effect Microsoft.Xna.Framework.Graphics.Effect
EndHandlers Action[]
MaterialID int
OwningThread Thread
OwnsEffect bool
Parameters DefaultMaterialSetEffectParameters

Protected Properties

Property Type Description
_IsDisposed bool

Public Methods

Method Description
Begin ( DeviceManager deviceManager ) : void
Clone ( ) : Material
Dispose ( ) : void
End ( DeviceManager deviceManager ) : void
Flush ( ) : void
Material ( Effect effect, string techniqueName = null, Action beginHandlers = null, Action endHandlers = null ) : System
ToString ( ) : string
WrapWithHandlers ( Action additionalBeginHandlers = null, Action additionalEndHandlers = null ) : Material

Private Methods

Method Description
CheckDevice ( DeviceManager deviceManager ) : void
Material ( ) : System

Method Details

Begin() public method

public Begin ( DeviceManager deviceManager ) : void
deviceManager DeviceManager
return void

Clone() public method

public Clone ( ) : Material
return Material

Dispose() public method

public Dispose ( ) : void
return void

End() public method

public End ( DeviceManager deviceManager ) : void
deviceManager DeviceManager
return void

Flush() public method

public Flush ( ) : void
return void

Material() public method

public Material ( Effect effect, string techniqueName = null, Action beginHandlers = null, Action endHandlers = null ) : System
effect Microsoft.Xna.Framework.Graphics.Effect
techniqueName string
beginHandlers Action
endHandlers Action
return System

ToString() public method

public ToString ( ) : string
return string

WrapWithHandlers() public method

public WrapWithHandlers ( Action additionalBeginHandlers = null, Action additionalEndHandlers = null ) : Material
additionalBeginHandlers Action
additionalEndHandlers Action
return Material

Property Details

BeginHandlers public_oe property

public Action[] BeginHandlers
return Action[]

Effect public_oe property

public Effect,Microsoft.Xna.Framework.Graphics Effect
return Microsoft.Xna.Framework.Graphics.Effect

EndHandlers public_oe property

public Action[] EndHandlers
return Action[]

MaterialID public_oe property

public int MaterialID
return int

OwningThread public_oe property

public Thread OwningThread
return Thread

OwnsEffect public_oe property

public bool OwnsEffect
return bool

Parameters public_oe property

public DefaultMaterialSetEffectParameters Parameters
return DefaultMaterialSetEffectParameters

_IsDisposed protected_oe property

protected bool _IsDisposed
return bool