C# Class EffectEditor.EffectComponents.HLSLInformation.HlslTypeDefinition

Defines an hlsl type, making it easy to edit
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
IsArray bool
IsMatrix bool
IsVector bool
MatrixColumns int
Size int
Type HlslType

Méthodes publiques

Méthode Description
CreateArray ( HlslType type, int size ) : HlslTypeDefinition
CreateMatrix ( HlslType type, int rows, int columns ) : HlslTypeDefinition
CreateVector ( HlslType type, int size ) : HlslTypeDefinition
HlslTypeDefinition ( HlslType type ) : System
SetArray ( int size ) : void
SetMatrix ( int rows, int columns ) : void
SetVector ( int size ) : void
ToString ( ) : string

Generates a string representing this type

Method Details

CreateArray() static public méthode

static public CreateArray ( HlslType type, int size ) : HlslTypeDefinition
type HlslType
size int
Résultat HlslTypeDefinition

CreateMatrix() static public méthode

static public CreateMatrix ( HlslType type, int rows, int columns ) : HlslTypeDefinition
type HlslType
rows int
columns int
Résultat HlslTypeDefinition

CreateVector() static public méthode

static public CreateVector ( HlslType type, int size ) : HlslTypeDefinition
type HlslType
size int
Résultat HlslTypeDefinition

HlslTypeDefinition() public méthode

public HlslTypeDefinition ( HlslType type ) : System
type HlslType
Résultat System

SetArray() public méthode

public SetArray ( int size ) : void
size int
Résultat void

SetMatrix() public méthode

public SetMatrix ( int rows, int columns ) : void
rows int
columns int
Résultat void

SetVector() public méthode

public SetVector ( int size ) : void
size int
Résultat void

ToString() public méthode

Generates a string representing this type
public ToString ( ) : string
Résultat string

Property Details

IsArray public_oe property

public bool IsArray
Résultat bool

IsMatrix public_oe property

public bool IsMatrix
Résultat bool

IsVector public_oe property

public bool IsVector
Résultat bool

MatrixColumns public_oe property

public int MatrixColumns
Résultat int

Size public_oe property

public int Size
Résultat int

Type public_oe property

public HlslType Type
Résultat HlslType