[]
ID2D1VertexBuffer
[Guid("9b8b1336-00a5-4668-92b7-ced5d8bf9b7b")]
public class VertexBuffer : ComObject, IDisposable, IUnknown
Initializes a new instance of the VertexBuffer class.
public VertexBuffer(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of VertexBuffer class.
public static VertexBuffer Create(EffectContext context, Guid resourceId, VertexBufferProperties vertexBufferProperties, CustomVertexBufferProperties customVertexBufferProperties)
context
EffectContextresourceId
System.GuidvertexBufferProperties
VertexBufferPropertiescustomVertexBufferProperties
CustomVertexBufferPropertiesHRESULT ID2D1VertexBuffer::Map([Out, Buffer] unsigned char** data,[In] unsigned int bufferSize)
public void Map(byte[] data, int bufferSize)
data
byte[]bufferSize
intHRESULT ID2D1VertexBuffer::Unmap()
public void Unmap()
Performs an explicit conversion from System.IntPtr to VertexBuffer.
public static explicit operator VertexBuffer(IntPtr nativePointer)
nativePointer
System.IntPtr