Skip to main content
Version: 20 Mar 2024

MLGraphicsOptions

Module: Graphics

The graphics options provided for client creation. More...

#include <ml_graphics.h>

Public Attributes

TypeName
uint32_tgraphics_flags
MLSurfaceFormatcolor_format
MLSurfaceFormatdepth_format

Detailed Description

struct MLGraphicsOptions;

The graphics options provided for client creation.

MLGraphicsOptions defines the requested client configuration for creating GL/GLES or VK clients.

Deprecated

Deprecated since 1.6.0. Scheduled for removal.


Public Attributes Documentation

graphics_flags

uint32_t graphics_flags;

The combined graphics flags, as defined by MLGraphicsFlags.


color_format

MLSurfaceFormat color_format;
TypeDescription
MLSurfaceFormatThe definition of the supported color/depth surface formats.

The color surface format, defined in MLSurfaceFormat.


depth_format

MLSurfaceFormat depth_format;
TypeDescription
MLSurfaceFormatThe definition of the supported color/depth surface formats.

The depth surface format, defined in MLSurfaceFormat.