Skip to content

GPURenderPassDescriptor

[<Interface>]
type GPURenderPassDescriptor =
    abstract member colorAttachments: ResizeArray<GPURenderPassColorAttachment option> with get, set
    abstract member depthStencilAttachment: GPURenderPassDepthStencilAttachment option with get, set
    abstract member maxDrawCount: GPUSize64 option with get, set
    abstract member occlusionQuerySet: GPUQuerySet option with get, set
    abstract member timestampWrites: GPURenderPassTimestampWrites option with get, set
    static member Create (colorAttachments: ResizeArray<GPURenderPassColorAttachment option>, ?label: string, ?depthStencilAttachment: GPURenderPassDepthStencilAttachment, ?maxDrawCount: GPUSize64, ?occlusionQuerySet: GPUQuerySet, ?timestampWrites: GPURenderPassTimestampWrites) : GPURenderPassDescriptor
AssemblyGlutinum.Web
Inheritsobj \| null
ImplementsGPUObjectDescriptorBase
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member colorAttachments: ResizeArray<GPURenderPassColorAttachment option> with get, set
abstract member depthStencilAttachment: GPURenderPassDepthStencilAttachment option with get, set
abstract member maxDrawCount: GPUSize64 option with get, set
abstract member occlusionQuerySet: GPUQuerySet option with get, set
abstract member timestampWrites: GPURenderPassTimestampWrites option with get, set

Methods

static member Create (colorAttachments: ResizeArray<GPURenderPassColorAttachment option>, ?label: string, ?depthStencilAttachment: GPURenderPassDepthStencilAttachment, ?maxDrawCount: GPUSize64, ?occlusionQuerySet: GPUQuerySet, ?timestampWrites: GPURenderPassTimestampWrites) : GPURenderPassDescriptor