Initializes a surface mesh primitive with the
specified setHint and renderingMethod.
[Visual Basic .NET] |
---|
Public Function InitializeWithSetHintAndRenderingMethod( _
ByVal SetHint As AgEStkGraphicsSetHint, _
ByVal RenderingMethod As AgEStkGraphicsSurfaceMeshRenderingMethod _
) As IAgStkGraphicsSurfaceMeshPrimitive
|
[C#] |
---|
public IAgStkGraphicsSurfaceMeshPrimitive InitializeWithSetHintAndRenderingMethod(
|
[Managed C++] |
---|
public: IAgStkGraphicsSurfaceMeshPrimitive^ InitializeWithSetHintAndRenderingMethod(
|
[Java] |
---|
public IAgStkGraphicsSurfaceMeshPrimitive initializeWithSetHintAndRenderingMethod(
|
[Unmanaged C++] |
---|
public: HRESULT InitializeWithSetHintAndRenderingMethod(
|
- SetHint
-
Member Value Description eStkGraphicsSetHintInfrequent 0 Rendering is optimized for static geometry. The primitive's vertices are not going to be updated with Set() or SetPartial() calls. Calls to SetPartial() will fail. Calls to Set() are allowed but may not be as efficient as SetHintFrequent. eStkGraphicsSetHintPartial 1 Rendering is optimized for dynamic geometry. The primitive's vertices are expected to be updated with SetPartial() - some or all of the vertices will change but the number of vertices will not. eStkGraphicsSetHintFrequent 2 Rendering is optimized for streaming geometry. The primitive's vertices are expected to be updated with Set() - all the vertices will change and/or the number of vertices will change. Calls to SetPartial() will fail. - 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.