GPUTextureViewDescriptor.Builder


class GPUTextureViewDescriptor.Builder


Builder for GPUTextureViewDescriptor.

Summary

Public constructors

Builder(usage: Int)

Public constructors

Builder

Added in 1.0.0-alpha04
Builder(usage: Int)

Public functions

setArrayLayerCount

Added in 1.0.0-alpha04
fun setArrayLayerCount(arrayLayerCount: Int): GPUTextureViewDescriptor.Builder

setAspect

Added in 1.0.0-alpha04
fun setAspect(aspect: Int): GPUTextureViewDescriptor.Builder

setBaseArrayLayer

Added in 1.0.0-alpha04
fun setBaseArrayLayer(baseArrayLayer: Int): GPUTextureViewDescriptor.Builder

setBaseMipLevel

Added in 1.0.0-alpha04
fun setBaseMipLevel(baseMipLevel: Int): GPUTextureViewDescriptor.Builder

setDimension

Added in 1.0.0-alpha04
fun setDimension(dimension: Int): GPUTextureViewDescriptor.Builder

setFormat

Added in 1.0.0-alpha04
fun setFormat(format: Int): GPUTextureViewDescriptor.Builder

setLabel

Added in 1.0.0-alpha04
fun setLabel(label: String?): GPUTextureViewDescriptor.Builder

setMipLevelCount

Added in 1.0.0-alpha04
fun setMipLevelCount(mipLevelCount: Int): GPUTextureViewDescriptor.Builder

setTextureComponentSwizzleDescriptor

Added in 1.0.0-alpha04
fun setTextureComponentSwizzleDescriptor(
    textureComponentSwizzleDescriptor: GPUTextureComponentSwizzleDescriptor?
): GPUTextureViewDescriptor.Builder