Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::CAPI::GL::Texture Class Reference

#include "CAPI_GL_Util.h"

Inheritance diagram for OVR::CAPI::GL::Texture:
Inheritance graph
Collaboration diagram for OVR::CAPI::GL::Texture:
Collaboration graph

Public Member Functions

 Texture (RenderParams *rp, int w, int h)
 
 ~Texture ()
 
virtual int GetWidth () const
 
virtual int GetHeight () const
 
virtual void SetSampleMode (int sm)
 
void UpdatePlaceholderTexture (GLuint texId, const Sizei &textureSize)
 
virtual void Set (int slot, ShaderStage stage=Shader_Fragment) const
 
- Public Member Functions inherited from OVR::RefCountBase< Texture >
OVR_FORCE_INLINE RefCountBase ()
 
- Public Member Functions inherited from OVR::RefCountBaseStatImpl< RefCountImpl >
 RefCountBaseStatImpl ()
 
- Public Member Functions inherited from OVR::RefCountImpl
void AddRef ()
 
void Release ()
 
- Public Member Functions inherited from OVR::RefCountImplCore
OVR_FORCE_INLINE RefCountImplCore ()
 
virtual ~RefCountImplCore ()
 
int GetRefCount () const
 
void operator= (const RefCountImplCore &)
 

Data Fields

RenderParamspParams
 
GLuint TexId
 
int Width
 
int Height
 

Private Attributes

bool IsUserAllocated
 

Additional Inherited Members

- Static Public Member Functions inherited from OVR::RefCountImplCore
static void checkInvalidDelete (RefCountImplCore *)
 
- Protected Attributes inherited from OVR::RefCountImplCore
volatile int RefCount
 

Detailed Description

Definition at line 256 of file CAPI_GL_Util.h.

Constructor & Destructor Documentation

OVR::CAPI::GL::Texture::Texture ( RenderParams rp,
int  w,
int  h 
)

Definition at line 457 of file CAPI_GL_Util.cpp.

OVR::CAPI::GL::Texture::~Texture ( )

Definition at line 463 of file CAPI_GL_Util.cpp.

Member Function Documentation

virtual int OVR::CAPI::GL::Texture::GetHeight ( ) const
inlinevirtual

Definition at line 269 of file CAPI_GL_Util.h.

virtual int OVR::CAPI::GL::Texture::GetWidth ( ) const
inlinevirtual

Definition at line 268 of file CAPI_GL_Util.h.

void OVR::CAPI::GL::Texture::Set ( int  slot,
ShaderStage  stage = Shader_Fragment 
) const
virtual

Definition at line 469 of file CAPI_GL_Util.cpp.

void OVR::CAPI::GL::Texture::SetSampleMode ( int  sm)
virtual

Definition at line 475 of file CAPI_GL_Util.cpp.

void OVR::CAPI::GL::Texture::UpdatePlaceholderTexture ( GLuint  texId,
const Sizei textureSize 
)

Definition at line 518 of file CAPI_GL_Util.cpp.

Field Documentation

int OVR::CAPI::GL::Texture::Height

Definition at line 263 of file CAPI_GL_Util.h.

bool OVR::CAPI::GL::Texture::IsUserAllocated
private

Definition at line 258 of file CAPI_GL_Util.h.

RenderParams* OVR::CAPI::GL::Texture::pParams

Definition at line 261 of file CAPI_GL_Util.h.

GLuint OVR::CAPI::GL::Texture::TexId

Definition at line 262 of file CAPI_GL_Util.h.

int OVR::CAPI::GL::Texture::Width

Definition at line 263 of file CAPI_GL_Util.h.


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