wgpu4k-toolkit
Toggle table of contents
0.1.1
common
Platform filter
common
Switch theme
Search in API
wgpu4k-toolkit
wgpu4k-toolkit
/
io.ygdrasil.webgpu
/
TextureRenderingContext
Texture
Rendering
Context
class
TextureRenderingContext
(
val
width
:
UInt
,
val
height
:
UInt
,
val
textureFormat
:
GPUTextureFormat
,
device
:
GPUDevice
)
:
RenderingContext
Members
Constructors
Texture
Rendering
Context
Link copied to clipboard
constructor
(
width
:
UInt
,
height
:
UInt
,
textureFormat
:
GPUTextureFormat
,
device
:
GPUDevice
)
Properties
height
Link copied to clipboard
open
override
val
height
:
UInt
texture
Format
Link copied to clipboard
open
override
val
textureFormat
:
GPUTextureFormat
width
Link copied to clipboard
open
override
val
width
:
UInt
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
get
Current
Texture
Link copied to clipboard
open
override
fun
getCurrentTexture
(
)
:
GPUTexture