C# Класс Protogame.DefaultGraphicsBlit

A default implementation of IGraphicsBlit.
Наследование: IGraphicsBlit
Показать файл Открыть проект

Открытые методы

Метод Описание
Blit ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destination = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
BlitMRT ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations, IEffect shader, IEffectParameterSet effectParameterSet, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
DefaultGraphicsBlit ( IAssetManagerProvider assetManagerProvider ) : Microsoft.Xna.Framework

Приватные методы

Метод Описание
BlitInternal ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void

Описание методов

Blit() публичный Метод

public Blit ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destination = null, IEffect shader = null, IEffectParameterSet effectParameterSet = null, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
renderContext IRenderContext
source Microsoft.Xna.Framework.Graphics.Texture2D
destination Microsoft.Xna.Framework.Graphics.RenderTarget2D
shader IEffect
effectParameterSet IEffectParameterSet
blendState Microsoft.Xna.Framework.Graphics.BlendState
offset Microsoft.Xna.Framework.Vector2
size Microsoft.Xna.Framework.Vector2
Результат void

BlitMRT() публичный Метод

public BlitMRT ( IRenderContext renderContext, Microsoft.Xna.Framework.Graphics.Texture2D source, RenderTarget2D destinations, IEffect shader, IEffectParameterSet effectParameterSet, BlendState blendState = null, Vector2 offset = null, Vector2 size = null ) : void
renderContext IRenderContext
source Microsoft.Xna.Framework.Graphics.Texture2D
destinations Microsoft.Xna.Framework.Graphics.RenderTarget2D
shader IEffect
effectParameterSet IEffectParameterSet
blendState Microsoft.Xna.Framework.Graphics.BlendState
offset Microsoft.Xna.Framework.Vector2
size Microsoft.Xna.Framework.Vector2
Результат void

DefaultGraphicsBlit() публичный Метод

public DefaultGraphicsBlit ( IAssetManagerProvider assetManagerProvider ) : Microsoft.Xna.Framework
assetManagerProvider IAssetManagerProvider
Результат Microsoft.Xna.Framework