Class VertexBuffer

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    VertexBuffer is a handle to an object that contains a buffer of structured data.
    VertexBuffers can be used to provide data to Geometry objects.

    public class VertexBuffer : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
    Inheritance
    object
    BindableObject
    Element
    BaseHandle
    VertexBuffer
    Implements
    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Constructors

    View Source

    VertexBuffer(PropertyMap)

    The constructor to creates a VertexBuffer.

    Declaration
    public VertexBuffer(PropertyMap bufferFormat)
    Parameters
    Type Name Description
    PropertyMap bufferFormat

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

    Properties

    View Source

    AliveCount

    Gets the number of currently alived VertexBuffer object.

    Declaration
    public static int AliveCount { get; }
    Property Value
    Type Description
    int
    View Source

    Size

    Gets the number of elements in the buffer.

    Declaration
    public uint Size { get; }
    Property Value
    Type Description
    uint

    Methods

    View Source

    Dispose(DisposeTypes)

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)
    View Source

    GetSize()

    Gets the number of elements in the buffer.

    Declaration
    public uint GetSize()
    Returns
    Type Description
    uint

    Number of elements in the buffer.

    View Source

    ReleaseSwigCPtr(HandleRef)

    Declaration
    protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
    Parameters
    Type Name Description
    System.Runtime.InteropServices.HandleRef swigCPtr
    Overrides
    BaseHandle.ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef)
    View Source

    SetData<VertexType>(VertexType[])

    Updates the whole buffer information.
    This function expects an array of structures with the same format that was given in the construction.

    Declaration
    public void SetData<VertexType>(VertexType[] vertices) where VertexType : struct
    Parameters
    Type Name Description
    VertexType[] vertices

    The vertex data that will be copied to the buffer.

    Type Parameters
    Name Description
    VertexType

    Implements

    IDynamicResourceHandler
    INameScope
    System.IDisposable

    Extension Methods

    BindableObjectExtensions.SetBinding(BindableObject, BindableProperty, string, BindingMode, IValueConverter, string)
    NameScopeExtensions.FindByName<T>(Element, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX