SetArray() public method

public SetArray ( int size ) : void
size int
return void
コード例 #1
0
        static public HlslTypeDefinition CreateArray(HlslType type, int size)
        {
            HlslTypeDefinition typedef = new HlslTypeDefinition(type);

            typedef.SetArray(size);
            return(typedef);
        }
コード例 #2
0
 static public HlslTypeDefinition CreateArray(HlslType type, int size)
 {
     HlslTypeDefinition typedef = new HlslTypeDefinition(type);
     typedef.SetArray(size);
     return typedef;
 }