Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
unsafe | IndexBuffer (GraphicsDevice graphicsDevice, Type indexType, int indexCount, BufferUsage usage) |
unsafe | IndexBuffer (GraphicsDevice graphicsDevice, IndexElementSize indexElementSize, int indexCount, BufferUsage usage) |
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) |
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) |
override string | ToString () |
virtual void | Dispose () |
Protected Member Functions | |
IndexBuffer () | |
unsafe void | CopyData< T > (int offsetInBytes, T[] data, int startIndex, int elementCount, uint options, [MarshalAs(UnmanagedType.U1)] bool isSetting) |
unsafe void | CreateBuffer (uint indexCount, uint indexSize, 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 | _indexCount |
uint | _indexSize |
uint | _bufferSize |
uint | _pool |
GraphicsDevice | _parent |
Package Functions | |
virtual unsafe int | SaveDataForRecreation () |
virtual unsafe int | RecreateAndPopulateObject () |
virtual unsafe void | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
Static Package Functions | |
static unsafe IndexBuffer | GetManagedObject (IDirect3DIndexBuffer9 *pInterface, GraphicsDevice pDevice, uint pool) |
Package Attributes | |
unsafe IDirect3DIndexBuffer9 * | pComPtr |
ulong | _internalHandle |
bool | isDisposed |
Properties | |
bool | IsWriteOnly [get] |
int | IndexCount [get] |
IndexElementSize | IndexElementSize [get] |
BufferUsage | BufferUsage [get] |
bool | IsDisposed [get] |
object | Tag [get, set] |
string | Name [get, set] |
GraphicsDevice | GraphicsDevice [get] |
EventHandler< EventArgs > | Disposing |
Private Member Functions | |
unsafe | IndexBuffer (IDirect3DIndexBuffer9 *pInterface, GraphicsDevice pDevice) |
int IGraphicsResource. | SaveDataForRecreation () |
int IGraphicsResource. | RecreateAndPopulateObject () |
void IGraphicsResource. | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
void | OnObjectCreation () |
unsafe void | _0021IndexBuffer () |
void | _007EIndexBuffer () |
void | _0021GraphicsResource () |
void | _007EGraphicsResource () |
Private Attributes | |
unsafe void * | pBufferData |
string | _localName |
object | _localTag |
EventHandler< EventArgs > | _003Cbacking_store_003EDisposing |
Definition at line 8 of file IndexBuffer.cs.