DNA Calib 1.1
Project brief
SetLODsCommand.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "dnacalib/Command.h"
6#include "dnacalib/Defs.h"
8
9#include <cstdint>
10
11namespace dnac {
12
13class DNACalibDNAReader;
14
18class SetLODsCommand : public Command {
19 public:
20 DNACAPI explicit SetLODsCommand(MemoryResource* memRes = nullptr);
22
24
27
30
37 DNACAPI void run(DNACalibDNAReader* output) override;
38
39 private:
40 class Impl;
42
43};
44
45} // namespace dnac
Command is an abstract class whose implementations are expected to modify the DNA provided in the run...
Definition: Command.h:15
Definition: DNACalibDNAReader.h:12
Definition: SetLODsCommand.cpp:12
SetLODsCommand is used to specify LODs to use. Joints, blend shapes, animated maps and meshes that ar...
Definition: SetLODsCommand.h:18
DNACAPI SetLODsCommand(SetLODsCommand &&)
DNACAPI void setLODs(ConstArrayView< std::uint16_t > lods)
Method for setting the LODs to keep.
Definition: SetLODsCommand.cpp:59
DNACAPI ~SetLODsCommand()
SetLODsCommand(const SetLODsCommand &)=delete
DNACAPI SetLODsCommand & operator=(SetLODsCommand &&)
DNACAPI void run(DNACalibDNAReader *output) override
Definition: SetLODsCommand.cpp:63
DNACAPI SetLODsCommand(MemoryResource *memRes=nullptr)
Definition: SetLODsCommand.cpp:46
ScopedPtr< Impl > pImpl
Definition: SetLODsCommand.h:41
SetLODsCommand & operator=(const SetLODsCommand &)=delete
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Takes ownership over the given pointer and handles it's lifetime.
Definition: ScopedPtr.h:116
A view over a continuous sequence of objects.
Definition: ArrayView.h:55
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8