GPUTextureBindingLayout


class GPUTextureBindingLayout


The required configuration for a texture binding in a bind group layout.

Summary

Public constructors

GPUTextureBindingLayout(
    sampleType: Int,
    viewDimension: Int,
    multisampled: Boolean
)

Public properties

Boolean

True if the texture is expected to be multisampled.

Int
Int

Public constructors

GPUTextureBindingLayout

Added in 1.0.0-alpha02
GPUTextureBindingLayout(
    sampleType: Int = TextureSampleType.Float,
    viewDimension: Int = TextureViewDimension._2D,
    multisampled: Boolean = false
)

Public properties

multisampled

Added in 1.0.0-alpha02
var multisampledBoolean

True if the texture is expected to be multisampled.

sampleType

Added in 1.0.0-alpha02
var sampleTypeInt

viewDimension

Added in 1.0.0-alpha02
var viewDimensionInt