Data Structure Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
208
12.8.3.7 MM_BOOL HasBuffer ( ) [inline]
Returns whether or not the surface object owns the memory of the surfaces.
Note
Some member functions like CreateBuffer() allocate VRAM other function like Copy() only point to a memory buffer.
Return values
MM_TRUE
if the surface owns the buffer otherwise MM_FALSE.
12.8.3.8 operator MML_GDC_SURFACE ( ) [inline]
Get the (foreground) surfaces.
Return values
return
The surface object.
12.8.3.9 void Swap ( ) [inline]
Toggle the foreground and background buffer.
Return values
MML_OK
on success. Otherwise the related error code.
12.8.4 Field Documentation
12.8.4.1 MM_BOOL m_bHasBuffer [protected]
MM_TRUE if the buffer was allocated in this class. In this case the destructor must free the memory.
12.8.4.2 MML_GDC_SURFACE_CONTAINER m_buffer[NUM_BUFFERS] [protected]
MML_GDC_SURFACE_CONTAINER object(s) used to describe the buffers(s).
12.8.4.3 MM_U32 m_bufferIdx [protected]
The index of the current render buffer.
The documentation for this class was generated from the following file:
ut_class_surface.h