Skip to content

GPUTextureDescriptor

[<Interface>]
type GPUTextureDescriptor =
    abstract member dimension: GPUTextureDimension option with get, set
    abstract member format: GPUTextureFormat with get, set
    abstract member mipLevelCount: GPUIntegerCoordinate option with get, set
    abstract member sampleCount: GPUSize32 option with get, set
    abstract member size: GPUExtent3D with get, set
    abstract member usage: GPUTextureUsageFlags with get, set
    abstract member viewFormats: ResizeArray<GPUTextureFormat> option with get, set
    static member Create (format: GPUTextureFormat, size: GPUExtent3DDict, usage: GPUTextureUsageFlags, ?label: string, ?dimension: GPUTextureDimension, ?mipLevelCount: GPUIntegerCoordinate, ?sampleCount: GPUSize32, ?viewFormats: ResizeArray<GPUTextureFormat>) : GPUTextureDescriptor
    static member Create (format: GPUTextureFormat, size: ResizeArray<GPUIntegerCoordinate>, usage: GPUTextureUsageFlags, ?label: string, ?dimension: GPUTextureDimension, ?mipLevelCount: GPUIntegerCoordinate, ?sampleCount: GPUSize32, ?viewFormats: ResizeArray<GPUTextureFormat>) : GPUTextureDescriptor
AssemblyGlutinum.Web
Inheritsobj \| null
ImplementsGPUObjectDescriptorBase
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member dimension: GPUTextureDimension option with get, set
abstract member format: GPUTextureFormat with get, set
abstract member mipLevelCount: GPUIntegerCoordinate option with get, set
abstract member sampleCount: GPUSize32 option with get, set
abstract member size: GPUExtent3D with get, set
abstract member usage: GPUTextureUsageFlags with get, set
abstract member viewFormats: ResizeArray<GPUTextureFormat> option with get, set

Methods

static member Create (format: GPUTextureFormat, size: GPUExtent3DDict, usage: GPUTextureUsageFlags, ?label: string, ?dimension: GPUTextureDimension, ?mipLevelCount: GPUIntegerCoordinate, ?sampleCount: GPUSize32, ?viewFormats: ResizeArray<GPUTextureFormat>) : GPUTextureDescriptor
static member Create (format: GPUTextureFormat, size: ResizeArray<GPUIntegerCoordinate>, usage: GPUTextureUsageFlags, ?label: string, ?dimension: GPUTextureDimension, ?mipLevelCount: GPUIntegerCoordinate, ?sampleCount: GPUSize32, ?viewFormats: ResizeArray<GPUTextureFormat>) : GPUTextureDescriptor