23 if (@delegate !=
null && @
delegate ==
null)
32 if (@delegate !=
null && @
delegate ==
null)
50 long num2 = 16843009
L;
64 if (
"Only TraceListeners can be added to a TraceListenerCollection." ==
null)
128 int value = num2.m_value;
226 if (usingRenderTargets)
233 if (!usingRenderTargets)
class f__AnonymousType0<< Count > j__TPar
Microsoft.Xna.Framework.Graphics.Texture2D GameDistortionTarget
static DistortionRenderTargetManager Instance
static float Clamp(float value, float min, float max)
static Delegate Combine(Delegate a, Delegate b)
static Delegate Remove(Delegate source, Delegate value)
static byte Min(byte val1, byte val2)
static byte Max(byte val1, byte val2)
override void Update(GameTime gameTime)
const float DISTORTION_BUFFER_SCALE
Asset< Texture2D > _rippleShapeTexture
Texture2D[] _viscosityMaskChain
void QueueRipple(Vector2 position, float strength, Vector2 size, RippleShape shape=RippleShape.Square, float rotation=0f)
WaterShaderData.Ripple[] _rippleQueue
void PreDraw(GameTime gameTime)
Action< TileBatch > OnWaveDraw
void QueueRipple(Vector2 position, Color waveData, Vector2 size, RippleShape shape=RippleShape.Square, float rotation=0f)
const int MAX_RIPPLES_QUEUED
void ValidateRenderTargets()
void ReleaseRenderTargets()
const float WAVE_FRAMERATE
void InitRenderTargets(int width, int height)
void QueueRipple(Vector2 position, float strength=1f, RippleShape shape=RippleShape.Square, float rotation=0f)
WaterShaderData(string passName)
const int MAX_QUEUED_STEPS
Vector2 _lastDistortionDrawOffset
static Microsoft.Xna.Framework.Vector2 screenPosition
static bool IsGraphicsDeviceAvailable
static WaterRenderTargetManager Instance
Microsoft.Xna.Framework.Graphics.Texture2D GameRenderTarget
readonly RippleShape Shape
Ripple(Vector2 position, Color waveData, Vector2 size, RippleShape shape, float rotation)
readonly Vector2 Position
static readonly Rectangle[] RIPPLE_SHAPE_SOURCE_RECTS
Rectangle SourceRectangle