Nebula
Loading...
Searching...
No Matches
RenderUtil Namespace Reference

Detailed Description

Helpers to create geometry.

FIXME!

Classes

class  DrawFullScreenQuad
 Actually draws one big triangle which covers the entire screen, which is more efficient than drawing a quad using two triangles. More...
 
class  FreeCameraUtil
 Implements a free camera. More...
 
struct  Geometry
 
class  GeometryHelpers
 
class  MayaCameraUtil
 Helper class to implement a "Maya camera" with pan/zoom/orbit. More...
 
class  MouseRayUtil
 Helper class to compute a world-space ray from mouse coords. More...
 
class  NodeLookupUtil
 Helper class to find specific nodes and nodeinstances inside a graphicsentity. More...
 

Functions

Models::ShaderStateNode::Instance * LookupStateNodeInstance (const GraphicsEntityId &entity, const Util::String &nodeName, bool checkResourceState)
 FIXME: THESE METHODS ARE SLOW AS HELL!!!
 

Function Documentation

◆ LookupStateNodeInstance()

Models::ShaderStateNode::Instance * RenderUtil::LookupStateNodeInstance ( const GraphicsEntityId & entity,
const Util::String & nodeName,
bool checkResourceState )

FIXME: THESE METHODS ARE SLOW AS HELL!!!

Utility function which searches a specified statenodeinstance in a graphicsentity.

returns 0 if

  • resource is not loaded and resourcecheck flag is enabled
  • node was not found
  • modelentity is not active
  • model instances is not valid