This function takes a shader record and creates a Texture bitmap.
FUNCTION CreateTextureBitmapD(parentShaderRecord : HANDLE): HANDLE;def vs.CreateTextureBitmapD(parentShaderRecord):
return HANDLE| Name | Type | Description |
|---|---|---|
| parentShaderRecord | HANDLE | This is the shader record input that the texture bitmap will be attached to. |
resultH := CreateTextureBitmapD(parentShaderRecord);import vs
# This function takes a shader record and creates a Texture bitmap.
parentShaderRecord = vs.GetObject('MyRecord') # handle to a record format
objHandle = vs.CreateTextureBitmapD(parentShaderRecord)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))VS Functions: SetTextureBitmap | CreateShaderRecord
Availability: from Vectorworks 2019