Search Results for

    Show / Hide Table of Contents

    Class GPUSwapChainNull

    Graphics Device rendering output for Null backend.

    Inheritance
    Object
    ScriptingObject
    GPUResource
    GPUSwapChain
    GPUSwapChainNull
    Inherited Members
    GPUSwapChain::_downloadTask
    GPUSwapChain::_format
    ScriptingObject::_gcHandle
    GPUSwapChain::_height
    ScriptingObject::_id
    GPUResource::_memoryUsage
    GPUResource::_nameCapacity
    GPUResource::_namePtr
    GPUResource::_nameSize
    GPUSwapChain::_presentCount
    ScriptingObject::_type
    GPUSwapChain::_width
    GPUSwapChain::_window
    GPUSwapChain::Begin(RenderTask* task)
    ScriptingObject::CanCast(const ScriptingTypeHandle& from, const ScriptingTypeHandle& to)
    ScriptingObject::CanCast(const MClass* from, const MClass* to)
    ScriptingObject::Cast(ScriptingObject* obj)
    ScriptingObject::ChangeID(const Guid& newId)
    ScriptingObject::CreateManaged()
    ScriptingObject::CreateManagedInternal()
    ScriptingObject::Deleted
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    ScriptingObject::DestroyManaged()
    GPUSwapChain::DownloadDataAsync(TextureData& result)
    GPUSwapChain::End(RenderTask* task)
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    GPUSwapChain::GetAspectRatio()
    ScriptingObject::GetClass()
    GPUSwapChain::GetFormat()
    GPUSwapChain::GetHeight()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    GPUResource::GetMemoryUsage()
    GPUResource::GetName()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUSwapChain::GetPresentCount()
    GPUSwapChain::GetResourceType()
    GPUSwapChain::GetSize()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUSwapChain::GetWidth()
    GPUSwapChain::GetWindow()
    GPUResource::GPUResource()
    GPUResource::GPUResource(const SpawnParams& params)
    GPUSwapChain::GPUSwapChain()
    ScriptingObject::HasManagedInstance()
    ScriptingObject::Is(const ScriptingTypeHandle& type)
    ScriptingObject::Is(const MClass* type)
    ScriptingObject::Is()
    GPUSwapChain::IsReady()
    ScriptingObject::IsRegistered()
    GPUResource::LastRenderTime
    ScriptingObject::NewObject(const ScriptingTypeHandle& typeHandle)
    ScriptingObject::NewObject()
    GPUResource::OnDeleteObject()
    GPUResource::OnDeviceDispose()
    ScriptingObject::OnManagedInstanceDeleted()
    GPUResource::OnReleaseGPU()
    ScriptingObject::OnScriptingDispose()
    ScriptingObject::RegisterObject()
    GPUResource::ReleaseGPU()
    GPUResource::Releasing
    ScriptingObject::ScriptingObject(const SpawnParams& params)
    ScriptingObject::SetManagedInstance(MObject* instance)
    GPUResource::SetName(const StringView& name)
    GPUSwapChainNull
    ScriptingObject::ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::ToInterface(ScriptingObject* obj)
    ScriptingObject::ToManaged(const ScriptingObject* obj)
    ScriptingObject::ToNative(MObject* obj)
    GPUSwapChain::ToString()
    ScriptingObject::UnregisterObject()
    GPUResource::~GPUResource()
    Object::~Object()
    ScriptingObject::~ScriptingObject()
    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
    GPUSwapChain::CopyBackbuffer(GPUContext* context, GPUTexture* dst)

    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
    GPUSwapChain::GetBackBufferView()

    IsFullscreen()

    True if running in fullscreen mode.

    Declaration
    public virtual bool IsFullscreen() override
    Returns
    bool

    True if is in fullscreen mode, otherwise false

    Overrides
    GPUSwapChain::IsFullscreen()

    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
    GPUSwapChain::Present(bool vsync)

    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
    GPUSwapChain::Resize(int32 width, int32 height)

    SetFullscreen(bool isFullscreen)

    Set the fullscreen state.

    Declaration
    public virtual void SetFullscreen(bool isFullscreen) override
    Parameters
    bool isFullscreen

    Fullscreen mode to apply

    Overrides
    GPUSwapChain::SetFullscreen(bool isFullscreen)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat