Struct ResourceLoader::UpdateRequest#
Defined in File ResourceLoader.h
Nested Relationships#
This struct is a nested type of Class ResourceLoader.
Struct Documentation#
-
struct UpdateRequest#
Public Functions
-
explicit constexpr UpdateRequest(const RendererAPI::BufferUpdateDesc &buffer) noexcept#
Constructor for buffer update request.
- Parameters:
buffer – Description of buffer update.
-
explicit constexpr UpdateRequest(const RendererAPI::TextureLoadDesc &texture) noexcept#
Constructor for texture load request.
- Parameters:
texture – Description of texture load.
-
explicit constexpr UpdateRequest(const RendererAPI::TextureCopyDesc &textureCopy) noexcept#
Constructor for texture copy request.
- Parameters:
textureCopy – Description of texture copy.
-
explicit UpdateRequest(TRAP::Graphics::API::ResourceLoader::TextureUpdateDescInternal texture) noexcept#
Constructor for texture update request.
- Parameters:
texture – Description of texture update.
-
explicit constexpr UpdateRequest(const RendererAPI::BufferBarrier &barrier) noexcept#
Constructor for buffer barrier request.
- Parameters:
barrier – Description of buffer barrier.
-
explicit constexpr UpdateRequest(const RendererAPI::TextureBarrier &barrier) noexcept#
Constructor for texture barrier request.
- Parameters:
barrier – Description of texture barrier.
Public Members
-
UpdateRequestType Type = UpdateRequestType::Invalid#
-
std::variant<RendererAPI::BufferUpdateDesc, TRAP::Graphics::API::ResourceLoader::TextureUpdateDescInternal, RendererAPI::TextureLoadDesc, RendererAPI::TextureCopyDesc, RendererAPI::BufferBarrier, RendererAPI::TextureBarrier> Desc#
-
explicit constexpr UpdateRequest(const RendererAPI::BufferUpdateDesc &buffer) noexcept#