[ Web Proxy ]
URL:
Viewing: https://developer.android.com/reference/androidx/webgpu/SType [Back]  [Original]

SType  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.

SType


public final class SType


Identifies the type of a structure in an extensible structure chain.

Summary

Constants

static final int
static final int
static final int
static final int

An extension for specifying max draw count in a render pass.

static final int

An extension for WebXR interop adapter options.

static final int

A SPIR-V shader source.

static final int

A WGSL shader source.

static final int

An extension for surface color management.

static final int

A surface created from an Android ANativeWindow.

static final int

A surface created from a CAMetalLayer.

static final int

A surface created from a Wayland wl_surface.

static final int

A surface created from a Windows HWND.

static final int

A surface created from an XCB window.

static final int

A surface created from an Xlib Window.

static final int
static final int

Public methods

static final @NonNull String
toString(int value)

Constants

CompatibilityModeLimits

public static final int CompatibilityModeLimits = 15

ExternalTextureBindingEntry

public static final int ExternalTextureBindingEntry = 14

ExternalTextureBindingLayout

public static final int ExternalTextureBindingLayout = 13

RenderPassMaxDrawCount

public static final int RenderPassMaxDrawCount = 3

An extension for specifying max draw count in a render pass.

RequestAdapterWebXROptions

public static final int RequestAdapterWebXROptions = 11

An extension for WebXR interop adapter options.

ShaderSourceSPIRV

public static final int ShaderSourceSPIRV = 1

A SPIR-V shader source.

ShaderSourceWGSL

public static final int ShaderSourceWGSL = 2

A WGSL shader source.

SurfaceColorManagement

public static final int SurfaceColorManagement = 10

An extension for surface color management.

SurfaceSourceAndroidNativeWindow

public static final int SurfaceSourceAndroidNativeWindow = 8

A surface created from an Android ANativeWindow.

SurfaceSourceMetalLayer

public static final int SurfaceSourceMetalLayer = 4

A surface created from a CAMetalLayer.

SurfaceSourceWaylandSurface

public static final int SurfaceSourceWaylandSurface = 7

A surface created from a Wayland wl_surface.

SurfaceSourceWindowsHWND

public static final int SurfaceSourceWindowsHWND = 5

A surface created from a Windows HWND.

SurfaceSourceXCBWindow

public static final int SurfaceSourceXCBWindow = 9

A surface created from an XCB window.

SurfaceSourceXlibWindow

public static final int SurfaceSourceXlibWindow = 6

A surface created from an Xlib Window.

TextureBindingViewDimension

public static final int TextureBindingViewDimension = 16

TextureComponentSwizzleDescriptor

public static final int TextureComponentSwizzleDescriptor = 12

Public methods

toString

Added in 1.0.0-alpha05
public static final @NonNull String toString(int value)

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-06-24 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-24 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page