C# Class CSharpGL.UpdatingRecord

Records time when is a property is updated and uploaded.
显示文件 Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
CancelMark ( ) : void

Mark a property as uploaded(thus not need to upload it to OpenGL again).

IsMarked ( ) : bool

Indicates whether a property is needed to be uploaded to OpenGL.

Mark ( ) : void

Mark a property as updated(thus needs to be uploaded to OpenGL).

ToString ( ) : string

Sets a new value to specified filed and mark the property.

UpdatingRecord ( bool marking = false ) : System

Records time when is a property is updated and uploaded.

Method Details

CancelMark() public method

Mark a property as uploaded(thus not need to upload it to OpenGL again).
public CancelMark ( ) : void
return void

IsMarked() public method

Indicates whether a property is needed to be uploaded to OpenGL.
public IsMarked ( ) : bool
return bool

Mark() public method

Mark a property as updated(thus needs to be uploaded to OpenGL).
public Mark ( ) : void
return void

ToString() public method

Sets a new value to specified filed and mark the property.
public ToString ( ) : string
return string

UpdatingRecord() public method

Records time when is a property is updated and uploaded.
public UpdatingRecord ( bool marking = false ) : System
marking bool mark as initial state.
return System