gpuCache/gpuCacheRasterSelect.h
#ifndef _gpuCacheRasterSelect_h_
#define _gpuCacheRasterSelect_h_
#include "gpuCacheSelect.h"
#include <maya/MSelectInfo.h>
namespace GPUCache {
class RasterSelect : public Select
{
public:
typedef unsigned int index_t;
~RasterSelect() override;
void processEdges(const SubNode::Ptr rootNode,
double seconds,
size_t numWires,
VBOProxy::VBOMode vboMode) override;
void processTriangles(const SubNode::Ptr rootNode,
double seconds,
size_t numTriangles,
VBOProxy::VBOMode vboMode) override;
void processBoundingBox(const SubNode::Ptr rootNode,
double seconds) override;
void end() override;
bool isSelected() const override;
float minZ() const override;
private:
float fMinZ;
GLboolean fWasDepthTestEnabled;
};
}
#endif