makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
Instance Methods | List of all members
CamIL_Plane Class Reference

#import <CamIL_Plane.h>

Inherits NSObject.

Instance Methods

(int) - GetSize
 
(int) - GetWidth
 
(int) - GetHeight
 
(float) - GetBytesPerPixel
 
(char) - GetByteAtIndex:
 
(void const *) - GetBuffer
 

Detailed Description

Represents an image retrieved from camera.

Method Documentation

◆ GetBuffer

- (void const *) GetBuffer

Returns a pointer to the buffer with the image data.

◆ GetByteAtIndex:

- (char) GetByteAtIndex: (int)  index

Reads byte on the given index.

Parameters
indexBuffer index to write to. Must be a valid index smaller than the plane buffer size.

◆ GetBytesPerPixel

- (float) GetBytesPerPixel

Returns bytes per pixel of image.

◆ GetHeight

- (int) GetHeight

Returns the image height.

◆ GetSize

- (int) GetSize

Returns the buffer size.

◆ GetWidth

- (int) GetWidth

Returns the image width.