added comments
This commit is contained in:
parent
2c2f11f47e
commit
c229259623
@ -41,6 +41,13 @@ namespace material_file
|
||||
char filename[HGL_MAX_PATH];
|
||||
|
||||
uint32_t shader_stage_flag_bits;
|
||||
|
||||
const char *codes;
|
||||
uint code_length;
|
||||
|
||||
//为什么不使用AnsiString保存ubo shader codes ?
|
||||
// 1.MaterialFileData中使用UBODataList也就是List<UBOData>,会出现问题
|
||||
// 2.后台将所有UBO文件缓存,所以只传递过来一个char *即可
|
||||
};
|
||||
|
||||
using UBODataList=List<UBOData>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user