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

    Class HDRTexture

    HDRTexture 클래스 지원 형식: .hdr (Radiance HDR/RGBE) 형식만 지원

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get gpuDevice(): GPUDevice

      Retrieves the GPU device associated with the current instance.

      Returns GPUDevice

      The GPU device.

    • get viewDescriptor(): {
          arrayLayerCount?: number;
          aspect?: GPUTextureAspect;
          baseArrayLayer?: number;
          baseMipLevel?: number;
          dimension?: GPUTextureViewDimension;
          format?: GPUTextureFormat;
          label?: string;
          mipLevelCount: number;
          usage?: number;
      }

      Returns {
          arrayLayerCount?: number;
          aspect?: GPUTextureAspect;
          baseArrayLayer?: number;
          baseMipLevel?: number;
          dimension?: GPUTextureViewDimension;
          format?: GPUTextureFormat;
          label?: string;
          mipLevelCount: number;
          usage?: number;
      }

      • OptionalarrayLayerCount?: number

        How many array layers, starting with GPUTextureViewDescriptor#baseArrayLayer, are accessible to the texture view.

      • Optionalaspect?: GPUTextureAspect

        Which GPUTextureAspect | aspect(s) of the texture are accessible to the texture view.

      • OptionalbaseArrayLayer?: number

        The index of the first array layer accessible to the texture view.

      • OptionalbaseMipLevel?: number

        The first (most detailed) mipmap level accessible to the texture view.

      • Optionaldimension?: GPUTextureViewDimension

        The dimension to view the texture as.

      • Optionalformat?: GPUTextureFormat

        The format of the texture view. Must be either the GPUTextureDescriptor#format of the texture or one of the GPUTextureDescriptor#viewFormats specified during its creation.

      • Optionallabel?: string

        The initial value of GPUObjectBase#label | GPUObjectBase.label.

      • mipLevelCount: number
      • Optionalusage?: number

        The allowed GPUTextureUsage | usage(s) for the texture view. Must be a subset of the GPUTexture#usage flags of the texture. If 0, defaults to the full set of GPUTexture#usage flags of the texture. Note: If the view's GPUTextureViewDescriptor#format doesn't support all of the texture's GPUTextureDescriptor#usages, the default will fail, and the view's GPUTextureViewDescriptor#usage must be specified explicitly.

    Methods