Skip to main content
Version: 12 Dec 2024

MLGraphicsRenderBufferInfo

Module: Graphics

Definition of a single buffer entry for all virtual cameras as defined in MLGraphicsRenderTargetsInfo. More...

#include <ml_graphics.h>

Public Attributes

TypeName
MLGraphicsRenderTargetcolor
MLGraphicsRenderTargetdepth

Detailed Description

struct MLGraphicsRenderBufferInfo;

Definition of a single buffer entry for all virtual cameras as defined in MLGraphicsRenderTargetsInfo.

Each buffer entry can contain a color / depth target and the target is valid if the handle != 0.

Note : When the client specifies the MLGraphicsFlags_NoDepth flag as part of client creation the depth targets will always be 0.

Deprecated

Deprecated since 1.6.0. Scheduled for removal.


Public Attributes Documentation

color

MLGraphicsRenderTarget color;
TypeDescription
MLGraphicsRenderTargetDefinition of a single render target defined in MLGraphicsRenderBufferInfo.

The color target for this entry.


depth

MLGraphicsRenderTarget depth;
TypeDescription
MLGraphicsRenderTargetDefinition of a single render target defined in MLGraphicsRenderBufferInfo.

The depth target for this entry.