Aller au contenu

TextureBindingLayout

data class TextureBindingLayout(
    val sampleType: GPUTextureSampleType = GPUTextureSampleType.Float, 
    val viewDimension: GPUTextureViewDimension = GPUTextureViewDimension.TwoD, 
    val multisampled: Boolean = false
) : GPUTextureBindingLayout
Describes the sample type, view dimension, and multisampling of a texture binding.

Constructors

TextureBindingLayout

constructor(
    sampleType: GPUTextureSampleType = GPUTextureSampleType.Float, 
    viewDimension: GPUTextureViewDimension = GPUTextureViewDimension.TwoD, 
    multisampled: Boolean = false
)

Properties

multisampled

open override val multisampled: Boolean
Indicates whether or not texture views bound to this binding must be multisampled.

sampleType

open override val sampleType: GPUTextureSampleType
Indicates the type required for texture views bound to this binding.

viewDimension

open override val viewDimension: GPUTextureViewDimension
Indicates the required dimension for texture views bound to this binding.