|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| unsafe | DynamicVertexBuffer (GraphicsDevice graphicsDevice, Type vertexType, int vertexCount, BufferUsage usage) |
| unsafe | DynamicVertexBuffer (GraphicsDevice graphicsDevice, VertexDeclaration vertexDeclaration, int vertexCount, BufferUsage usage) |
| void | SetData< T > (T[] data, int startIndex, int elementCount, SetDataOptions options) |
| void | SetData< T > (int offsetInBytes, T[] data, int startIndex, int elementCount, int vertexStride, SetDataOptions options) |
| void | SetData< T > (T[] data) |
| void | SetData< T > (T[] data, int startIndex, int elementCount) |
| void | SetData< T > (int offsetInBytes, T[] data, int startIndex, int elementCount, int vertexStride) |
| void | GetData< T > (T[] data) |
| void | GetData< T > (T[] data, int startIndex, int elementCount) |
| void | GetData< T > (int offsetInBytes, T[] data, int startIndex, int elementCount, int vertexStride) |
| virtual void | Dispose () |
| override string | ToString () |
Protected Member Functions | |
| virtual void | raise_ContentLost (object value0, EventArgs value1) |
| unsafe void | CreateBuffer (VertexDeclaration vertexDeclaration, uint dwVertexCount, uint usage, _D3DPOOL pool) |
| override void | Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0) |
| void | raise_Disposing (object value0, EventArgs value1) |
Protected Attributes | |
| uint | _usage |
| uint | _size |
| uint | _pool |
| GraphicsDevice | _parent |
Package Functions | |
| override int | SaveDataForRecreation () |
| unsafe override int | RecreateAndPopulateObject () |
| virtual void | SetContentLost ([MarshalAs(UnmanagedType.U1)] bool isContentLost) |
| unsafe void | CopyData< T > (int offsetInBytes, T[] data, int startIndex, int elementCount, int vertexStride, uint options, [MarshalAs(UnmanagedType.U1)] bool isSetting) |
| virtual unsafe void | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
Static Package Functions | |
| static unsafe VertexBuffer | GetManagedObject (IDirect3DVertexBuffer9 *pInterface, GraphicsDevice pDevice, uint pool) |
Package Attributes | |
| bool | _contentLost |
| uint | _vertexCount |
| VertexDeclaration | _vertexDeclaration |
| unsafe IDirect3DVertexBuffer9 * | pComPtr |
| ulong | _internalHandle |
| bool | isDisposed |
Properties | |
| bool | IsContentLost [get] |
| virtual EventHandler< EventArgs > | ContentLost |
| bool | IsWriteOnly [get] |
| VertexDeclaration | VertexDeclaration [get] |
| int | VertexCount [get] |
| BufferUsage | BufferUsage [get] |
| bool | IsDisposed [get] |
| object | Tag [get, set] |
| string | Name [get, set] |
| GraphicsDevice | GraphicsDevice [get] |
| EventHandler< EventArgs > | Disposing |
Private Member Functions | |
| int IGraphicsResource. | SaveDataForRecreation () |
| int IGraphicsResource. | RecreateAndPopulateObject () |
| void IDynamicGraphicsResource. | SetContentLost ([MarshalAs(UnmanagedType.U1)] bool isContentLost) |
| void IGraphicsResource. | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
| void | OnObjectCreation () |
| unsafe void | _0021VertexBuffer () |
| void | _007EVertexBuffer () |
| void | _0021GraphicsResource () |
| void | _007EGraphicsResource () |
Private Attributes | |
| EventHandler< EventArgs > | _003Cbacking_store_003EContentLost |
| unsafe void * | pBufferData |
| string | _localName |
| object | _localTag |
| EventHandler< EventArgs > | _003Cbacking_store_003EDisposing |
Definition at line 7 of file DynamicVertexBuffer.cs.