HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_PickBuffer Class Reference

#include <RE_PickBuffer.h>

Public Member Functions

 RE_PickBuffer ()
 
 ~RE_PickBuffer ()
 
bool resize (RE_Render *r, int w, int h)
 
void invalidate ()
 
void startRender (RE_Render *r)
 
void drawToBuffer (RE_Render *r, RE_BufferAttachment buftype=RE_COLOR_BUFFER, int colorbufnum=0)
 
void drawToAllBuffers (RE_Render *r)
 
void endRender (RE_Render *r, UT_TokenString *&new_hash)
 
int getPicks (RE_Render *r, int x, int y, int pick_dist, RE_VertexArray *&high_array, RE_VertexArray *&low_array, RE_VertexArray *&z_array, const UT_IntArray **sample_counts_by_dist=0)
 
int getPicks (RE_Render *r, const UT_DimRect &area, uint8 *texture, UT_Vector3iArray &pick_high, UT_Vector3iArray &pick_low)
 
RE_TexturegetZTexture ()
 
bool initialized () const
 
bool checkHash (const UT_TokenString *hash) const
 
void saveBuffers (RE_Render *r, const char *path, const char *prefix, bool mid_render) const
 

Detailed Description

Definition at line 23 of file RE_PickBuffer.h.

Constructor & Destructor Documentation

RE_PickBuffer::RE_PickBuffer ( )
RE_PickBuffer::~RE_PickBuffer ( )

Member Function Documentation

bool RE_PickBuffer::checkHash ( const UT_TokenString hash) const
void RE_PickBuffer::drawToAllBuffers ( RE_Render r)
void RE_PickBuffer::drawToBuffer ( RE_Render r,
RE_BufferAttachment  buftype = RE_COLOR_BUFFER,
int  colorbufnum = 0 
)
void RE_PickBuffer::endRender ( RE_Render r,
UT_TokenString *&  new_hash 
)
int RE_PickBuffer::getPicks ( RE_Render r,
int  x,
int  y,
int  pick_dist,
RE_VertexArray *&  high_array,
RE_VertexArray *&  low_array,
RE_VertexArray *&  z_array,
const UT_IntArray **  sample_counts_by_dist = 0 
)
int RE_PickBuffer::getPicks ( RE_Render r,
const UT_DimRect area,
uint8 texture,
UT_Vector3iArray pick_high,
UT_Vector3iArray pick_low 
)
RE_Texture* RE_PickBuffer::getZTexture ( )
bool RE_PickBuffer::initialized ( ) const
void RE_PickBuffer::invalidate ( )
bool RE_PickBuffer::resize ( RE_Render r,
int  w,
int  h 
)
void RE_PickBuffer::saveBuffers ( RE_Render r,
const char *  path,
const char *  prefix,
bool  mid_render 
) const
void RE_PickBuffer::startRender ( RE_Render r)

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