RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Function imageBitmapToGPUTexture

    • ImageBitmap 배열을 GPUTexture로 복사하여 생성합니다.

      Parameters

      • gpuDevice: GPUDevice

        GPUDevice 인스턴스

      • imageBitmaps: ImageBitmap[]

        복사할 ImageBitmap 배열 (큐브맵 등 다중 텍스처 지원)

      • textureDescriptor: GPUTextureDescriptor

        생성할 GPUTexture의 디스크립터

      • usePremultiplyAlpha: boolean = true

        프리멀티플 알파 사용 여부(기본값: true)

      Returns GPUTexture

      생성된 GPUTexture 객체