@three.ez/instanced-mesh
Version:
Enhanced InstancedMesh with frustum culling, fast raycasting (using BVH), sorting, visibility management and more.
7 lines • 323 B
TypeScript
/**
* Patches the given shader string by adding a condition for indirect instancing support.
* @param shader The shader code to modify.
* @returns The modified shader code with the additional instancing condition.
*/
export declare function patchShader(shader: string): string;
//# sourceMappingURL=ShaderChunk.d.ts.map