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 version = 4
ImageFormat outputFormat = FORMAT_DEFAULT
float compressedFormatQuality = ImageConversion::DEFAULT_COMPRESSED_QUALITY
ImageConversion::ResizeMethod widthResizeMethod = ImageConversion::ResizeMethod::POWER_OF_TWO_BIGGER
ImageConversion::ResizeMethod heightResizeMethod = ImageConversion::ResizeMethod::POWER_OF_TWO_BIGGER
ImageConversion::ResizeFilter filter = ImageConversion::ResizeFilter::DEFAULT
uint32_t flags = 0
ImageConversion::ResizeBounds resizeBounds
uint16_t initialFrameCount = 1
uint16_t startFrame = 0
bool isCubeMap = false
uint16_t initialDepth = 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
float gammaCorrection = 1.f
bool invertGreenChannel = false
uint8_t consoleMipScale = 0

Detailed Description

Definition at line 197 of file VTF.h.

Member Data Documentation

◆ bumpMapScale

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

Definition at line 217 of file VTF.h.

◆ compressedFormatQuality

float vtfpp::VTF::CreationOptions::compressedFormatQuality = ImageConversion::DEFAULT_COMPRESSED_QUALITY

Definition at line 200 of file VTF.h.

◆ compressionLevel

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

Definition at line 215 of file VTF.h.

◆ compressionMethod

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

Definition at line 216 of file VTF.h.

◆ computeMips

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

Definition at line 211 of file VTF.h.

◆ computeReflectivity

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

Definition at line 213 of file VTF.h.

◆ computeThumbnail

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

Definition at line 212 of file VTF.h.

◆ computeTransparencyFlags

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

Definition at line 210 of file VTF.h.

◆ consoleMipScale

uint8_t vtfpp::VTF::CreationOptions::consoleMipScale = 0

Definition at line 220 of file VTF.h.

◆ filter

Definition at line 203 of file VTF.h.

◆ flags

uint32_t vtfpp::VTF::CreationOptions::flags = 0

Definition at line 204 of file VTF.h.

◆ gammaCorrection

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

Definition at line 218 of file VTF.h.

◆ heightResizeMethod

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

Definition at line 202 of file VTF.h.

◆ initialDepth

uint16_t vtfpp::VTF::CreationOptions::initialDepth = 1

Definition at line 209 of file VTF.h.

◆ initialFrameCount

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

Definition at line 206 of file VTF.h.

◆ invertGreenChannel

bool vtfpp::VTF::CreationOptions::invertGreenChannel = false

Definition at line 219 of file VTF.h.

◆ isCubeMap

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

Definition at line 208 of file VTF.h.

◆ outputFormat

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

Definition at line 199 of file VTF.h.

◆ platform

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

Definition at line 214 of file VTF.h.

◆ resizeBounds

ImageConversion::ResizeBounds vtfpp::VTF::CreationOptions::resizeBounds

Definition at line 205 of file VTF.h.

◆ startFrame

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

Definition at line 207 of file VTF.h.

◆ version

uint32_t vtfpp::VTF::CreationOptions::version = 4

Definition at line 198 of file VTF.h.

◆ widthResizeMethod

Definition at line 201 of file VTF.h.


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