added ShaderDescriptorInfo::AddStruct
This commit is contained in:
parent
641ba4431f
commit
410a386423
@ -59,6 +59,7 @@ public:
|
|||||||
bool AddInput(ShaderAttribute *);
|
bool AddInput(ShaderAttribute *);
|
||||||
bool AddOutput(ShaderAttribute *);
|
bool AddOutput(ShaderAttribute *);
|
||||||
|
|
||||||
|
void AddStruct(const AnsiString &);
|
||||||
bool AddUBO(DescriptorSetType type,const UBODescriptor *sd);
|
bool AddUBO(DescriptorSetType type,const UBODescriptor *sd);
|
||||||
bool AddSampler(DescriptorSetType type,const SamplerDescriptor *sd);
|
bool AddSampler(DescriptorSetType type,const SamplerDescriptor *sd);
|
||||||
|
|
||||||
|
@ -49,6 +49,11 @@ bool ShaderDescriptorInfo::AddOutput(ShaderAttribute *ss)
|
|||||||
return(true);
|
return(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ShaderDescriptorInfo::AddStruct(const AnsiString &name)
|
||||||
|
{
|
||||||
|
struct_list.AddUnique(name);
|
||||||
|
}
|
||||||
|
|
||||||
bool ShaderDescriptorInfo::AddUBO(DescriptorSetType type,const UBODescriptor *ubo)
|
bool ShaderDescriptorInfo::AddUBO(DescriptorSetType type,const UBODescriptor *ubo)
|
||||||
{
|
{
|
||||||
if(!ubo)
|
if(!ubo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user