Ejemplo n.º 1
0
 public extern unsafe HRESULT DrawUserPrimitives <T>(D3DPRIMITIVETYPE primitiveType, int startIndex, int primitiveCount, T[] data)
     where T : struct;
Ejemplo n.º 2
0
 /// <unmanaged>HRESULT IDirect3DDevice9::DrawPrimitiveUP([In] D3DPRIMITIVETYPE PrimitiveType,[In] unsigned int PrimitiveCount,[In] const void* pVertexStreamZeroData,[In] unsigned int VertexStreamZeroStride)</unmanaged>
 public unsafe HRESULT DrawPrimitiveUP(D3DPRIMITIVETYPE primitiveType, int primitiveCount, void *pVertexStreamZeroData, int vertexStreamZeroStride)
 {
     //calli(System.Int32(System.Void*,System.Int32,System.Int32,System.Void*,System.Int32), this._nativePointer, primitiveType, primitiveCount, (void*)vertexStreamZeroDataRef, vertexStreamZeroStride, *(*(IntPtr*)this._nativePointer + (IntPtr)83 * (IntPtr)sizeof(void*))).CheckError();
     return((HRESULT)NativeHelper.CalliInt32(83, _nativePointer, (int)primitiveType, (int)primitiveCount, (void *)pVertexStreamZeroData, (int)vertexStreamZeroStride));
 }
Ejemplo n.º 3
0
 public HRESULT DrawUserPrimitives <T>(D3DPRIMITIVETYPE primitiveType, int primitiveCount, T[] data)
     where T : struct
 {
     return(DrawUserPrimitives <T>(primitiveType, 0, primitiveCount, data));
 }
Ejemplo n.º 4
0
 /// <unmanaged>HRESULT IDirect3DDevice9::DrawPrimitive([In] D3DPRIMITIVETYPE PrimitiveType,[In] unsigned int StartVertex,[In] unsigned int PrimitiveCount)</unmanaged>
 public unsafe HRESULT DrawPrimitive(D3DPRIMITIVETYPE primitiveType, int startVertex, int primitiveCount)
 {
     //calli(System.Int32(System.Void*,System.Int32,System.Int32,System.Int32), this._nativePointer, primitiveType, startVertex, primitiveCount, *(*(IntPtr*)this._nativePointer + (IntPtr)81 * (IntPtr)sizeof(void*))).CheckError();
     return((HRESULT)NativeHelper.CalliInt32(81, _nativePointer, (int)primitiveType, (int)startVertex, (int)primitiveCount));
 }