Wiki > TV3D65 Index > TVScene
CreateAlphaRenderSurface
DESCRIPTION
This function will create a rendersurface that can be used to generate textures that use an alpha channel for transparency.
DECLARATION
| VB.NET | CreateAlphaRenderSurface(iWidth As Integer , iHeight As Integer , bUseDepthBuffer As Boolean , sName As String) As TVRenderSurface |
| C++ | cTVRenderSurface CreateAlphaRenderSurface(int iWidth , int iHeight , bool bUseDepthBuffer , char* sName ) |
PARAMETERS
| NAME | OPTIONAL | DESCRIPTION |
| iWidth | No | Width of the surface. |
| iHeight | No | Height of the surface |
| bUseDepthBuffer | Yes | Use a depth buffer for rendering. |
| sName | Yes | Name of the surface. |
RETURN VALUE
EXAMPLES
TIPS
- Please add any notes or tips for this method.