54 CreateRenderTarget(graphicsDevice, size, mipMap, preferredFormat, preferredDepthFormat, preferredMultiSampleCount, usage);
86 if (graphicsDevice ==
null)
90 graphicsDevice.
Adapter.
QueryFormat(isBackBuffer:
false, graphicsDevice.
_deviceType, graphicsDevice.
_graphicsProfile, preferredFormat, preferredDepthFormat, preferredMultiSampleCount, out var selectedFormat, out var selectedDepthFormat, out var selectedMultiSampleCount);
93 CreateTexture(graphicsDevice, size, mipMap, 1u, (_D3DPOOL)0, selectedFormat);
127 base.ReleaseNativeObject(disposeManagedResource);
158 [HandleProcessCorruptedStateExceptions]
static string DeviceCannotBeNullOnResourceCreate
bool QueryFormat([MarshalAs(UnmanagedType.U1)] bool isBackBuffer, _D3DDEVTYPE deviceType, GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount)
ProfileCapabilities _profileCapabilities
GraphicsProfile _graphicsProfile
override int SaveDataForRecreation()
virtual void SetContentLost([MarshalAs(UnmanagedType.U1)] bool isContentLost)
unsafe override int RecreateAndPopulateObject()
override void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
void _007ERenderTargetCube()
override void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
RenderTargetCube(GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
virtual EventHandler< EventArgs > ContentLost
void CreateRenderTarget(GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
virtual void raise_ContentLost(object value0, EventArgs value1)
EventHandler< EventArgs > _003Cbacking_store_003EContentLost
RenderTargetCube(GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
DepthFormat DepthStencilFormat
RenderTargetHelper helper
unsafe void CreateSurfaces(GraphicsDevice graphicsDevice)
unsafe void ReleaseNativeObject()
unsafe void CreateTexture(GraphicsDevice graphicsDevice, int size, [MarshalAs(UnmanagedType.U1)] bool mipMap, uint usage, _D3DPOOL pool, SurfaceFormat format)
static void ValidateCreationParameters(ProfileCapabilities profile, int size, SurfaceFormat format)
unsafe IDirect3DCubeTexture9 * pComPtr
static ? Delegate Remove(Delegate? source, Delegate? value)
static ? Delegate Combine(Delegate? a, Delegate? b)
static readonly EventArgs Empty
void SetContentLost([MarshalAs(UnmanagedType.U1)] bool isContentLost)
void ReleaseNativeObject([MarshalAs(UnmanagedType.U1)] bool disposeManagedResource)
int RecreateAndPopulateObject()
int SaveDataForRecreation()