Search Results for

    Show / Hide Table of Contents

    Class GPUTextureView

    Defines a view for the GPUTexture surface, full resource or any of the sub-parts. Can be used to define a single subresource of the texture, volume texture or texture array. Used to render to the texture and/or use textures in the shaders.

    Inheritance
    Object
    ScriptingObject
    GPUResourceView
    GPUTextureView
    Inherited Members
    ScriptingObject::_gcHandle
    ScriptingObject::_id
    GPUResourceView::_parent
    ScriptingObject::_type
    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()
    GPUResourceView::DummyLastRenderTime
    Object::Flags
    ScriptingObject::FromInterface(void* interfaceObj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::FromInterface(T* interfaceObj)
    ScriptingObject::GetClass()
    ScriptingObject::GetID()
    ScriptingObject::GetManagedInstance()
    GPUResourceView::GetNativePtr()
    ScriptingObject::GetOrCreateManagedInstance()
    GPUResourceView::GetParent()
    ScriptingObject::GetType()
    ScriptingObject::GetTypeHandle()
    GPUResourceView::GPUResourceView(const SpawnParams& params)
    ScriptingObject::HasManagedInstance()
    ScriptingObject::Is(const ScriptingTypeHandle& type)
    ScriptingObject::Is(const MClass* type)
    ScriptingObject::Is()
    ScriptingObject::IsRegistered()
    GPUResourceView::LastRenderTime
    ScriptingObject::NewObject(const ScriptingTypeHandle& typeHandle)
    ScriptingObject::NewObject()
    ScriptingObject::OnDeleteObject()
    ScriptingObject::OnManagedInstanceDeleted()
    ScriptingObject::OnScriptingDispose()
    ScriptingObject::RegisterObject()
    ScriptingObject::ScriptingObject(const SpawnParams& params)
    ScriptingObject::SetManagedInstance(MObject* instance)
    GPUTextureView
    ScriptingObject::ToInterface(ScriptingObject* obj, const ScriptingTypeHandle& interfaceType)
    ScriptingObject::ToInterface(ScriptingObject* obj)
    ScriptingObject::ToManaged(const ScriptingObject* obj)
    ScriptingObject::ToNative(MObject* obj)
    ScriptingObject::ToString()
    ScriptingObject::UnregisterObject()
    Object::~Object()
    ScriptingObject::~ScriptingObject()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Textures/GPUTexture.h
    Syntax
    public class GPUTextureView : public GPUResourceView

    Constructors

    GPUTextureView()

    Declaration
    protected GPUTextureView()

    Fields

    _format

    Declaration
    protected PixelFormat _format = PixelFormat::Unknown
    Field Value
    PixelFormat

    _msaa

    Declaration
    protected MSAALevel _msaa = MSAALevel::None
    Field Value
    MSAALevel

    Methods

    GetFormat()

    Gets the view format.

    Declaration
    public PixelFormat GetFormat() const
    Returns
    PixelFormat

    GetMSAA()

    Gets view MSAA level.

    Declaration
    public MSAALevel GetMSAA() const
    Returns
    MSAALevel

    Init(GPUResource* parent, PixelFormat format, MSAALevel msaa)

    Declaration
    protected void Init(GPUResource* parent, PixelFormat format, MSAALevel msaa)
    Parameters
    GPUResource parent

    PixelFormat format

    MSAALevel msaa

    Returns
    void

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat