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=nullptr, const UT_Array< int16 > **sample_offsets=nullptr)
int getPicks (RE_Render *r, const UT_DimRect &area, uint8 *texture, UT_Vector3iArray &pick_high, UT_Vector3iArray &pick_low)
RE_TexturegetZTexture ()
UT_Vector2i getPickSampleOffset (const UT_Array< int16 > *sample_offsets, exint sample_index) const
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 33 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 = nullptr,
const UT_Array< int16 > **  sample_offsets = nullptr 
int RE_PickBuffer::getPicks ( RE_Render r,
const UT_DimRect area,
uint8 texture,
UT_Vector3iArray pick_high,
UT_Vector3iArray pick_low 
UT_Vector2i RE_PickBuffer::getPickSampleOffset ( const UT_Array< int16 > *  sample_offsets,
exint  sample_index 
) const
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: