SetVector() public method

public SetVector ( int size ) : void
size int
return void
Ejemplo n.º 1
0
        // Static creation methods
        static public HlslTypeDefinition CreateVector(HlslType type, int size)
        {
            HlslTypeDefinition typedef = new HlslTypeDefinition(type);

            typedef.SetVector(size);
            return(typedef);
        }
Ejemplo n.º 2
0
 // Static creation methods
 static public HlslTypeDefinition CreateVector(HlslType type, int size)
 {
     HlslTypeDefinition typedef = new HlslTypeDefinition(type);
     typedef.SetVector(size);
     return typedef;
 }