... HLSL, or in C. struct MyStructName { float a; int b; }; MyStructName str; // single instance of the struct MyStructName arr[4]; // array of 4 instances.
確定! 回上一頁