C# 클래스 Xenko.Core.Shaders.Ast.TypeBase

Base type for all types.
상속: Xenko.Core.Shaders.Ast.Node, IAttributes, ITypeInferencer, IQualifiers
파일 보기 프로젝트 열기: xen2/stride 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
String Xenko.Core.Shaders.Ast.ScalarType
Void Xenko.Core.Shaders.Ast.ScalarType

공개 메소드들

메소드 설명
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 ==.

보호된 메소드들

메소드 설명
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.

메소드 상세

CreateWithBaseType() 공개 정적인 메소드

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.
리턴 TypeBase

Equals() 공개 메소드

Equalses the specified other.
public Equals ( TypeBase other ) : bool
other TypeBase /// The other. ///
리턴 bool

Equals() 공개 메소드

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

GetBaseType() 공개 정적인 메소드

public static GetBaseType ( TypeBase type ) : TypeBase
type TypeBase
리턴 TypeBase

GetDimensionSize() 공개 정적인 메소드

public static GetDimensionSize ( TypeBase typeDeclaration, int dimension ) : int
typeDeclaration TypeBase
dimension int
리턴 int

GetHashCode() 공개 메소드

Returns a hash code for this instance.
public GetHashCode ( ) : int
리턴 int

HasDimensions() 공개 정적인 메소드

public static HasDimensions ( TypeBase typeDeclaration ) : bool
typeDeclaration TypeBase
리턴 bool

ResolveType() 공개 메소드

Resolves the type.
public ResolveType ( ) : TypeBase
리턴 TypeBase

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string

TypeBase() 보호된 메소드

Initializes a new instance of the TypeBase class.
protected TypeBase ( ) : System
리턴 System

TypeBase() 보호된 메소드

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. ///
리턴 System

TypeBase() 보호된 메소드

Initializes a new instance of the TypeBase class.
protected TypeBase ( string name ) : System
name string /// The name. ///
리턴 System

operator() 공개 정적인 메소드

Implements the operator ==.
public static operator ( ) : bool
리턴 bool

프로퍼티 상세

String 공개적으로 정적으로 프로퍼티

Scalar void. TODO this is not a scalar!
public static ScalarType,Xenko.Core.Shaders.Ast String
리턴 Xenko.Core.Shaders.Ast.ScalarType

Void 공개적으로 정적으로 프로퍼티

Scalar void. TODO this is not a scalar!
public static ScalarType,Xenko.Core.Shaders.Ast Void
리턴 Xenko.Core.Shaders.Ast.ScalarType