UniShader  1.0.0a
Interface for GPGPU and working with shader programs
 All Classes Functions Typedefs Enumerations Enumerator
Public Types | Public Member Functions
TextureBuffer::DataType Class Reference

Data type. More...

#include <TextureBuffer.h>

List of all members.

Public Types

enum  myEnum {
  NONE, CHAR, UNSIGNED_CHAR, SHORT,
  UNSIGNED_SHORT, HALF_FLOAT, INT, UNSIGNED_INT,
  FLOAT
}

Public Member Functions

 DataType (const DataType &ref)
 DataType (myEnum en)
DataTypeoperator= (myEnum en)
 operator myEnum ()

Detailed Description

Data type.

Data type is used to specify how data in buffer should be accessed.


Member Enumeration Documentation

Enumerator:
NONE 

Uninitialized state.

CHAR 

Access data as chars.

UNSIGNED_CHAR 

Access data as unsigned chars.

SHORT 

Access data as short integers.

UNSIGNED_SHORT 

Access data as unsigned short integers.

HALF_FLOAT 

Access data as half precision floats (binary16).

INT 

Access data as integers.

UNSIGNED_INT 

Access data as unsigned integers.

FLOAT 

Access data as single precision floats.


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