Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
RenderTargetCube (GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage) | |
RenderTargetCube (GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat) | |
void | SetData< T > (CubeMapFace cubeMapFace, T[] data) |
void | SetData< T > (CubeMapFace cubeMapFace, T[] data, int startIndex, int elementCount) |
void | SetData< T > (CubeMapFace cubeMapFace, int level, Rectangle? rect, T[] data, int startIndex, int elementCount) |
void | GetData< T > (CubeMapFace cubeMapFace, T[] data) |
void | GetData< T > (CubeMapFace cubeMapFace, T[] data, int startIndex, int elementCount) |
void | GetData< T > (CubeMapFace cubeMapFace, int level, Rectangle? rect, T[] data, int startIndex, int elementCount) |
virtual void | Dispose () |
override string | ToString () |
Protected Member Functions | |
virtual void | raise_ContentLost (object value0, EventArgs value1) |
override void | Dispose ([MarshalAs(UnmanagedType.U1)] bool P_0) |
unsafe void | InitializeDescription (SurfaceFormat? format) |
unsafe void | InitializeDescription (SurfaceFormat format) |
unsafe void | CreateTexture (GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, uint usage, _D3DPOOL pool, SurfaceFormat format) |
unsafe int | CreateStateWrapper () |
void | raise_Disposing (object value0, EventArgs value1) |
Static Protected Member Functions | |
static void | ValidateCreationParameters (ProfileCapabilities profile, int size, SurfaceFormat format) |
Protected Attributes | |
int | _size |
bool | _shouldNotRecreate |
SurfaceFormat | _format |
int | _levelCount |
GraphicsDevice | _parent |
Package Functions | |
void | CreateRenderTarget (GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage) |
override int | SaveDataForRecreation () |
unsafe override int | RecreateAndPopulateObject () |
override void | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
virtual void | SetContentLost ([MarshalAs(UnmanagedType.U1)] bool isContentLost) |
unsafe int | CopyOrRestoreData ([MarshalAs(UnmanagedType.U1)] bool isStoring) |
unsafe void | CleanupSavedData () |
unsafe override IDirect3DBaseTexture9 * | GetComPtr () |
unsafe int | CompareTo (Texture other) |
Static Package Functions | |
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 TextureCube | GetManagedObject (IDirect3DCubeTexture9 *pInterface, GraphicsDevice pDevice, uint pool) |
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 | SwapBgr (void *pDest, void *pSrc, uint dwSize) |
static bool | IsPowerOfTwo (uint dwNumber) |
Package Attributes | |
RenderTargetHelper | helper |
bool | _contentLost |
unsafe IDirect3DCubeTexture9 * | pComPtr |
bool | alreadyRecreated |
bool | isActiveRenderTarget |
bool | renderTargetContentsDirty |
unsafe StateTrackerTexture * | pStateTracker |
ulong | _internalHandle |
bool | isDisposed |
Properties | |
bool | IsContentLost [get] |
RenderTargetUsage | RenderTargetUsage [get] |
int | MultiSampleCount [get] |
DepthFormat | DepthStencilFormat [get] |
virtual EventHandler< EventArgs > | ContentLost |
int | Size [get] |
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< EventArgs > | Disposing |
Private Member Functions | |
void | _007ERenderTargetCube () |
int IGraphicsResource. | SaveDataForRecreation () |
int IGraphicsResource. | RecreateAndPopulateObject () |
void IGraphicsResource. | ReleaseNativeObject ([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource) |
void IDynamicGraphicsResource. | SetContentLost ([MarshalAs(UnmanagedType.U1)] bool isContentLost) |
unsafe void | CopyData< T > (CubeMapFace cubeMapFace, int level, Rectangle? rect, T[] data, int startIndex, int elementCount, uint options, [MarshalAs(UnmanagedType.U1)] bool isSetting) |
void | OnObjectCreation () |
void | _0021TextureCube () |
void | _007ETextureCube () |
void | _0021GraphicsResource () |
void | _007EGraphicsResource () |
Private Attributes | |
EventHandler< EventArgs > | _003Cbacking_store_003EContentLost |
IntPtr[] | pFaceData |
string | _localName |
object | _localTag |
EventHandler< EventArgs > | _003Cbacking_store_003EDisposing |
Definition at line 8 of file RenderTargetCube.cs.