CelestiaRenderer.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
源码类别:

OpenGL

开发平台:

Visual C++

  1. //
  2. //  CelestiaRenderer.h
  3. //  celestia
  4. //
  5. //  Created by Bob Ippolito on Fri Jun 07 2002.
  6. //  Copyright (c) 2002 Chris Laurel. All rights reserved.
  7. //
  8. @interface CelestiaRenderer : NSObject {
  9.     NSValue* _data;
  10. }
  11. -(NSDictionary*)renderFlags;
  12. -(void)setRenderFlags:(NSDictionary*)flags;
  13. -(void)setRenderFlag:(NSString*)key value:(NSNumber*)value;
  14. -(NSNumber*)renderFlag:(NSString*)key;
  15. -(NSDictionary*)labelFlags;
  16. -(void)setLabelFlags:(NSDictionary*)flags;
  17. -(void)setLabelFlag:(NSString*)key value:(NSNumber*)value;
  18. -(NSNumber*)labelFlag:(NSString*)key;
  19. -(NSNumber*)ambientLightLevel;
  20. -(void)setAmbientLightLevel:(NSNumber*)level;
  21. -(void)setMinimumOrbitSize:(NSNumber*)pixels;
  22. -(BOOL)isFragmentShaderEnabled;
  23. -(NSNumber*)fragmentShaderEnabled;
  24. -(void)setFragmentShaderEnabled:(NSNumber*)enable;
  25. -(BOOL)isFragmentShaderSupported;
  26. -(BOOL)isVertexShaderEnabled;
  27. -(NSNumber*)vertexShaderEnabled;
  28. -(void)setVertexShaderEnabled:(NSNumber*)enable;
  29. -(BOOL)isVertexShaderSupported;
  30. /*
  31. -(NSNumber*)saturationMagnitude;
  32. -(void)setSaturationMagnitude:(NSNumber*)mag;
  33. -(NSNumber*)brightnessBias;
  34. -(void)setBrightnessBias:(NSNumber*)bias;
  35. */
  36. -(NSNumber*)resolution;
  37. -(void)setResolution:(NSNumber*)res;
  38. - (int) getOrbitmask;
  39. - (void) setOrbitMask: (int) mask;
  40. -(void)archive;
  41. -(void)unarchive;
  42. @end