[Previous] [Next] [Up] [Home] S3D Pascal Bindings

S3DTK_SetState

Set a S3D state.

Method of:

TS3DTK_FUNCTION_LIST

Syntax:

S3DTK_SetState: function(
  pFuncStruct: Pointer;
  State: ULONG;
  Value: ULONG): ULONG; cdecl;

Parameters:

Returns:

S3DTK_OK if successful, S3DTK_ERR otherwise.

Description:

Set a new S3D state. The actual state will be applied once new triangles are rendered.

States:

The valid values for the State parameter and the potential values the Value parameter can have are the following:

Some state values are actually pointers, in which case the pointers must be casted to ULONG.

Unit: S3DTK

See Also:

S3DTK_GetState (in TS3DTK_FUNCTION_LIST)


[Previous] [Next] [Up] [Home] S3D Pascal Bindings