Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
DrawRectShader
Syntax
C++
int DrawRectShader(IFunctionHandler * pH);
Parameters 
Description 
pszShaderName 
Shader name. 
Rectangular x position. 
Rectangular y position. 
Rectangular width. 
Rectangular height. 

Syntax: System.DrawRectShader( const char *pszShaderName, float x, float y, float w, float h, float r, float g, float b, float a ) 

Use the shader to draw a rectangular. 

 

Copyright (c) 2012. All rights reserved.