GPUSurfaceDescriptor


class GPUSurfaceDescriptor


A descriptor for creating a surface, potentially extended with platform-specific options.

Summary

Public constructors

GPUSurfaceDescriptor(
    label: String?,
    surfaceColorManagement: GPUSurfaceColorManagement?,
    surfaceSourceAndroidNativeWindow: GPUSurfaceSourceAndroidNativeWindow?
)

Public properties

String?

The label for the surface.

GPUSurfaceColorManagement?

Extension for configuring surface color management options.

GPUSurfaceSourceAndroidNativeWindow?

Extension for creating a surface from an Android native window.

Public constructors

GPUSurfaceDescriptor

Added in 1.0.0-alpha02
GPUSurfaceDescriptor(
    label: String? = null,
    surfaceColorManagement: GPUSurfaceColorManagement? = null,
    surfaceSourceAndroidNativeWindow: GPUSurfaceSourceAndroidNativeWindow? = null
)

Public properties

label

Added in 1.0.0-alpha02
var labelString?

The label for the surface.

surfaceColorManagement

Added in 1.0.0-alpha02
var surfaceColorManagementGPUSurfaceColorManagement?

Extension for configuring surface color management options.

surfaceSourceAndroidNativeWindow

Added in 1.0.0-alpha02
var surfaceSourceAndroidNativeWindowGPUSurfaceSourceAndroidNativeWindow?

Extension for creating a surface from an Android native window.