VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDataFormat.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
12 
13 namespace makVrv {
14 
16 {
117 
118  FORMAT_DXT1 = 101,
119  FORMAT_DXT2 = 102,
120  FORMAT_DXT3 = 103,
121  FORMAT_DXT4 = 104,
122  FORMAT_DXT5 = 105,
123 
124  FORMAT_FORCE_UINT = 0xffffffff
125 };
126 
130 {
131 public:
132  static bool isFloatFormat(DtDataFormat format);
133  static bool isIntFormat(DtDataFormat format);
134  static size_t getNumComponents(DtDataFormat format);
135  static size_t getEachComponentSizeInBytes(DtDataFormat format);
136 };
137 
138 } //namespace makVrv
139 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)