TextureBindingLayout


class TextureBindingLayout


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

Summary

Public constructors

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

Public properties

Boolean

True if the texture is expected to be multisampled.

Int
Int

Public constructors

TextureBindingLayout

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

Public properties

multisampled

Added in 1.0.0-alpha01
var multisampledBoolean

True if the texture is expected to be multisampled.

sampleType

Added in 1.0.0-alpha01
var sampleTypeInt

viewDimension

Added in 1.0.0-alpha01
var viewDimensionInt