• Create a GPUTexture in the specified state. A descriptor may optionally be passed; if state is 'invalid', it will be modified to add an invalid combination of usages.

    Parameters

    • t: GPUTest
    • state: "invalid" | "valid" | "destroyed"
    • Optional descriptor: Readonly<GPUBufferDescriptor>

    Returns GPUBuffer

Generated using TypeDoc