Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.01 KB

File metadata and controls

44 lines (34 loc) · 1.01 KB

CreateTextureBitmapD

Description

This function takes a shader record and creates a Texture bitmap.

FUNCTION CreateTextureBitmapD(parentShaderRecord : HANDLE): HANDLE;
def vs.CreateTextureBitmapD(parentShaderRecord):
    return HANDLE

Parameters

Name Type Description
parentShaderRecord HANDLE This is the shader record input that the texture bitmap will be attached to.

Examples

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))

See Also

VS Functions: SetTextureBitmap | CreateShaderRecord

Version

Availability: from Vectorworks 2019

Category