Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.Texture Class Referenceabstract

Public Member Functions

override string ToString ()
 
virtual void Dispose ()
 

Protected Member Functions

unsafe void InitializeDescription (SurfaceFormat format)
 
unsafe int CreateStateWrapper ()
 
void raise_Disposing (object value0, EventArgs value1)
 
virtual void Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0)
 

Protected Attributes

SurfaceFormat _format
 
int _levelCount
 
GraphicsDevice _parent
 

Package Functions

 Texture ()
 
unsafe IDirect3DBaseTexture9 * GetComPtr ()
 
unsafe int CompareTo (Texture other)
 

Static Package Functions

static byte GetExpectedByteSizeFromFormat (_D3DFORMAT format)
 
static unsafe void GetAndValidateSizes< T > (_D3DSURFACE_DESC *pSurface, uint *pdwFormatSize, uint *pdwElementSize)
 
static unsafe void GetAndValidateRect (_D3DSURFACE_DESC *__unnamed000, uint *pdwLockWidth, uint *pdwLockHeight, Rectangle? rect)
 
static unsafe void ValidateTotalSize (_D3DSURFACE_DESC *__unnamed000, uint dwLockWidth, uint dwLockHeight, uint dwFormatSize, uint dwElementSize, uint elementCount)
 
static bool CheckCompressedTexture (_D3DFORMAT format)
 
static unsafe void CopyData< T > (void *pData, int pitch, T[] data, int dataIndex, int elementCount, _D3DSURFACE_DESC *pSurface, uint dwLockWidth, uint dwLockHeight, [MarshalAs(UnmanagedType.U1)] bool isSetting)
 
static unsafe void SwapBgr (void *pDest, void *pSrc, uint dwSize)
 
static bool IsPowerOfTwo (uint dwNumber)
 

Package Attributes

bool alreadyRecreated
 
bool isActiveRenderTarget
 
bool renderTargetContentsDirty
 
unsafe StateTrackerTexturepStateTracker
 
ulong _internalHandle
 
bool isDisposed
 

Properties

int LevelCount [get]
 
SurfaceFormat Format [get]
 
virtual bool MustClamp [get]
 
bool IsDisposed [get]
 
object Tag [get, set]
 
string Name [get, set]
 
GraphicsDevice GraphicsDevice [get]
 
EventHandler< EventArgsDisposing
 

Private Member Functions

void _0021GraphicsResource ()
 
void _007EGraphicsResource ()
 

Private Attributes

string _localName
 
object _localTag
 
EventHandler< EventArgs_003Cbacking_store_003EDisposing
 

Detailed Description

Definition at line 8 of file Texture.cs.


The documentation for this class was generated from the following file: