Provides script language access to C++ objects of this type.
Class Hierarchy | Type » GraphicsFeature |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
string | Name | Sets the name of the feature. For example, this might be an OpenGL identifier, such as 'gl_PrimitiveID' or the name of an OpenGL® extension such as GL_EXT_image_load_formatted, that you wish to associate the availability of, with a specific GLSL version. Note that you must perform your own tests to determine if a feature is available or not. There is example code APP_SERVICE_SHELL_UTIL.SSL, which is in the application scripts folder. |
int32 | ShadingLanguageVersion | The OpenGL® shading language version associated with the feature. |
int32 | Supported | Sets or gets the Supported flag, which indicates whether or not the feature is supported by the associated OpenGL® shading language version. |