[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct2D.VertexBuffer

Class VertexBuffer

Namespace
GrapeCity.Documents.DX.Direct2D
Assembly
GcDocs.DX.Windows.dll

ID2D1VertexBuffer

[Guid("9b8b1336-00a5-4668-92b7-ced5d8bf9b7b")]
public class VertexBuffer : ComObject, IDisposable, IUnknown
Inheritance
object
VertexBuffer
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

VertexBuffer(IntPtr)

Initializes a new instance of the VertexBuffer class.

public VertexBuffer(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(EffectContext, Guid, VertexBufferProperties, CustomVertexBufferProperties)

Initializes a new instance of VertexBuffer class.

public static VertexBuffer Create(EffectContext context, Guid resourceId, VertexBufferProperties vertexBufferProperties, CustomVertexBufferProperties customVertexBufferProperties)

Parameters

context EffectContext
resourceId System.Guid
vertexBufferProperties VertexBufferProperties
customVertexBufferProperties CustomVertexBufferProperties

Returns

VertexBuffer

Map(byte[], int)

HRESULT ID2D1VertexBuffer::Map([Out, Buffer] unsigned char** data,[In] unsigned int bufferSize)

public void Map(byte[] data, int bufferSize)

Parameters

data byte[]
bufferSize int

Unmap()

HRESULT ID2D1VertexBuffer::Unmap()

public void Unmap()

Operators

explicit operator VertexBuffer(IntPtr)

Performs an explicit conversion from System.IntPtr to VertexBuffer.

public static explicit operator VertexBuffer(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

VertexBuffer