quakeforge/libs/video/renderer/vulkan/vkgen/vkfixedarray.h
Bill Currie 8271860fb3 [vkgen] Add support for fixed arrays
I want to support reading VkPhysicalDeviceLimits but it has some arrays.
While I don't need to parse them (VkPhysicalDeviceLimits should be
treated as read-only), I do need to be able to access them in property
list expressions, and vkgen generates the cexpr type descriptors too.

However, I will probably want to parse arrays some time in the future.
2021-12-24 06:45:12 +09:00

19 lines
359 B
Objective-C

#ifndef __renderer_vulkan_vkgen_vkfixedarray_h
#define __renderer_vulkan_vkgen_vkfixedarray_h
#include <Object.h>
#include "vkgen.h"
#include "vktype.h"
@interface FixedArray: Type
{
Type *ele_type;
int ele_count;
}
-(void) writeTable;
-(void) writeSymtabInit;
-(void) writeSymtabEntry;
@end
#endif//__renderer_vulkan_vkgen_vkfixedarray_h