added GetInput at ShaderCreateInfoVertex
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include<hgl/shadergen/ShaderDescriptorInfo.h>
|
||||
#include<hgl/graph/VertexAttrib.h>
|
||||
#include<hgl/graph/VKShaderStage.h>
|
||||
#include"GLSLCompiler.h"
|
||||
|
||||
SHADERGEN_NAMESPACE_BEGIN
|
||||
|
||||
@@ -59,4 +60,9 @@ bool ShaderCreateInfoVertex::ProcInput(ShaderCreateInfo *)
|
||||
|
||||
return(true);
|
||||
}
|
||||
|
||||
const hgl::graph::ShaderAttributeArray &ShaderCreateInfoVertex::GetInput()const
|
||||
{
|
||||
return spv_data->stage_io.input;
|
||||
}
|
||||
SHADERGEN_NAMESPACE_END
|
||||
|
Reference in New Issue
Block a user