Skip to content

GPUVertexAttribute

[<Interface>]
type GPUVertexAttribute =
    abstract member format: GPUVertexFormat with get, set
    abstract member offset: GPUSize64 with get, set
    abstract member shaderLocation: GPUIndex32 with get, set
    static member Create (format: GPUVertexFormat, offset: GPUSize64, shaderLocation: GPUIndex32) : GPUVertexAttribute
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member format: GPUVertexFormat with get, set
abstract member offset: GPUSize64 with get, set
abstract member shaderLocation: GPUIndex32 with get, set

Methods

static member Create (format: GPUVertexFormat, offset: GPUSize64, shaderLocation: GPUIndex32) : GPUVertexAttribute