DNA Calib 1.1
Project brief
CalculateMeshLowerLODsCommand.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
9namespace dnac {
10
11class DNACalibDNAReader;
12
19 public:
20 DNACAPI explicit CalculateMeshLowerLODsCommand(MemoryResource* memRes = nullptr);
21
22 DNACAPI explicit CalculateMeshLowerLODsCommand(std::uint16_t meshIndex, MemoryResource* memRes = nullptr);
23
25
28
31
37 DNACAPI void setMeshIndex(std::uint16_t meshIndex);
38
39 DNACAPI void run(DNACalibDNAReader* output) override;
40
41 private:
42 class Impl;
44};
45
46} // namespace dnac
Definition: CalculateMeshLowerLODsCommand.cpp:13
CalculateMeshLowerLODsCommand is used to recalculate vertex positions for lower LOD meshes of the spe...
Definition: CalculateMeshLowerLODsCommand.h:18
CalculateMeshLowerLODsCommand(const CalculateMeshLowerLODsCommand &)=delete
DNACAPI void run(DNACalibDNAReader *output) override
Definition: CalculateMeshLowerLODsCommand.cpp:143
DNACAPI CalculateMeshLowerLODsCommand(CalculateMeshLowerLODsCommand &&)
ScopedPtr< Impl > pImpl
Definition: CalculateMeshLowerLODsCommand.h:43
CalculateMeshLowerLODsCommand & operator=(const CalculateMeshLowerLODsCommand &)=delete
DNACAPI void setMeshIndex(std::uint16_t meshIndex)
Method for setting the index of the mesh to calculate lower LOD meshes from.
Definition: CalculateMeshLowerLODsCommand.cpp:139
DNACAPI CalculateMeshLowerLODsCommand & operator=(CalculateMeshLowerLODsCommand &&)
DNACAPI CalculateMeshLowerLODsCommand(MemoryResource *memRes=nullptr)
Definition: CalculateMeshLowerLODsCommand.cpp:126
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
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
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8