C# 클래스 EffectEditor.EffectComponents.HLSLInformation.HlslTypeDefinition

Defines an hlsl type, making it easy to edit
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsArray bool
IsMatrix bool
IsVector bool
MatrixColumns int
Size int
Type HlslType

공개 메소드들

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

메소드 상세

CreateArray() 정적인 공개 메소드

static public CreateArray ( HlslType type, int size ) : HlslTypeDefinition
type HlslType
size int
리턴 HlslTypeDefinition

CreateMatrix() 정적인 공개 메소드

static public CreateMatrix ( HlslType type, int rows, int columns ) : HlslTypeDefinition
type HlslType
rows int
columns int
리턴 HlslTypeDefinition

CreateVector() 정적인 공개 메소드

static public CreateVector ( HlslType type, int size ) : HlslTypeDefinition
type HlslType
size int
리턴 HlslTypeDefinition

HlslTypeDefinition() 공개 메소드

public HlslTypeDefinition ( HlslType type ) : System
type HlslType
리턴 System

SetArray() 공개 메소드

public SetArray ( int size ) : void
size int
리턴 void

SetMatrix() 공개 메소드

public SetMatrix ( int rows, int columns ) : void
rows int
columns int
리턴 void

SetVector() 공개 메소드

public SetVector ( int size ) : void
size int
리턴 void

ToString() 공개 메소드

Generates a string representing this type
public ToString ( ) : string
리턴 string

프로퍼티 상세

IsArray 공개적으로 프로퍼티

public bool IsArray
리턴 bool

IsMatrix 공개적으로 프로퍼티

public bool IsMatrix
리턴 bool

IsVector 공개적으로 프로퍼티

public bool IsVector
리턴 bool

MatrixColumns 공개적으로 프로퍼티

public int MatrixColumns
리턴 int

Size 공개적으로 프로퍼티

public int Size
리턴 int

Type 공개적으로 프로퍼티

public HlslType Type
리턴 HlslType