void SamplerStateManager::Initialize(ID3D11Device *device) {
    HR(device->CreateSamplerState(&LinearDesc(), &m_linear));
    HR(device->CreateSamplerState(&LinearClampDesc(), &m_linearClamp));
    HR(device->CreateSamplerState(&LinearBorderDesc(), &m_linearBorder));
    HR(device->CreateSamplerState(&PointDesc(), &m_point));
    HR(device->CreateSamplerState(&PointWrapDesc(), &m_pointWrap));
    HR(device->CreateSamplerState(&AnisotropicDesc(), &m_anisotropic));
    HR(device->CreateSamplerState(&ShadowMapDesc(), &m_shadowMap));
    HR(device->CreateSamplerState(&ShadowMapPCFDesc(), &m_shadowMapPCF));
}
Example #2
0
void EchoDevice::connection_open(XPoint point)
 {
  if( show_flag ) Printf(Con,"Connection open #;\n",PointDesc(mp,point));

  count(Event_open);
 }
Example #3
0
void EchoDevice::connection_lost(XPoint point)
 {
  if( show_flag ) Printf(Con,"Connection lost #;\n",PointDesc(mp,point));

  count(Event_lost);
 }
Example #4
0
void EchoDevice::connection_close(XPoint point)
 {
  if( show_flag ) Printf(Con,"Connection close #;\n",PointDesc(mp,point));

  count(Event_close);
 }
Example #5
0
 void Trajectory::addPoint (const cv::Point2f & point) {
     this->m_pointDescs.push_back (PointDesc (point));
 }