mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-15 01:11:27 +00:00
e5932d1f92
The real reason for the delay in implementing support for pNext is I didn't know how to approach it at the time, but with the experience I've gained using and modifying vkparse, the solution turned out to be fairly simple. This allows for the use of various extensions (eg, multiview, which was used for testing, though none of the hookup is in this commit). No checking is done on the struct type being valid other than it must be of a chainable type (ie, have its own pNext).
24 lines
437 B
Objective-C
24 lines
437 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;
|
|
int write_symtab;
|
|
}
|
|
-(void) queueFieldTypes;
|
|
-(qfot_var_t *)findField:(string) fieldName;
|
|
-(void) writeTable;
|
|
-(void) writeSymtabInit;
|
|
-(void) writeSymtabEntry;
|
|
-(string) outname;
|
|
@end
|
|
|
|
#endif//__renderer_vulkan_vkgen_vkstruct_h
|