Search Results for

    Show / Hide Table of Contents

    Class GPUDeviceNull

    Implementation of Graphics Device for Null backend.

    Inheritance
    Object
    ScriptingObject
    GPUDevice
    GPUDeviceNull
    Inherited Members
    GPUDevice::_drawGpuEventIndex
    GPUDevice::_featureLevel
    ScriptingObject::_gcHandle
    ScriptingObject::_id
    GPUDevice::_isRendering
    GPUDevice::_rendererType
    GPUDevice::_res
    GPUDevice::_resources
    GPUDevice::_resourcesLock
    GPUDevice::_shaderProfile
    GPUDevice::_state
    ScriptingObject::_type
    GPUDevice::_wasVSyncUsed
    GPUDevice::AddResource(GPUResource* resource)
    ScriptingObject::CanCast(const ScriptingTypeHandle& from, const ScriptingTypeHandle& to)
    ScriptingObject::CanCast(const MClass* from, const MClass* to)
    GPUDevice::CanDraw()
    ScriptingObject::Cast(ScriptingObject* obj)
    ScriptingObject::ChangeID(const Guid& newId)
    ScriptingObject::CreateManaged()
    ScriptingObject::CreateManagedInternal()
    GPUDevice::CreateTasksContext()
    GPUDevice::CreateTasksExecutor()
    GPUDevice::CreateVertexLayout(const Array<struct VertexElement, FixedAllocation<GPU_MAX_VS_ELEMENTS>>& elements, bool explicitOffsets=false)
    GPUDevice::CurrentTask
    ScriptingObject::Deleted
    Object::DeleteObject(float timeToLive = 0.0f, bool useGameTime=false)
    Object::DeleteObjectNow()
    ScriptingObject::DestroyManaged()
    GPUDeviceNull
    GPUDevice::DrawBegin()
    GPUDevice::DrawEnd()
    GPUDevice::DumpResourcesToLog()
    GPUDevice::FeaturesPerFormat[static_cast<int32>(PixelFormat::MAX)
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    ScriptingObject::GetClass()
    GPUDevice::GetClearPS()
    GPUDevice::GetCopyLinearPS()
    GPUDevice::GetDecodeNV12PS()
    GPUDevice::GetDecodeYUY2PS()
    GPUDevice::GetDefaultBlackTexture()
    GPUDevice::GetDefaultDeformableMaterial()
    GPUDevice::GetDefaultMaterial()
    GPUDevice::GetDefaultNormalMap()
    GPUDevice::GetDefaultWhiteTexture()
    GPUDevice::GetFeatureLevel()
    GPUDevice::GetFormatFeatures(const PixelFormat format)
    GPUDevice::GetFullscreenTriangleVB()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    GPUDevice::GetMemoryUsage()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUDevice::GetRendererType()
    GPUDevice::GetResources()
    GPUDevice::GetShaderProfile()
    GPUDevice::GetState()
    GPUDevice::GetTasksManager()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUDevice::GPUDevice(RendererType type, ShaderProfile profile)
    ScriptingObject::HasManagedInstance()
    GPUDevice::Instance
    ScriptingObject::Is(const ScriptingTypeHandle& type)
    ScriptingObject::Is(const MClass* type)
    ScriptingObject::Is()
    GPUDevice::IsDebugToolAttached
    ScriptingObject::IsRegistered()
    GPUDevice::IsRendering()
    GPUDevice::Limits
    GPUDevice::Locker
    ScriptingObject::NewObject(const ScriptingTypeHandle& typeHandle)
    ScriptingObject::NewObject()
    ScriptingObject::OnDeleteObject()
    ScriptingObject::OnManagedInstanceDeleted()
    GPUDevice::OnRequestingExit()
    ScriptingObject::OnScriptingDispose()
    GPUDevice::preDispose()
    GPUDevice::QuadShader
    ScriptingObject::RegisterObject()
    GPUDevice::RemoveResource(GPUResource* resource)
    GPUDevice::RenderBegin()
    GPUDevice::RenderEnd()
    ScriptingObject::ScriptingObject(const SpawnParams& params)
    ScriptingObject::SetManagedInstance(MObject* instance)
    GPUDeviceNull
    ScriptingObject::ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::ToInterface(ScriptingObject* obj)
    ScriptingObject::ToManaged(const ScriptingObject* obj)
    ScriptingObject::ToNative(MObject* obj)
    ScriptingObject::ToString()
    GPUDevice::TotalGraphicsMemory
    ScriptingObject::UnregisterObject()
    GPUDeviceNull
    GPUDevice::VideoOutputModes
    GPUDevice::WasVSyncUsed()
    GPUDevice::~GPUDevice()
    Object::~Object()
    ScriptingObject::~ScriptingObject()
    Assembly: FlaxEngine.dll
    File: Engine/GraphicsDevice/Null/GPUDeviceNull.h
    Syntax
    public class GPUDeviceNull : public GPUDevice

    Constructors

    ~GPUDeviceNull()

    Declaration
    public ~GPUDeviceNull()

    GPUDeviceNull()

    Declaration
    public GPUDeviceNull()

    Methods

    Create()

    Declaration
    public static GPUDevice* Create()
    Returns
    GPUDevice

    CreateBuffer(const StringView& name)

    Creates the buffer.

    Declaration
    public virtual GPUBuffer* CreateBuffer(const StringView& name) override
    Parameters
    StringView name

    The resource name.

    Returns
    GPUBuffer

    The buffer.

    Overrides
    GPUDevice::CreateBuffer(const StringView& name=StringView::Empty)

    CreateConstantBuffer(uint32 size, const StringView& name)

    Creates the constant buffer.

    Declaration
    public virtual GPUConstantBuffer* CreateConstantBuffer(uint32 size, const StringView& name) override
    Parameters
    uint32 size

    The buffer size (in bytes).

    StringView name

    The resource name.

    Returns
    GPUConstantBuffer

    The constant buffer.

    Overrides
    GPUDevice::CreateConstantBuffer(uint32 size, const StringView& name=StringView::Empty)

    CreatePipelineState()

    Creates the GPU pipeline state object.

    Declaration
    public virtual GPUPipelineState* CreatePipelineState() override
    Returns
    GPUPipelineState

    The pipeline state.

    Overrides
    GPUDevice::CreatePipelineState()

    CreateSampler()

    Creates the texture sampler.

    Declaration
    public virtual GPUSampler* CreateSampler() override
    Returns
    GPUSampler

    The sampler.

    Overrides
    GPUDevice::CreateSampler()

    CreateShader(const StringView& name)

    Creates the shader.

    Declaration
    public virtual GPUShader* CreateShader(const StringView& name) override
    Parameters
    StringView name

    The resource name.

    Returns
    GPUShader

    The shader.

    Overrides
    GPUDevice::CreateShader(const StringView& name=StringView::Empty)

    CreateSwapChain(Window* window)

    Creates the native window swap chain.

    Declaration
    public virtual GPUSwapChain* CreateSwapChain(Window* window) override
    Parameters
    Window window

    The output window.

    Returns
    GPUSwapChain

    The native window swap chain.

    Overrides
    GPUDevice::CreateSwapChain(Window* window)

    CreateTexture(const StringView& name)

    Creates the texture.

    Declaration
    public virtual GPUTexture* CreateTexture(const StringView& name) override
    Parameters
    StringView name

    The resource name.

    Returns
    GPUTexture

    The texture.

    Overrides
    GPUDevice::CreateTexture(const StringView& name=StringView::Empty)

    CreateTimerQuery()

    Creates the timer query object.

    Declaration
    public virtual GPUTimerQuery* CreateTimerQuery() override
    Returns
    GPUTimerQuery

    The timer query.

    Overrides
    GPUDevice::CreateTimerQuery()

    CreateVertexLayout(const VertexElements& elements, bool explicitOffsets)

    Declaration
    public GPUVertexLayout* CreateVertexLayout(const VertexElements& elements, bool explicitOffsets) override
    Parameters
    VertexElements elements

    bool explicitOffsets

    Returns
    GPUVertexLayout

    Dispose()

    Clean all allocated data by device

    Declaration
    public virtual void Dispose() override
    Overrides
    GPUDevice::Dispose()

    Draw()

    Call frame rendering and process data using GPU

    Declaration
    public virtual void Draw() override
    Overrides
    GPUDevice::Draw()

    GetAdapter()

    Gets the adapter device.

    Declaration
    public virtual GPUAdapter* GetAdapter() const override
    Returns
    GPUAdapter

    Overrides
    GPUDevice::GetAdapter()

    GetMainContext()

    Gets the main GPU context.

    Declaration
    public virtual GPUContext* GetMainContext() override
    Returns
    GPUContext

    Overrides
    GPUDevice::GetMainContext()

    GetNativePtr()

    Gets the native pointer to the underlying graphics device. It's a low-level platform-specific handle.

    Declaration
    public virtual void* GetNativePtr() const override
    Returns
    void

    Overrides
    GPUDevice::GetNativePtr()

    Init()

    Init device resources

    Declaration
    public virtual bool Init() override
    Returns
    bool

    True if cannot init, otherwise false.

    Overrides
    GPUDevice::Init()

    LoadContent()

    Load private device content (called when Content Pool is created)

    Declaration
    public virtual bool LoadContent() override
    Returns
    bool

    True if cannot load data in a proper way, otherwise false.

    Overrides
    GPUDevice::LoadContent()

    WaitForGPU()

    Wait for GPU end doing submitted work

    Declaration
    public virtual void WaitForGPU() override
    Overrides
    GPUDevice::WaitForGPU()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat