• Parameters

    • format: GPUTextureFormat

    Returns boolean | {
        alignment: 1;
        blend: true;
        byteCost: 1;
        resolve: true;
    } | {
        alignment: 1;
        blend: false;
        byteCost: 1;
        resolve: false;
    } | {
        alignment: 1;
        blend: true;
        byteCost: 2;
        resolve: true;
    } | {
        alignment: 1;
        blend: false;
        byteCost: 2;
        resolve: false;
    } | {
        alignment: 1;
        blend: true;
        byteCost: 8;
        resolve: true;
    } | {
        alignment: 1;
        blend: false;
        byteCost: 4;
        resolve: false;
    } | {
        alignment: 2;
        blend: false;
        byteCost: 2;
        resolve: false;
    } | {
        alignment: 2;
        blend: true;
        byteCost: 2;
        resolve: true;
    } | {
        alignment: 2;
        blend: false;
        byteCost: 4;
        resolve: false;
    } | {
        alignment: 2;
        blend: true;
        byteCost: 4;
        resolve: true;
    } | {
        alignment: 2;
        blend: false;
        byteCost: 8;
        resolve: false;
    } | {
        alignment: 2;
        blend: true;
        byteCost: 8;
        resolve: true;
    } | {
        alignment: 4;
        blend: false;
        byteCost: 4;
        resolve: false;
    } | {
        alignment: 4;
        blend: false;
        byteCost: 8;
        resolve: false;
    } | {
        alignment: 4;
        blend: false;
        byteCost: 16;
        resolve: false;
    } | {
        alignment: 4;
        blend: true;
        byteCost: 8;
        resolve: true;
    }

Generated using TypeDoc