@gdgt/hlsl-loader
Version:
Webpack loader for using HLSL in WebGL 2.0
17 lines • 505 B
TypeScript
/**
* Converts a string to the corresponding WebGL type enum.
*
* @param type - The type string to convert.
* @returns The corresponding WebGL type enum.
* @internal
*/
export declare function toGlEnum(type: string): number;
/**
* Converts a WebGL type enum to the corresponding string.
*
* @param type - The type enum to convert.
* @returns The corresponding WebGL type string.
* @internal
*/
export declare function toGlTypeString(type: number): string;
//# sourceMappingURL=glTypes.d.ts.map