AGI STK Graphics 11 Send comments on this topic.
InitializeWithSetHint Method (IAgStkGraphicsSurfaceMeshPrimitiveFactory)
See Also 
SetHint





Description

Initializes a surface mesh primitive with the specified setHint. This is equivalent to constructing a surface mesh with the specified setHint and a Surface Mesh Rendering Method of Automatic.

Syntax

[Visual Basic .NET]
Public Function InitializeWithSetHint( _
   ByVal SetHint As AgEStkGraphicsSetHint _
) As IAgStkGraphicsSurfaceMeshPrimitive

[C#]
public IAgStkGraphicsSurfaceMeshPrimitive InitializeWithSetHint(
AgEStkGraphicsSetHint SetHint
);

[Managed C++]
public: IAgStkGraphicsSurfaceMeshPrimitive^ InitializeWithSetHint(
AgEStkGraphicsSetHint SetHint
);

[Java]
public IAgStkGraphicsSurfaceMeshPrimitive initializeWithSetHint(
AgEStkGraphicsSetHint SetHint
);

[Unmanaged C++]
public: HRESULT InitializeWithSetHint(
AgEStkGraphicsSetHint SetHint,
IAgStkGraphicsSurfaceMeshPrimitive ** ReturnValue
);

Parameters

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.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1