|
@@ -43,8 +43,11 @@ class NullDriver extends Driver {
|
|
}
|
|
}
|
|
|
|
|
|
override function getShaderInputNames() : Array<String> {
|
|
override function getShaderInputNames() : Array<String> {
|
|
- throw "TODO:getShaderInputNames";
|
|
|
|
- return null;
|
|
|
|
|
|
+ var names = [];
|
|
|
|
+ for( v in cur.vertex.data.vars )
|
|
|
|
+ if( v.kind == Input )
|
|
|
|
+ names.push(v.name);
|
|
|
|
+ return names;
|
|
}
|
|
}
|
|
|
|
|
|
override function allocTexture( t : h3d.mat.Texture ) : Texture {
|
|
override function allocTexture( t : h3d.mat.Texture ) : Texture {
|