Esempio n. 1
0
 internal SkeletonPtr getObject(IntPtr nativeMaterial)
 {
     return(new SkeletonPtr(skeletonPtrCollection.getObject(nativeMaterial)));
 }
 internal HardwarePixelBufferSharedPtr getPixelBufferObject(IntPtr hardwarePixelBuffer)
 {
     return(new HardwarePixelBufferSharedPtr(pixelBuffers.getObject(hardwarePixelBuffer)));
 }
Esempio n. 3
0
 internal MeshPtr getObject(IntPtr nativeMaterial)
 {
     return(new MeshPtr(meshPtrCollection.getObject(nativeMaterial)));
 }
 internal HardwareIndexBufferSharedPtr getIndexBufferObject(IntPtr hardwareIndexBuffer)
 {
     return(new HardwareIndexBufferSharedPtr(indexBuffers.getObject(hardwareIndexBuffer)));
 }
 internal HardwareVertexBufferSharedPtr getVertexBufferObject(IntPtr hardwareVertexBuffer)
 {
     return(new HardwareVertexBufferSharedPtr(vertexBuffers.getObject(hardwareVertexBuffer)));
 }
Esempio n. 6
0
 internal static OgreDataStreamPtr getObject(IntPtr dataStream)
 {
     return(new OgreDataStreamPtr(dataStreamCollection.getObject(dataStream)));
 }
Esempio n. 7
0
 internal HighLevelGpuProgramSharedPtr getObject(IntPtr nativeGpuProgram)
 {
     return(new HighLevelGpuProgramSharedPtr(gpuProgramWrappers.getObject(nativeGpuProgram)));
 }
Esempio n. 8
0
 internal TexturePtr getObject(IntPtr nativeTexture)
 {
     return(new TexturePtr(textureCollection.getObject(nativeTexture)));
 }
 public GpuSharedParametersPtr createSharedParameters(String name)
 {
     return(new GpuSharedParametersPtr(sharedProgramParametersWrappers.getObject(GpuProgramManager_createSharedParameters(name, sharedProgramParametersWrappers.ProcessWrapperCallback))));
 }
Esempio n. 10
0
 /// <summary>
 /// Get a wrapper around a pointer to a ogre shared pointer for a gpuprogramparameters object.
 /// </summary>
 /// <param name="gpuProgramParametersSharedPtr"></param>
 /// <returns></returns>
 internal GpuProgramParametersSharedPtr getGpuProgramParametersWrapper(IntPtr gpuProgramParametersSharedPtr)
 {
     return(new GpuProgramParametersSharedPtr(gpuProgramParametersWrappers.getObject(gpuProgramParametersSharedPtr)));
 }