Search Results for

    Show / Hide Table of Contents

    Class GPUResourceProperty

    GPU Resource container utility object.

    Inheritance
    GPUResourcePropertyBase
    GPUResourceProperty
    Inherited Members
    GPUResourcePropertyBase::_resource
    GPUResourcePropertyBase::GPUResourcePropertyBase()
    GPUResourcePropertyBase::OnReleased()
    GPUResourcePropertyBase::OnSet(GPUResource* resource)
    GPUResourcePropertyBase::Released
    GPUResourcePropertyBase::~GPUResourcePropertyBase()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/GPUResourceProperty.h
    Syntax
    public class GPUResourceProperty<T> : public GPUResourcePropertyBase
    Type Parameters
    T

    Constructors

    ~GPUResourceProperty()

    Finalizes an instance of the GPUResourceProperty class.

    Declaration
    public ~GPUResourceProperty()

    GPUResourceProperty()

    Initializes a new instance of the GPUResourceProperty class.

    Declaration
    public GPUResourceProperty()

    GPUResourceProperty(const GPUResourceProperty& other)

    Initializes a new instance of the GPUResourceProperty class.

    Declaration
    public GPUResourceProperty(const GPUResourceProperty& other)
    Parameters
    GPUResourceProperty other

    The other value.

    GPUResourceProperty(GPUResourceProperty&& other)

    Initializes a new instance of the GPUResourceProperty class.

    Declaration
    public GPUResourceProperty(GPUResourceProperty&& other)
    Parameters
    GPUResourceProperty other

    The other value.

    GPUResourceProperty(T* resource)

    Initializes a new instance of the GPUResourceProperty class.

    Declaration
    public GPUResourceProperty(T* resource)
    Parameters
    T resource

    The resource.

    Methods

    Get()

    Gets linked resource

    Declaration
    public T* Get() const
    Returns
    T

    operator bool()

    Implicit conversion to resource

    Declaration
    public operator bool() const
    Returns
    FORCE_INLINE

    operator T*()

    Implicit conversion to GPU Resource

    Declaration
    public operator T*() const
    Returns
    FORCE_INLINE

    operator=(GPUResourceProperty&& other)

    Declaration
    public GPUResourceProperty operator=(GPUResourceProperty&& other)
    Parameters
    GPUResourceProperty other

    Returns
    GPUResourceProperty

    operator=(T& other)

    Declaration
    public GPUResourceProperty operator=(T& other)
    Parameters
    T other

    Returns
    GPUResourceProperty

    operator=(T* other)

    Declaration
    public GPUResourceProperty operator=(T* other)
    Parameters
    T other

    Returns
    GPUResourceProperty

    operator==(const GPUResourceProperty& other)

    Declaration
    public bool operator==(const GPUResourceProperty& other) const
    Parameters
    GPUResourceProperty other

    Returns
    bool

    operator==(T* other)

    Declaration
    public bool operator==(T* other) const
    Parameters
    T other

    Returns
    bool

    operator->()

    Implicit conversion to resource

    Declaration
    public T* operator->() const
    Returns
    T

    Set(T* value)

    Set resource

    Declaration
    public void Set(T* value)
    Parameters
    T value

    Value to assign

    Unlink()

    Unlink resource

    Declaration
    public void Unlink()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat