Rig3DSampleScene() : mMouseX(0.0f), mMouseY(0.0f), mAllocator(2048), mRenderer(nullptr), mCubeMesh(nullptr), mQuadMesh(nullptr), mRenderContext(nullptr), mBlurShaderResource(nullptr), mSphereShaderResource(nullptr), mVertexShader(nullptr), mPixelShader(nullptr), mSCPixelShader(nullptr), mQuadVertexShader(nullptr), mQuadBlurPixelShader(nullptr), mMotionBlurPixelShader(nullptr), mSphereColliders(nullptr) { mOptions.mWindowCaption = "Rig3D Sample"; mOptions.mWindowWidth = 800; mOptions.mWindowHeight = 600; mOptions.mGraphicsAPI = GRAPHICS_API_DIRECTX11; mOptions.mFullScreen = false; mBlurType = BLUR_TYPE_NONE; mClearColor = { 0.2f, 0.2f, 0.2f, 1.0f }; mMeshLibrary.SetAllocator(&mAllocator); }
Rig3DSampleScene() : mAllocator(1024) { mOptions.mWindowCaption = "SIMD Bezier"; mOptions.mWindowWidth = 800; mOptions.mWindowHeight = 600; mOptions.mGraphicsAPI = GRAPHICS_API_DIRECTX11; mOptions.mFullScreen = false; mMeshLibrary.SetAllocator(&mAllocator); size_t a = alignof(Bezier); }
Rig3DSampleScene() : mAllocator(1024), mCubeMesh(nullptr), mRenderer(nullptr), mVertexShader(nullptr), mPixelShader(nullptr), mShaderResource(nullptr) { mOptions.mWindowCaption = "Key Frame Sample"; mOptions.mWindowWidth = 800; mOptions.mWindowHeight = 600; mOptions.mGraphicsAPI = GRAPHICS_API_DIRECTX11; mOptions.mFullScreen = false; mAnimationTime = 0.0f; mIsPlaying = false; mMeshLibrary.SetAllocator(&mAllocator); mInterpolationMode = INTERPOLATION_MODE_LINEAR; }