Class PropertyBuffer

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

PropertyBuffer is a handle to an object that contains a buffer of structured properties.
PropertyBuffers can be used to provide data to Geometry objects.

C#
Copy
public class PropertyBuffer : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
PropertyBuffer
Implements
System.IDisposable

Constructors

View Source

PropertyBuffer(PropertyMap)

Creates a PropertyBuffer.

Declaration
C#
Copy
public PropertyBuffer(PropertyMap bufferFormat)
Parameters
Type Name Description
PropertyMap bufferFormat

The map of names and types that describes the components of the buffer.

API Level: 3

Methods

View Source

Dispose(DisposeTypes)

Dispose.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3
View Source

GetSize()

Gets the number of elements in the buffer.

Declaration
C#
Copy
public uint GetSize()
Returns
Type Description
System.UInt32

Number of elements to expand or contract the buffer.

API Level: 3
View Source

SetData(IntPtr, UInt32)

Updates the whole buffer information.
This function expects a pointer to an array of structures with the same format that was given in the construction, and the number of elements to be the same as the size of the buffer.

Declaration
C#
Copy
public void SetData(IntPtr data, uint size)
Parameters
Type Name Description
Tizen.System.IntPtr data

A pointer to the data that will be copied to the buffer.

System.UInt32 size

Number of elements to expand or contract the buffer.

API Level: 3

Implements

System.IDisposable