|
Ultralight C API 2.0.0
|
#include <Ultralight/CAPI/CAPI_GPUDriver.h>
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. | |
| unsigned int compressed_formats |
Bitwise OR of supported ULGPUCompressedFormat values.
| unsigned int max_geometry_size |
Largest vertex/index buffer, in bytes (0 = default).
| unsigned int max_msaa_samples |
Sample count for multisampled targets (0 = default).
| unsigned int max_texture_dimension |
Largest texture width/height, in pixels (0 = default).
| unsigned int supports_msaa |
Nonzero if multisampled render targets are supported.
| unsigned int supports_partial_redraw |
Nonzero if partial redraws of large targets are cheap.