Guest User

Untitled

a guest
Oct 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. public class videoSettings {
  2. private int nWidth = 800; // Display Width
  3. private int nHeight = 600; // Display Height
  4. private int nDepth = 0; // Color Depth
  5. private bool bGodrays = 0; // God Rays (lighting effect)
  6. private bool bHdr = 0; // HDR (lighting effect)
  7. private bool bDsao = 0; // SSAO (lighting effect)
  8. private bool bBloom = 0; // Bloom (lighting effect)
  9. private bool bAa = 0; // AntiAliasing
  10. private bool bAf = 0; // Anistropic Filtering
  11. private bool bTf = 0; // Texture Filtering
  12. private bool bSs = 1; // Show Core statistics
  13.  
  14. public int Width
  15. {
  16. get
  17. {
  18. return nWidth;
  19. }
  20. set
  21. {
  22. nWidth = value;
  23. }
  24. }
  25.  
  26. public int Height
  27. {
  28. get
  29. {
  30. return nHeight;
  31. }
  32. set
  33. {
  34. nHeight = value;
  35. }
  36. }
  37.  
  38. public int Depth
  39. {
  40. get
  41. {
  42. return nDepth;
  43. }
  44. set
  45. {
  46. nDepth = value;
  47. }
  48. }
  49.  
  50. public bool Godrays
  51. {
  52. get
  53. {
  54. return bGodrays;
  55. }
  56. set
  57. {
  58. bGodrays = value;
  59. }
  60. }
  61.  
  62. public bool HDR
  63. {
  64. get
  65. {
  66. return bHdr;
  67. }
  68. set
  69. {
  70. bHdr = value;
  71. }
  72. }
  73.  
  74. public bool DSAO
  75. {
  76. get
  77. {
  78. return bDsao;
  79. }
  80. set
  81. {
  82. bDsao = value;
  83. }
  84. }
  85.  
  86. public bool Bloom
  87. {
  88. get
  89. {
  90. return bBloom;
  91. }
  92. set
  93. {
  94. bBloom = value;
  95. }
  96. }
  97.  
  98. public bool AA
  99. {
  100. get
  101. {
  102. return bAa;
  103. }
  104. set
  105. {
  106. bAa = value;
  107. }
  108. }
  109.  
  110. public bool TF
  111. {
  112. get
  113. {
  114. return bTf;
  115. }
  116. set
  117. {
  118. bTf = value;
  119. }
  120. }
  121.  
  122. public bool SS
  123. {
  124. get
  125. {
  126. return bSs;
  127. }
  128. set
  129. {
  130. bSs = value;
  131. }
  132. }
  133. }
Add Comment
Please, Sign In to add comment