SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
vtfpp::VTF::CreationOptions Struct Reference

#include <VTF.h>

Collaboration diagram for vtfpp::VTF::CreationOptions:

Public Attributes

uint32_t majorVersion = 7
 
uint32_t minorVersion = 4
 
ImageFormat outputFormat = FORMAT_DEFAULT
 
ImageConversion::ResizeMethod widthResizeMethod = ImageConversion::ResizeMethod::POWER_OF_TWO_BIGGER
 
ImageConversion::ResizeMethod heightResizeMethod = ImageConversion::ResizeMethod::POWER_OF_TWO_BIGGER
 
ImageConversion::ResizeFilter filter = ImageConversion::ResizeFilter::DEFAULT
 
Flags flags = FLAG_NONE
 
uint16_t initialFrameCount = 1
 
uint16_t startFrame = 0
 
bool isCubeMap = false
 
bool hasSphereMap = false
 
uint16_t initialSliceCount = 1
 
bool computeTransparencyFlags = true
 
bool computeMips = true
 
bool computeThumbnail = true
 
bool computeReflectivity = true
 
Platform platform = PLATFORM_PC
 
int16_t compressionLevel = -1
 
CompressionMethod compressionMethod = CompressionMethod::ZSTD
 
float bumpMapScale = 1.f
 

Detailed Description

Definition at line 177 of file VTF.h.

Member Data Documentation

◆ bumpMapScale

float vtfpp::VTF::CreationOptions::bumpMapScale = 1.f

Definition at line 197 of file VTF.h.

◆ compressionLevel

int16_t vtfpp::VTF::CreationOptions::compressionLevel = -1

Definition at line 195 of file VTF.h.

◆ compressionMethod

CompressionMethod vtfpp::VTF::CreationOptions::compressionMethod = CompressionMethod::ZSTD

Definition at line 196 of file VTF.h.

◆ computeMips

bool vtfpp::VTF::CreationOptions::computeMips = true

Definition at line 191 of file VTF.h.

◆ computeReflectivity

bool vtfpp::VTF::CreationOptions::computeReflectivity = true

Definition at line 193 of file VTF.h.

◆ computeThumbnail

bool vtfpp::VTF::CreationOptions::computeThumbnail = true

Definition at line 192 of file VTF.h.

◆ computeTransparencyFlags

bool vtfpp::VTF::CreationOptions::computeTransparencyFlags = true

Definition at line 190 of file VTF.h.

◆ filter

Definition at line 183 of file VTF.h.

◆ flags

Flags vtfpp::VTF::CreationOptions::flags = FLAG_NONE

Definition at line 184 of file VTF.h.

◆ hasSphereMap

bool vtfpp::VTF::CreationOptions::hasSphereMap = false

Definition at line 188 of file VTF.h.

◆ heightResizeMethod

ImageConversion::ResizeMethod vtfpp::VTF::CreationOptions::heightResizeMethod = ImageConversion::ResizeMethod::POWER_OF_TWO_BIGGER

Definition at line 182 of file VTF.h.

◆ initialFrameCount

uint16_t vtfpp::VTF::CreationOptions::initialFrameCount = 1

Definition at line 185 of file VTF.h.

◆ initialSliceCount

uint16_t vtfpp::VTF::CreationOptions::initialSliceCount = 1

Definition at line 189 of file VTF.h.

◆ isCubeMap

bool vtfpp::VTF::CreationOptions::isCubeMap = false

Definition at line 187 of file VTF.h.

◆ majorVersion

uint32_t vtfpp::VTF::CreationOptions::majorVersion = 7

Definition at line 178 of file VTF.h.

◆ minorVersion

uint32_t vtfpp::VTF::CreationOptions::minorVersion = 4

Definition at line 179 of file VTF.h.

◆ outputFormat

ImageFormat vtfpp::VTF::CreationOptions::outputFormat = FORMAT_DEFAULT

Definition at line 180 of file VTF.h.

◆ platform

Platform vtfpp::VTF::CreationOptions::platform = PLATFORM_PC

Definition at line 194 of file VTF.h.

◆ startFrame

uint16_t vtfpp::VTF::CreationOptions::startFrame = 0

Definition at line 186 of file VTF.h.

◆ widthResizeMethod

Definition at line 181 of file VTF.h.


The documentation for this struct was generated from the following file: