AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxGL Namespace Reference

This namespace contains OpenGL specific details for connecting OpenCL/OpenGL. More...

Classes

class  Buffer
 
class  Camera
 
class  CapabilityState
 
class  DepthMaskState
 
class  Device
 
class  FragmentShader
 
class  GeometryShader
 
class  Kernel
 
class  Lights
 Container class for lights that is used for synchronizing light data with shaders, such as particle sprite shaders. More...
 
class  LineWidthState
 
class  PointSizeState
 
class  PolygonModeState
 
struct  RenderBoxIndices
 
struct  RenderBoxNormals
 
struct  RenderBoxOutlines
 
struct  RenderBoxVertices
 
class  Shader
 
class  State
 
class  SyncTag
 
class  Task
 
class  TexEnvState
 
class  VertexShader
 

Typedefs

typedef agx::observer_ptr< const Buffer > BufferConstObserver
 
typedef agx::ref_ptr< const Buffer > BufferConstRef
 
typedef agx::observer_ptr< Buffer > BufferObserver
 
typedef agx::ref_ptr< Buffer > BufferRef
 
typedef agx::observer_ptr< const Camera > CameraConstObserver
 
typedef agx::ref_ptr< const Camera > CameraConstRef
 
typedef agx::observer_ptr< Camera > CameraObserver
 
typedef agx::ref_ptr< Camera > CameraRef
 
typedef agx::observer_ptr< const Device > DeviceConstObserver
 
typedef agx::ref_ptr< const Device > DeviceConstRef
 
typedef agx::observer_ptr< Device > DeviceObserver
 
typedef agx::ref_ptr< Device > DeviceRef
 
typedef agx::observer_ptr< const FragmentShader > FragmentShaderConstObserver
 
typedef agx::ref_ptr< const FragmentShader > FragmentShaderConstRef
 
typedef agx::observer_ptr< FragmentShader > FragmentShaderObserver
 
typedef agx::ref_ptr< FragmentShader > FragmentShaderRef
 
typedef agx::observer_ptr< const GeometryShader > GeometryShaderConstObserver
 
typedef agx::ref_ptr< const GeometryShader > GeometryShaderConstRef
 
typedef agx::observer_ptr< GeometryShader > GeometryShaderObserver
 
typedef agx::ref_ptr< GeometryShader > GeometryShaderRef
 
typedef agx::observer_ptr< const Kernel > KernelConstObserver
 
typedef agx::ref_ptr< const Kernel > KernelConstRef
 
typedef agx::observer_ptr< Kernel > KernelObserver
 
typedef agx::ref_ptr< Kernel > KernelRef
 
typedef agx::observer_ptr< const Lights > LightsConstObserver
 
typedef agx::ref_ptr< const Lights > LightsConstRef
 
typedef agx::observer_ptr< Lights > LightsObserver
 
typedef agx::ref_ptr< Lights > LightsRef
 
typedef agx::observer_ptr< const State > StateConstObserver
 
typedef agx::ref_ptr< const State > StateConstRef
 
typedef agx::observer_ptr< State > StateObserver
 
typedef agx::ref_ptr< State > StateRef
 
typedef agx::observer_ptr< const VertexShader > VertexShaderConstObserver
 
typedef agx::ref_ptr< const VertexShader > VertexShaderConstRef
 
typedef agx::observer_ptr< VertexShader > VertexShaderObserver
 
typedef agx::ref_ptr< VertexShader > VertexShaderRef
 

Functions

agx::UInt AGXPHYSICS_EXPORT generateBoxLines (agx::Vec3f min, agx::Vec3f max, agx::Line32 *lines, agx::UInt lineIndex)
 
agx::UInt AGXPHYSICS_EXPORT generateBoxLines (const agx::Vec3f &min, const agx::Vec3f &max, const agx::AffineMatrix4x4f &transform, agx::Line32 *lines, agx::UInt lineIndex)
 
ContextHandle AGXCORE_EXPORT getCurrentContext ()
 
bool AGXCORE_EXPORT hasContext ()
 
void AGXCORE_EXPORT init ()
 
std::ostream & operator<< (std::ostream &output, const RenderBoxIndices &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxNormals &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxOutlines &)
 
std::ostream & operator<< (std::ostream &output, const RenderBoxVertices &)
 
void AGXPHYSICS_EXPORT renderBox (const agx::AffineMatrix4x4 &transform, const agx::Vec3 &halfLengths, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderBox (const agx::Vec3 &halfLengths, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderBox (const agx::Vec3 &min, const agx::Vec3 &max, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCapsule (agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCapsule (const agx::AffineMatrix4x4 &transform, agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCylinder (agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderCylinder (const agx::AffineMatrix4x4 &transform, agx::Real radius, agx::Real height, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderLine (const agx::AffineMatrix4x4 &transform, const agx::Vec3 &start, const agx::Vec3 &end, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderLine (const agx::Vec3 &start, const agx::Vec3 &end, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderPlane (const agx::AffineMatrix4x4 &trans, const agx::Vec3 &normal, agx::Real distance, const agx::Vec4 &color)
 
void AGXPHYSICS_EXPORT renderSphere (agx::Real radius, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXPHYSICS_EXPORT renderSphere (const agx::AffineMatrix4x4 &transform, agx::Real radius, const agx::Vec4 &color=agx::Vec4(1))
 
void AGXCORE_EXPORT setCurrentContext (ContextHandle context)
 

Variables

AGXCORE_EXPORT agx::Event initEvent
 

Detailed Description

This namespace contains OpenGL specific details for connecting OpenCL/OpenGL.

Typedef Documentation

◆ BufferConstObserver

Definition at line 118 of file OpenGL.h.

◆ BufferConstRef

Definition at line 118 of file OpenGL.h.

◆ BufferObserver

Definition at line 118 of file OpenGL.h.

◆ BufferRef

Definition at line 118 of file OpenGL.h.

◆ CameraConstObserver

Definition at line 184 of file agxGL/Camera.h.

◆ CameraConstRef

Definition at line 184 of file agxGL/Camera.h.

◆ CameraObserver

Definition at line 184 of file agxGL/Camera.h.

◆ CameraRef

Definition at line 184 of file agxGL/Camera.h.

◆ DeviceConstObserver

Definition at line 117 of file OpenGL.h.

◆ DeviceConstRef

Definition at line 117 of file OpenGL.h.

◆ DeviceObserver

Definition at line 117 of file OpenGL.h.

◆ DeviceRef

Definition at line 117 of file OpenGL.h.

◆ FragmentShaderConstObserver

Definition at line 121 of file OpenGL.h.

◆ FragmentShaderConstRef

Definition at line 121 of file OpenGL.h.

◆ FragmentShaderObserver

◆ FragmentShaderRef

Definition at line 121 of file OpenGL.h.

◆ GeometryShaderConstObserver

Definition at line 119 of file OpenGL.h.

◆ GeometryShaderConstRef

Definition at line 119 of file OpenGL.h.

◆ GeometryShaderObserver

◆ GeometryShaderRef

Definition at line 119 of file OpenGL.h.

◆ KernelConstObserver

Definition at line 123 of file OpenGL.h.

◆ KernelConstRef

Definition at line 123 of file OpenGL.h.

◆ KernelObserver

Definition at line 123 of file OpenGL.h.

◆ KernelRef

Definition at line 123 of file OpenGL.h.

◆ LightsConstObserver

Definition at line 54 of file Lights.h.

◆ LightsConstRef

Definition at line 54 of file Lights.h.

◆ LightsObserver

Definition at line 54 of file Lights.h.

◆ LightsRef

Definition at line 54 of file Lights.h.

◆ StateConstObserver

Definition at line 122 of file OpenGL.h.

◆ StateConstRef

Definition at line 122 of file OpenGL.h.

◆ StateObserver

Definition at line 122 of file OpenGL.h.

◆ StateRef

Definition at line 122 of file OpenGL.h.

◆ VertexShaderConstObserver

Definition at line 120 of file OpenGL.h.

◆ VertexShaderConstRef

Definition at line 120 of file OpenGL.h.

◆ VertexShaderObserver

Definition at line 120 of file OpenGL.h.

◆ VertexShaderRef

Definition at line 120 of file OpenGL.h.

Function Documentation

◆ generateBoxLines() [1/2]

agx::UInt AGXPHYSICS_EXPORT agxGL::generateBoxLines ( agx::Vec3f  min,
agx::Vec3f  max,
agx::Line32 *  lines,
agx::UInt  lineIndex 
)

◆ generateBoxLines() [2/2]

agx::UInt AGXPHYSICS_EXPORT agxGL::generateBoxLines ( const agx::Vec3f &  min,
const agx::Vec3f &  max,
const agx::AffineMatrix4x4f &  transform,
agx::Line32 *  lines,
agx::UInt  lineIndex 
)

◆ getCurrentContext()

ContextHandle AGXCORE_EXPORT agxGL::getCurrentContext ( )

◆ hasContext()

bool AGXCORE_EXPORT agxGL::hasContext ( )

◆ init()

void AGXCORE_EXPORT agxGL::init ( )

◆ operator<<() [1/4]

std::ostream & agxGL::operator<< ( std::ostream &  output,
const RenderBoxIndices &   
)

Definition at line 59 of file RenderBox.h.

◆ operator<<() [2/4]

std::ostream & agxGL::operator<< ( std::ostream &  output,
const RenderBoxNormals &   
)

Definition at line 65 of file RenderBox.h.

◆ operator<<() [3/4]

std::ostream & agxGL::operator<< ( std::ostream &  output,
const RenderBoxOutlines &   
)

Definition at line 71 of file RenderBox.h.

◆ operator<<() [4/4]

std::ostream & agxGL::operator<< ( std::ostream &  output,
const RenderBoxVertices &   
)

Definition at line 53 of file RenderBox.h.

◆ renderBox() [1/3]

void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::AffineMatrix4x4 &  transform,
const agx::Vec3 &  halfLengths,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderBox() [2/3]

void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::Vec3 &  halfLengths,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderBox() [3/3]

void AGXPHYSICS_EXPORT agxGL::renderBox ( const agx::Vec3 &  min,
const agx::Vec3 &  max,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderCapsule() [1/2]

void AGXPHYSICS_EXPORT agxGL::renderCapsule ( agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderCapsule() [2/2]

void AGXPHYSICS_EXPORT agxGL::renderCapsule ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderCylinder() [1/2]

void AGXPHYSICS_EXPORT agxGL::renderCylinder ( agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderCylinder() [2/2]

void AGXPHYSICS_EXPORT agxGL::renderCylinder ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
agx::Real  height,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderLine() [1/2]

void AGXPHYSICS_EXPORT agxGL::renderLine ( const agx::AffineMatrix4x4 &  transform,
const agx::Vec3 &  start,
const agx::Vec3 &  end,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderLine() [2/2]

void AGXPHYSICS_EXPORT agxGL::renderLine ( const agx::Vec3 &  start,
const agx::Vec3 &  end,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderPlane()

void AGXPHYSICS_EXPORT agxGL::renderPlane ( const agx::AffineMatrix4x4 &  trans,
const agx::Vec3 &  normal,
agx::Real  distance,
const agx::Vec4 &  color 
)

◆ renderSphere() [1/2]

void AGXPHYSICS_EXPORT agxGL::renderSphere ( agx::Real  radius,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ renderSphere() [2/2]

void AGXPHYSICS_EXPORT agxGL::renderSphere ( const agx::AffineMatrix4x4 &  transform,
agx::Real  radius,
const agx::Vec4 &  color = agx::Vec4(1) 
)

◆ setCurrentContext()

void AGXCORE_EXPORT agxGL::setCurrentContext ( ContextHandle  context)

Variable Documentation

◆ initEvent

AGXCORE_EXPORT agx::Event agxGL::initEvent
extern