Skip to content

LiteFX::Graphics::Blitter

Utility class that can be used to issue blit commands and generate mip maps.

Synopsis

Declared in <litefx/gfx/blitter.hpp>

template<render_backend TBackend>
class [[dllexport]] Blitter
    : public LiteFX::SharedObject

Description

This utility class can be used to generate mip maps for images. Note however, that it is more efficient to pre-compute mip maps if possible. Also note that if you need a direct copy of a image, use a LiteFX::Rendering::ICommandBuffer::transfer command instead.

Base Classes

NameDescription
LiteFX::SharedObjectBase class for an object that can be shared.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~Blitter [destructor] [virtual]Destructor
generateMipMaps
shared_from_this Returns a shared pointer to the current object instance.
weak_from_this Returns a weak pointer to the current object instance.

Static Member Functions

NameDescription
create Creates a new blitter instance.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
operator= Assignment operators

Protected Static Member Functions

NameDescription
create Generic factory method used to create instances of the shared object.

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Graphics::Blitter::BlitImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

Template Parameters

NameDescription
TBackendThe type of render backend that implements the blitter.