Skip to main content
Version: 20 Mar 2024

MLGraphicsRenderTargetsInfo

Module: Graphics

The complete definition of all possible buffered entries along with associated metadata. More...

#include <ml_graphics.h>

Public Attributes

TypeName
floatmin_clip
floatmax_clip
uint32_tnum_virtual_cameras
The total number of virtual camera for this platform, i.e (num_virtual_cameras <= MLGraphicsVirtualCameraName_Count).
MLGraphicsRenderBufferInfo[MLGraphics_BufferCount]buffers

Detailed Description

struct MLGraphicsRenderTargetsInfo;

The complete definition of all possible buffered entries along with associated metadata.

Statically defined after successfully creating the client, the MLGraphicsRenderTargetsInfo provides the definition of all of the buffered entries along with the global metadata. The client can assume that once queried the definition will not change and therefore does not need to be queried more than once at runtime.

Deprecated

Deprecated since 1.6.0. Scheduled for removal.


Public Attributes Documentation

min_clip

float min_clip;

The enforced minimum clip distance for rendering content, in meters.


max_clip

float max_clip;

The un-enforced, but recommended maximum clip distance for rendering content, in meters.


num_virtual_cameras

uint32_t num_virtual_cameras;

The total number of virtual camera for this platform, i.e (num_virtual_cameras <= MLGraphicsVirtualCameraName_Count).


buffers

MLGraphicsRenderBufferInfo[MLGraphics_BufferCount] buffers;
TypeDescription
MLGraphicsRenderBufferInfo[MLGraphics_BufferCount]Definition of a single buffer entry for all virtual cameras as defined in MLGraphicsRenderTargetsInfo. [MLGraphics_BufferCount]

The buffer entries for all virtual cameras.