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
/
SurfaceRenderingContext
Surface
Rendering
Context
class
SurfaceRenderingContext
(
surface
:
Surface
,
val
textureFormat
:
GPUTextureFormat
)
:
RenderingContext
Members
Constructors
Surface
Rendering
Context
Link copied to clipboard
constructor
(
surface
:
Surface
,
textureFormat
:
GPUTextureFormat
)
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