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

Nature mode. More...

#include <Buffer.h>

List of all members.

Public Types

enum  myEnum { NONE, DRAW, READ, COPY }

Public Member Functions

 NatureMode (const NatureMode &ref)
 NatureMode (myEnum en)
NatureModeoperator= (myEnum en)
 operator myEnum ()

Detailed Description

Nature mode.

Hint for OpenGL on how to store data in graphics card memory for optimal access time.


Member Enumeration Documentation

Enumerator:
NONE 

Uninitialized state.

DRAW 

The data store contents are modified by the application, and used as the source for GL drawing and image specification commands.

READ 

The data store contents are modified by reading data from the GL, and used to return that data when queried by the application.

COPY 

The data store contents are modified by reading data from the GL, and used as the source for GL drawing and image specification commands.


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