docs
Loading...
Searching...
No Matches
ULGPUDeviceCaps

#include <Ultralight/CAPI/CAPI_GPUDriver.h>

Overview

Optional capabilities reported by a ULGPUDriver.

The library zero-initializes this structure and passes it to your get_device_caps callback, which fills in the capabilities your driver supports. Any field left untouched reads back as zero, meaning "not supported" for a capability field and "use the library default" for a limit field. See <Ultralight/platform/GPUDriver.h> for the full field semantics.

Public Attributes

unsigned int compressed_formats
 Bitwise OR of supported ULGPUCompressedFormat values.
unsigned int supports_msaa
 Nonzero if multisampled render targets are supported.
unsigned int max_texture_dimension
 Largest texture width/height, in pixels (0 = default).
unsigned int max_msaa_samples
 Sample count for multisampled targets (0 = default).
unsigned int max_geometry_size
 Largest vertex/index buffer, in bytes (0 = default).
unsigned int supports_partial_redraw
 Nonzero if partial redraws of large targets are cheap.

Member Data Documentation

◆ compressed_formats

unsigned int compressed_formats

Bitwise OR of supported ULGPUCompressedFormat values.

◆ max_geometry_size

unsigned int max_geometry_size

Largest vertex/index buffer, in bytes (0 = default).

◆ max_msaa_samples

unsigned int max_msaa_samples

Sample count for multisampled targets (0 = default).

◆ max_texture_dimension

unsigned int max_texture_dimension

Largest texture width/height, in pixels (0 = default).

◆ supports_msaa

unsigned int supports_msaa

Nonzero if multisampled render targets are supported.

◆ supports_partial_redraw

unsigned int supports_partial_redraw

Nonzero if partial redraws of large targets are cheap.


The documentation for this struct was generated from the following file: