GPUTexture:sampleCount 屬性
注意:此功能在 Web Workers 中可用。
sampleCount 是 GPUTexture 介面的一個只讀屬性,表示 GPUTexture 的樣本數。
此屬性透過傳入 GPUDevice.createTexture() 呼叫的描述符物件中的 sampleCount 屬性進行設定。如果省略,則預設為 1。
注意:此功能在 Web Workers 中可用。
sampleCount 是 GPUTexture 介面的一個只讀屬性,表示 GPUTexture 的樣本數。
此屬性透過傳入 GPUDevice.createTexture() 呼叫的描述符物件中的 sampleCount 屬性進行設定。如果省略,則預設為 1。