ActiViz .NET
5.8.0
|
vtkGLSLShaderDeviceAdapter - adapter to pass generic vertex attributes to the rendering pipeline to be used in a GLSL shader. More...
Public Member Functions | |
vtkGLSLShaderDeviceAdapter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkGLSLShaderDeviceAdapter () | |
Undocumented Block. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkGLSLShaderDeviceAdapter | NewInstance () |
Undocumented Block. | |
override void | PrepareForRender () |
Descrition: This method is called before rendering. This gives the shader device adapter an opportunity to collect information, such as attribute indices that it will need while rendering. | |
override void | SendAttribute (string attrname, int components, int type, IntPtr attribute, uint offset) |
Sends a single attribute to the graphics card. The attrname parameter identifies the name of attribute. The components parameter gives the number of components in the attribute. In general, components must be between 1-4, but a rendering system may impose even more constraints. The type parameter is a VTK type enumeration (VTK_FLOAT, VTK_INT, etc.). Again, a rendering system may not support all types for all attributes. The attribute parameter is the actual data for the attribute. If offset is specified, it is added to attribute pointer after it has been casted to the proper type. If attribute is NULL, the OpenGL ID for the attribute will simply be cached. | |
Static Public Member Functions | |
static new vtkGLSLShaderDeviceAdapter | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkGLSLShaderDeviceAdapter | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkGLSLShaderDeviceAdapter" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "26vtkGLSLShaderDeviceAdapter" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkGLSLShaderDeviceAdapter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkGLSLShaderDeviceAdapter_IsA_01 (HandleRef pThis, string type) |
static internal int | vtkGLSLShaderDeviceAdapter_IsTypeOf_02 (string type) |
static internal IntPtr | vtkGLSLShaderDeviceAdapter_NewInstance_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkGLSLShaderDeviceAdapter_PrepareForRender_05 (HandleRef pThis) |
static internal IntPtr | vtkGLSLShaderDeviceAdapter_SafeDownCast_06 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkGLSLShaderDeviceAdapter_SendAttribute_07 (HandleRef pThis, string attrname, int components, int type, IntPtr attribute, uint offset) |
Static Private Member Functions | |
static | vtkGLSLShaderDeviceAdapter () |
Automatically generated type registration mechanics. |
vtkGLSLShaderDeviceAdapter - adapter to pass generic vertex attributes to the rendering pipeline to be used in a GLSL shader.
Description vtkShaderDeviceAdapter subclass for GLSL. Thanks Support for generic vertex attributes in VTK was contributed in collaboration with Stephane Ploix at EDF.
static Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
override void Kitware.VTK.vtkGLSLShaderDeviceAdapter.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
override int Kitware.VTK.vtkGLSLShaderDeviceAdapter.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
static new int Kitware.VTK.vtkGLSLShaderDeviceAdapter.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
static new vtkGLSLShaderDeviceAdapter Kitware.VTK.vtkGLSLShaderDeviceAdapter.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
override void Kitware.VTK.vtkGLSLShaderDeviceAdapter.PrepareForRender | ( | ) | [virtual] |
Descrition: This method is called before rendering. This gives the shader device adapter an opportunity to collect information, such as attribute indices that it will need while rendering.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
static new vtkGLSLShaderDeviceAdapter Kitware.VTK.vtkGLSLShaderDeviceAdapter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
override void Kitware.VTK.vtkGLSLShaderDeviceAdapter.SendAttribute | ( | string | attrname, |
int | components, | ||
int | type, | ||
IntPtr | attribute, | ||
uint | offset | ||
) | [virtual] |
Sends a single attribute to the graphics card. The attrname parameter identifies the name of attribute. The components parameter gives the number of components in the attribute. In general, components must be between 1-4, but a rendering system may impose even more constraints. The type parameter is a VTK type enumeration (VTK_FLOAT, VTK_INT, etc.). Again, a rendering system may not support all types for all attributes. The attribute parameter is the actual data for the attribute. If offset is specified, it is added to attribute pointer after
it has been casted to the proper type. If attribute is NULL, the OpenGL ID for the attribute will simply be cached.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
static internal int Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_IsA_01 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_IsTypeOf_02 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_NewInstance_04 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_PrepareForRender_05 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_SafeDownCast_06 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkGLSLShaderDeviceAdapter.vtkGLSLShaderDeviceAdapter_SendAttribute_07 | ( | HandleRef | pThis, |
string | attrname, | ||
int | components, | ||
int | type, | ||
IntPtr | attribute, | ||
uint | offset | ||
) | [private] |
new readonly string Kitware.VTK.vtkGLSLShaderDeviceAdapter.MRClassNameKey = "26vtkGLSLShaderDeviceAdapter" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.
new const string Kitware.VTK.vtkGLSLShaderDeviceAdapter.MRFullTypeName = "Kitware.VTK.vtkGLSLShaderDeviceAdapter" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkShaderDeviceAdapter.