AGI STK Graphics 11 Send comments on this topic.
Supported Method (IAgStkGraphicsSurfaceMeshPrimitive)
See Also 
RenderingMethod
The rendering method to check support for.





Description

Determines whether or not the video card supports the surface mesh primitive with the given renderingMethod.

Syntax

[Visual Basic .NET]
Public Function Supported( _
   ByVal RenderingMethod As AgEStkGraphicsSurfaceMeshRenderingMethod _
) As Boolean

[Managed C++]
public: bool Supported(
AgEStkGraphicsSurfaceMeshRenderingMethod RenderingMethod
);

[Unmanaged C++]
public: HRESULT Supported(
AgEStkGraphicsSurfaceMeshRenderingMethod RenderingMethod,
VARIANT_BOOL * ReturnValue
);

Parameters

RenderingMethod
Member Value Description
eStkGraphicsSurfaceMeshRenderingMethodGeometryShader 0 Render the surface mesh using a geometry shader. Requires OpenGL 3.0 or 2.0 with the ARB_geometry_shader4 extension.
eStkGraphicsSurfaceMeshRenderingMethodVertexShader 1 Render the surface mesh using a vertex shader. Requires OpenGL 2.0 or 1.5 with the following extensions:
eStkGraphicsSurfaceMeshRenderingMethodAutomatic 2 Render the surface mesh using an automatically selected method based on the capabilities of the video card.
The rendering method to check support for.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1