VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtDataFormat.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #pragma once
10 
11 #include "DtGraphicsUtilsPreReqs.h"
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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)