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






Windows & Linux

Description

Initializes a marker batch primitive with the specified setHint. This is equivalent to constructing a marker batch with a Marker Batch Size Source of FromTexture, a Marker Batch Sort Order of ByTexture, the specified setHint, and a Marker Batch Rendering Method of Automatic.

Syntax

[Visual Basic .NET]
Public Function InitializeWithSetHint( _
   ByVal SetHint As AgEStkGraphicsSetHint _
) As IAgStkGraphicsMarkerBatchPrimitive
[C#]
public IAgStkGraphicsMarkerBatchPrimitive InitializeWithSetHint(
   AgEStkGraphicsSetHint SetHint
);
[Managed C++]
public: IAgStkGraphicsMarkerBatchPrimitive^ InitializeWithSetHint(
   AgEStkGraphicsSetHint SetHint
);
[Java]
public IAgStkGraphicsMarkerBatchPrimitive initializeWithSetHint(
   AgEStkGraphicsSetHint SetHint
);
[Unmanaged C++]
public: HRESULT InitializeWithSetHint(
   AgEStkGraphicsSetHint SetHint,
   IAgStkGraphicsMarkerBatchPrimitive ** ReturnValue
);

Parameters

SetHint
MemberValueDescription
eStkGraphicsSetHintInfrequent0Rendering 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.
eStkGraphicsSetHintPartial1Rendering 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.
eStkGraphicsSetHintFrequent2Rendering 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

© 2018 Analytical Graphics, Inc. All Rights Reserved.