@gdgt/hlsl-loader
Version:
Webpack loader for using HLSL in WebGL 2.0
12 lines • 537 B
TypeScript
import type { SpirvReflection } from '../types/SpirvReflection';
/**
* Recursively builds a introspection for a given type
*
* @param reflection - SPIRV-Cross reflection object to base the introspection on
* @param typeId - The type to introspect.
* @param offset - Initial buffer offset.
* @returns The introspection object.
* @internal
*/
export default function introspectionForType(reflection: Pick<SpirvReflection, 'types'>, typeId: string, offset?: number): Record<string, unknown>;
//# sourceMappingURL=unwrapType.d.ts.map