MultiCam Boards Documentation > MultiCam Documentation > MultiCam Reference > Surface Class > Surface Specification Category > Expert Level (Surface Specification) > SurfaceContext

SurfaceContext

Description

Type

Pointer

Description

Placeholder for a pointer-precision user-defined value associated with this surface

"Set" effect

Sets the surface context

"Get" effect

Returns the current surface context

Classification

Class

Surface

Category

Surface Specification

Level

Expert

Identifiers

String

SurfaceContext

C, C++

MC_SurfaceContext

.NET

MC.SurfaceContext

Numerical

32

This parameter provides a convenient way of declaring a user-defined context associated with a MultiCam surface using a pointer value. This context can be easily retrieved from the surface handle in a callback or waiting function.

Backward compatibility

It is still possible to use a 32-bit integer value instead of a pointer.