- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
476 B
476 B
RHIShader::Compile
virtual bool Compile(const void* sourceData, size_t sourceSize, const char* entryPoint, const char* target) = 0;
从内存编译着色器。
参数:
sourceData- 着色器源代码指针sourceSize- 源代码大小entryPoint- 入口点函数名target- 编译目标
返回: 成功返回 true,失败返回 false
复杂度: O(n)
相关文档
- RHIShader 总览 - 返回类总览