HDK
|
#include <RE_PickBuffer.h>
Protected Member Functions | |
int | normalPickFetch (RE_Render *r, const UT_DimRect &area, uint8 *texture, UT_Vector3iArray &pick_high, UT_Vector3iArray &pick_low) |
int | slowPickFetch (RE_Render *r, const UT_DimRect &area, uint8 *texture, UT_Vector3iArray &pick_high, UT_Vector3iArray &pick_low) |
RE_FBOStatus | create (RE_Render *r, int w, int h) |
void | destroy () |
Protected Attributes | |
UT_SharedPtr< RE_OGLFramebuffer > | myBuffer |
UT_SharedPtr< RE_Texture > | myHighIdTexture |
UT_SharedPtr< RE_Texture > | myLowIdTexture |
UT_SharedPtr< RE_Texture > | myZTexture |
UT_SharedPtr< RE_Geometry > | mySinglePickGeometry |
UT_SharedPtr< re_BoxPickData > | myBoxPickData |
UT_TokenString * | myBufferHash |
RE_GPUType | myDepthFormat |
int | myBufferVecSize |
int | mySaveCount |
Definition at line 33 of file RE_PickBuffer.h.
RE_PickBuffer::RE_PickBuffer | ( | ) |
RE_PickBuffer::~RE_PickBuffer | ( | ) |
bool RE_PickBuffer::checkHash | ( | const UT_TokenString * | hash | ) | const |
|
protected |
|
protected |
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 | ||
) |
const UT_SharedPtr<RE_Texture>& RE_PickBuffer::getPickHighTexture | ( | ) |
const UT_SharedPtr<RE_Texture>& RE_PickBuffer::getPickLowTexture | ( | ) |
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 |
const UT_SharedPtr<RE_Texture>& RE_PickBuffer::getZTexture | ( | ) |
bool RE_PickBuffer::initialized | ( | ) | const |
void RE_PickBuffer::invalidate | ( | ) |
|
protected |
void RE_PickBuffer::saveBuffers | ( | RE_Render * | r, |
const char * | path, | ||
const char * | prefix, | ||
bool | mid_render | ||
) | const |
|
protected |
|
protected |
Definition at line 117 of file RE_PickBuffer.h.
|
protected |
Definition at line 112 of file RE_PickBuffer.h.
|
protected |
Definition at line 118 of file RE_PickBuffer.h.
|
protected |
Definition at line 120 of file RE_PickBuffer.h.
|
protected |
Definition at line 119 of file RE_PickBuffer.h.
|
protected |
Definition at line 113 of file RE_PickBuffer.h.
|
protected |
Definition at line 114 of file RE_PickBuffer.h.
|
mutableprotected |
Definition at line 121 of file RE_PickBuffer.h.
|
protected |
Definition at line 116 of file RE_PickBuffer.h.
|
protected |
Definition at line 115 of file RE_PickBuffer.h.