Free Electron
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HydraDriver Class Reference

A unit test driver that exercises the core engine. More...

#include <HydraDriver.h>

Public Member Functions

 HydraDriver (TfToken const &reprName)
 
void Draw (HdEngine &a_rEngine, bool withGuides=false)
 
void Draw (HdEngine &a_rEngine, HdRenderPassSharedPtr const &renderPass)
 
void SetCamera (GfMatrix4d const &modelViewMatrix, GfMatrix4d const &projectionMatrix, GfVec4d const &viewport)
 Set camera to renderpass. More...
 
HdRenderPassSharedPtr const & GetRenderPass (bool withGuides=false)
 
HdRenderPassStateSharedPtr const & GetRenderPassState (void) const
 
HydraDelegateGetDelegate (void)
 
void SetRepr (TfToken const &reprName)
 

Private Member Functions

void _Init (TfToken const &reprName)
 

Private Attributes

HdStRenderDelegate m_renderDelegate
 
HdRenderIndex * m_pRenderIndex
 
HydraDelegatem_pSceneDelegate
 
TfToken m_reprName
 
HdRenderPassSharedPtr m_geomPass
 
HdRenderPassSharedPtr m_geomAndGuidePass
 
HdRenderPassStateSharedPtr m_renderPassState
 
std::unique_ptr< class Hgi > m_hgi
 
HdDriver m_hgiDriver
 

Detailed Description

A unit test driver that exercises the core engine.

Note
This test driver does NOT assume OpenGL is available; in the event that is is not available, all OpenGL calls become no-ops, but all other work is performed as usual.

Member Function Documentation

◆ SetCamera()

void HydraDriver::SetCamera ( GfMatrix4d const &  modelViewMatrix,
GfMatrix4d const &  projectionMatrix,
GfVec4d const &  viewport 
)

Set camera to renderpass.


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