Méthode | Description | |
---|---|---|
Constant ( ) : System |
Creates an empty Constant.
|
|
Constant ( string name, string value ) : System |
Creates a Constant with the given name and value.
|
|
ToString ( ) : string |
Returns a string that represents the full constant declaration without decorations (eg GL_XXX_YYY = (int)0xDEADBEEF or GL_XXX_YYY = GL_ZZZ.FOOBAR).
|
|
Translate ( string s, bool isValue ) : string | ||
TranslateConstantWithReference ( |
Replces the Value of the given constant with the value referenced by the [c.Reference, c.Value] pair.
|
public Constant ( string name, string value ) : System | ||
name | string | The Name of the Constant. |
value | string | The Type of the Constant. |
Résultat | System |
public static Translate ( string s, bool isValue ) : string | ||
s | string | |
isValue | bool | |
Résultat | string |
public static TranslateConstantWithReference ( |
||
c | The Constant to translate | |
enums | EnumCollection | The list of enums to check. |
auxEnums | EnumCollection | The list of auxilliary enums to check. |
Résultat | bool |