Function GetTextureBitmap returns the bitmap object attached to the referenced texture.
FUNCTION GetTextureBitmap(shaderRecord : HANDLE): HANDLE;def vs.GetTextureBitmap(shaderRecord):
return HANDLE| Name | Type | Description |
|---|---|---|
| shaderRecord | HANDLE | Handle to shader record. |
Returns the bitmap object attached to the shader record, NIL if none
resultH := GetTextureBitmap(shaderRecord);import vs
# Function GetTextureBitmap returns the bitmap object attached to the
# referenced texture.
shaderRecord = vs.GetObject('MyRecord') # handle to a record format
objHandle = vs.GetTextureBitmap(shaderRecord)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))Availability: from VectorWorks8.0