Class GPUSwapChainNull
Graphics Device rendering output for Null backend.
Inherited Members
GPUSwapChainNull
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Null/GPUSwapChainNull.h
Syntax
public class GPUSwapChainNull : public GPUSwapChain
Constructors
GPUSwapChainNull(Window* window)
Declaration
public GPUSwapChainNull(Window* window)
Parameters
Window
window
|
Methods
CopyBackbuffer(GPUContext* context, GPUTexture* dst)
Copies the backbuffer contents to the destination texture.
Declaration
public virtual void CopyBackbuffer(GPUContext* context, GPUTexture* dst) override
Parameters
GPUContext
context
The GPU commands context. |
GPUTexture
dst
The destination texture. It must match the output dimensions and format. No staging texture support. |
Overrides
GetBackBufferView()
Gets the view for the output back buffer texture (for the current frame rendering).
Declaration
public virtual GPUTextureView* GetBackBufferView() override
Returns
GPUTextureView
The output texture view to use. |
Overrides
IsFullscreen()
True if running in fullscreen mode.
Declaration
public virtual bool IsFullscreen() override
Returns
bool
True if is in fullscreen mode, otherwise false |
Overrides
Present(bool vsync)
Present back buffer to the output.
Declaration
public virtual void Present(bool vsync) override
Parameters
bool
vsync
True if use vertical synchronization to lock frame rate. |
Overrides
Resize(int32 width, int32 height)
Resize output back buffer.
Declaration
public virtual bool Resize(int32 width, int32 height) override
Parameters
int32
width
New output width (in pixels). |
int32
height
New output height (in pixels). |
Returns
bool
True if cannot resize the buffers, otherwise false. |
Overrides
SetFullscreen(bool isFullscreen)
Set the fullscreen state.
Declaration
public virtual void SetFullscreen(bool isFullscreen) override
Parameters
bool
isFullscreen
Fullscreen mode to apply |