/// <summary> /// Initializes a new instance of the <see cref="RenderTargetTextureResource" /> class. /// </summary> /// <param name="creationMode">Tells this object which texture to create.</param> public RenderTargetTextureResource(RenderTargetCreationMode creationMode) { _creationMode = creationMode; _width = -1; _height = -1; _viewportF = new Viewport(); _shaderResourceCreated = false; }
/// <summary> /// Initializes a new instance of the <see cref="RenderTargetTextureResource" /> class. /// </summary> /// <param name="creationMode">Tells this object which texture to create.</param> public RenderTargetTextureResource(RenderTargetCreationMode creationMode) : base() { m_creationMode = creationMode; m_width = -1; m_heigth = -1; m_viewportF = new SharpDX.Mathematics.Interop.RawViewportF(); m_shaderResourceCreated = false; }