S3DR_SelectTexture()

Syntax

S3DR_SelectTexture(#Sprite)

Description

This command selects the Sprite for drawing with S3DR_Draw3D(),S3DR_DrawBillboard() and S3DR_DrawMesh().
The Sprite must be created with the #PB_Sprite_Texture flag.

This command must be inside of a S3DR_BeginReal3D()...S3DR_EndReal3D() block.
If the function fails, it returns nonzero.

Supported OS

Windows

Sprite3DReal - Index