use type instead of set in ShaderDescriptorSet. example "texture rect" can run OK.
This commit is contained in:
@@ -56,7 +56,7 @@ class GPUSemaphore;
|
||||
|
||||
enum class DescriptorSetType
|
||||
{
|
||||
//设计使其对应shader中的sets
|
||||
//设计使其对应shader中的set
|
||||
|
||||
Global=0, ///<全局参数(如太阳光等)
|
||||
Material, ///<材质中永远不变的参数
|
||||
@@ -67,6 +67,8 @@ enum class DescriptorSetType
|
||||
ENUM_CLASS_RANGE(Global,Renderable)
|
||||
};//
|
||||
|
||||
const DescriptorSetType CheckDescriptorSetType(const char *str);
|
||||
|
||||
class DescriptorSetLayoutCreater;
|
||||
class DescriptorSets;
|
||||
|
||||
|
Reference in New Issue
Block a user