C# Class Xenko.Core.Shaders.Ast.TypeBase

Base type for all types.
Inheritance: Xenko.Core.Shaders.Ast.Node, IAttributes, ITypeInferencer, IQualifiers
Afficher le fichier Open project: xen2/stride Class Usage Examples

Méthodes publiques

Свойство Type Description
String Xenko.Core.Shaders.Ast.ScalarType
Void Xenko.Core.Shaders.Ast.ScalarType

Méthodes publiques

Méthode Description
CreateWithBaseType ( TypeBase type, Xenko.Core.Shaders.Ast.ScalarType newBaseType ) : TypeBase

Creates a type based on a new base type. If type is a matrix or vector, then the base type is changed to match the newBaseType.

Equals ( TypeBase other ) : bool

Equalses the specified other.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to this instance.

GetBaseType ( TypeBase type ) : TypeBase
GetDimensionSize ( TypeBase typeDeclaration, int dimension ) : int
GetHashCode ( ) : int

Returns a hash code for this instance.

HasDimensions ( TypeBase typeDeclaration ) : bool
ResolveType ( ) : TypeBase

Resolves the type.

ToString ( ) : string

Returns a System.String that represents this instance.

operator ( ) : bool

Implements the operator ==.

Méthodes protégées

Méthode Description
TypeBase ( ) : System

Initializes a new instance of the TypeBase class.

TypeBase ( Xenko.Core.Shaders.Ast.Identifier name ) : System

Initializes a new instance of the TypeBase class.

TypeBase ( string name ) : System

Initializes a new instance of the TypeBase class.

Method Details

CreateWithBaseType() public static méthode

Creates a type based on a new base type. If type is a matrix or vector, then the base type is changed to match the newBaseType.
public static CreateWithBaseType ( TypeBase type, Xenko.Core.Shaders.Ast.ScalarType newBaseType ) : TypeBase
type TypeBase The type.
newBaseType Xenko.Core.Shaders.Ast.ScalarType New type of the base.
Résultat TypeBase

Equals() public méthode

Equalses the specified other.
public Equals ( TypeBase other ) : bool
other TypeBase /// The other. ///
Résultat bool

Equals() public méthode

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object /// The to compare with this instance. ///
Résultat bool

GetBaseType() public static méthode

public static GetBaseType ( TypeBase type ) : TypeBase
type TypeBase
Résultat TypeBase

GetDimensionSize() public static méthode

public static GetDimensionSize ( TypeBase typeDeclaration, int dimension ) : int
typeDeclaration TypeBase
dimension int
Résultat int

GetHashCode() public méthode

Returns a hash code for this instance.
public GetHashCode ( ) : int
Résultat int

HasDimensions() public static méthode

public static HasDimensions ( TypeBase typeDeclaration ) : bool
typeDeclaration TypeBase
Résultat bool

ResolveType() public méthode

Resolves the type.
public ResolveType ( ) : TypeBase
Résultat TypeBase

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

TypeBase() protected méthode

Initializes a new instance of the TypeBase class.
protected TypeBase ( ) : System
Résultat System

TypeBase() protected méthode

Initializes a new instance of the TypeBase class.
protected TypeBase ( Xenko.Core.Shaders.Ast.Identifier name ) : System
name Xenko.Core.Shaders.Ast.Identifier /// The name. ///
Résultat System

TypeBase() protected méthode

Initializes a new instance of the TypeBase class.
protected TypeBase ( string name ) : System
name string /// The name. ///
Résultat System

operator() public static méthode

Implements the operator ==.
public static operator ( ) : bool
Résultat bool

Property Details

String public_oe static_oe property

Scalar void. TODO this is not a scalar!
public static ScalarType,Xenko.Core.Shaders.Ast String
Résultat Xenko.Core.Shaders.Ast.ScalarType

Void public_oe static_oe property

Scalar void. TODO this is not a scalar!
public static ScalarType,Xenko.Core.Shaders.Ast Void
Résultat Xenko.Core.Shaders.Ast.ScalarType