MLGraphicsRenderTargetsInfo
Module: Graphics
The complete definition of all possible buffered entries along with associated metadata. More...
#include <ml_graphics.h>
Public Attributes
Type | Name |
---|---|
float | min_clip |
float | max_clip |
uint32_t | num_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 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;
Type | Description |
---|---|
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.