Searched refs:renderTargetDescriptor (Results 1 – 2 of 2) sorted by relevance
29 wgpu::TextureDescriptor renderTargetDescriptor; in SetUp() local30 renderTargetDescriptor.size = {kRTSize, kRTSize}; in SetUp()31 renderTargetDescriptor.format = wgpu::TextureFormat::RGBA8Unorm; in SetUp()32 renderTargetDescriptor.usage = in SetUp()34 renderTarget = device.CreateTexture(&renderTargetDescriptor); in SetUp()
31 wgpu::TextureDescriptor renderTargetDescriptor; in SetUp() local32 renderTargetDescriptor.dimension = wgpu::TextureDimension::e2D; in SetUp()33 renderTargetDescriptor.size.width = kRTSize; in SetUp()34 renderTargetDescriptor.size.height = kRTSize; in SetUp()35 renderTargetDescriptor.size.depthOrArrayLayers = 1; in SetUp()36 renderTargetDescriptor.sampleCount = 1; in SetUp()37 renderTargetDescriptor.format = wgpu::TextureFormat::RGBA8Unorm; in SetUp()38 renderTargetDescriptor.mipLevelCount = 1; in SetUp()39 renderTargetDescriptor.usage = in SetUp()41 renderTarget = device.CreateTexture(&renderTargetDescriptor); in SetUp()