AaronCameron.net
I can't believe how tired I am.
Not a Member? - Login or Create an Account...MC Offline
Saturday the 25th of May 2013 @ 06:16pm
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cGLTexture Class Reference

#include <cGLTexture.h>

Collaboration diagram for n2l::cGLTexture:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Definition at line 42 of file cGLTexture.h.


Constructor & Destructor Documentation

n2l::cGLTexture::cGLTexture const GLenum &  iFormat,
const tVector2u iSize
 

Definition at line 41 of file cGLTexture.cpp.

References bind(), n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x(), and n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y().

n2l::cGLTexture::cGLTexture const cSurfaceInterface iSurface  ) 
 

Definition at line 63 of file cGLTexture.cpp.

References n2l::cPixelFormat::bitsPerPixel(), n2l::cPixelFormat::Channel_Alpha, n2l::cPixelFormat::Channel_Blue, n2l::cPixelFormat::Channel_Green, n2l::cPixelFormat::Channel_Red, n2l::cPixelFormat::channelMask(), n2l::cSurface::create(), n2l::cSurfaceInterface::format(), n2l::cSurface::literalCopyBlit(), n2l::cSurfaceInterface::properties(), and n2l::cSurfaceProperties::size().

n2l::cGLTexture::cGLTexture const cVfsNodeInterface iFile  ) 
 

Definition at line 84 of file cGLTexture.cpp.

References n2l::cVfsNodeInterface::likeFile(), n2l::cSurface::load(), and n2l::cVfsNodeInterface::name().

n2l::cGLTexture::~cGLTexture  ) 
 

Definition at line 107 of file cGLTexture.cpp.


Member Function Documentation

void n2l::cGLTexture::bind  )  const [inline]
 

Definition at line 53 of file cGLTexture.h.

References bindTexture2D().

Referenced by cGLTexture(), and n2l::cRVisualTriMesh::render().

void n2l::cGLTexture::bindTexture2D  )  const
 

Definition at line 124 of file cGLTexture.cpp.

Referenced by bind().

const tUint n2l::cGLTexture::bitsForFormat const GLenum &  iFormat  )  [static]
 

Definition at line 131 of file cGLTexture.cpp.

References n2l::asString().

const tBool n2l::cGLTexture::hasAlpha  )  const
 

Definition at line 101 of file cGLTexture.cpp.

void n2l::cGLTexture::refresh  )  const
 

Load this texture back into the cards memory from the copy we took on construction.

This is mutable so the resource manager can reload const textures when video modes change.

Definition at line 184 of file cGLTexture.cpp.

const tBool n2l::cGLTexture::refreshable  )  const [inline]
 

Definition at line 63 of file cGLTexture.h.

void n2l::cGLTexture::requiresRefreshable const tBool  iRequired  )  [inline]
 

Definition at line 66 of file cGLTexture.h.

const tBool n2l::cGLTexture::requiresRefreshable  )  [inline]
 

Definition at line 65 of file cGLTexture.h.

const tVector2u & n2l::cGLTexture::size  )  const
 

Definition at line 118 of file cGLTexture.cpp.


The documentation for this class was generated from the following files:
©2013 Aaron Cameron