Reign.Video.Abstraction.RenderTargetAPI.New C# (CSharp) Méthode

New() public static méthode

public static New ( IDisposableResource parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : IRenderTarget
parent IDisposableResource
width int
height int
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
Résultat IRenderTarget
        public static IRenderTarget New(IDisposableResource parent, int width, int height, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader.LoadedCallbackMethod loadedCallback)
        {
            return New(VideoAPI.DefaultAPI, parent, (Image)null, width, height, false, multiSampleType, surfaceFormat, depthStencilFormat, renderTargetUsage, usage, loadedCallback);
        }

Same methods

RenderTargetAPI::New ( VideoTypes videoType, IDisposableResource parent, Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : IRenderTarget
RenderTargetAPI::New ( VideoTypes videoType, IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : IRenderTarget
RenderTargetAPI