threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
5 lines • 311 B
JavaScript
export function createRenderTargetKey(op = {}) {
// colorSpace is in key because of ext_sRGB
return [op.sizeMultiplier, op.samples, op.colorSpace, op.type, op.format, op.depthBuffer, op.depthTexture, op.textureCount, op.size?.width, op.size?.height].join(';');
}
//# sourceMappingURL=RenderTarget.js.map