Skip to content

GPURenderPassEncoder

[<Interface>]
type GPURenderPassEncoder =
    abstract member ``end`` () : unit
    abstract member beginOcclusionQuery (queryIndex: GPUSize32) : unit
    abstract member endOcclusionQuery () : unit
    abstract member executeBundles (bundles: Iterable<GPURenderBundle>) : unit
    abstract member executeBundles (bundles: ResizeArray<GPURenderBundle>) : unit
    abstract member setBlendConstant (color: Iterable<float>) : unit
    abstract member setBlendConstant (color: GPUColorDict) : unit
    abstract member setBlendConstant (color: ResizeArray<float>) : unit
    abstract member setScissorRect (x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate) : unit
    abstract member setStencilReference (reference: GPUStencilValue) : unit
    abstract member setViewport (x: float, y: float, width: float, height: float, minDepth: float, maxDepth: float) : unit
AssemblyGlutinum.Web
Inheritsobj \| null
ImplementsGPURenderCommandsMixin, GPUObjectBase, GPUDebugCommandsMixin, GPUBindingCommandsMixin
Attributes[<AllowNullLiteral>] [<Interface>] [<Global>]

Methods

abstract member ``end`` () : unit
abstract member beginOcclusionQuery (queryIndex: GPUSize32) : unit
abstract member endOcclusionQuery () : unit
abstract member executeBundles (bundles: Iterable<GPURenderBundle>) : unit
abstract member executeBundles (bundles: ResizeArray<GPURenderBundle>) : unit
abstract member setBlendConstant (color: Iterable<float>) : unit
abstract member setBlendConstant (color: GPUColorDict) : unit
abstract member setBlendConstant (color: ResizeArray<float>) : unit
abstract member setScissorRect (x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate) : unit
abstract member setStencilReference (reference: GPUStencilValue) : unit
abstract member setViewport (x: float, y: float, width: float, height: float, minDepth: float, maxDepth: float) : unit