Class PropertyBuffer
Definition
- Assembly:
- Tizen.NUI.dll
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#Copypublic class PropertyBuffer : BaseHandle, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic PropertyBuffer(PropertyMap bufferFormat)
Parameters
Type | Name | Description |
---|---|---|
PropertyMap | bufferFormat | The map of names and types that describes the components of the buffer. |
Methods
Declaration
C#Copyprotected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Declaration
C#Copypublic uint GetSize()
Returns
Type | Description |
---|---|
uint | Number of elements to expand or contract the buffer. |
View Source
SetData(IntPtr, uint)
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#Copypublic 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. |
uint | size | Number of elements to expand or contract the buffer. |
Implements
System.IDisposable