quakeforge/libs/video/renderer/vulkan/vkgen/vkstruct.h
Bill Currie 017d2c1f44 [vulkan] Refactor vkgen struct generation
The addition of data an then string support made keeping track of things
in struct's writeTable a nightmare.
2020-12-23 22:13:50 +09:00

22 lines
409 B
Objective-C

#ifndef __renderer_vulkan_vkgen_vkstruct_h
#define __renderer_vulkan_vkgen_vkstruct_h
#include <Object.h>
#include "vkgen.h"
#include "vktype.h"
@class PLItem;
@interface Struct: Type
{
string outname;
}
-(void) forEachFieldCall: (varfunc) func;
-(qfot_var_t *)findField:(string) fieldName;
-(void) writeTable;
-(void) writeSymtabInit;
-(string) outname;
@end
#endif//__renderer_vulkan_vkgen_vkstruct_h