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

    Namespace Util

    다양한 유틸리티 함수와 클래스(keepLog, createUUID, uuidToUint, copyGPUBuffer, InstanceIdGenerator 등) 및 변환, 파일, 수학, 텍스처 관련 유틸리티를 제공합니다.

    각 유틸리티를 통해 공통적으로 필요한 기능(로깅, UUID 생성, 버퍼 복사, 색상 변환, 파일 처리, 수학 연산, 텍스처 처리 등)을 손쉽게 사용할 수 있습니다.

    Bound

    AABB
    OBB
    calculateGeometryAABB
    calculateMeshAABB
    calculateMeshCombinedAABB
    calculateMeshOBB

    ConvertColor

    convertHexToRgb
    convertRgbToHex

    Coordinates

    getScreenPoint
    localToWorld
    screenToWorld
    worldToLocal

    File

    getAbsoluteURL
    getFileExtension
    getFileName
    getFilePath

    Log

    keepLog

    Other

    calculateNormals
    computeViewFrustumPlanes
    copyGPUBuffer
    formatBytes
    matToEuler
    quaternionToRotationMat4
    sortTransparentObjects

    Texture

    calculateTextureByteSize
    copyToTextureArray
    getMipLevelCount
    imageBitmapToGPUTexture
    loadAndCreateBitmapImage

    UUID

    InstanceIdGenerator
    createUUID
    uuidToUint