Show / Hide Table of Contents

Class RenderTargetBlazor

Provides Blazor-specific overrides to the RenderTargets Set[..]Tex() methods.

Inheritance
System.Object
RenderTarget
RenderTargetBlazor
Implements
IRenderTarget
System.IDisposable
Inherited Members
RenderTarget.DeleteBuffers
RenderTarget.Disposed
RenderTarget.RenderTextures
RenderTarget.GBufferHandle
RenderTarget.DepthBufferHandle
RenderTarget.TextureResolution
RenderTarget.IsDepthOnly
RenderTarget.SetTextureFromRenderTarget(IRenderTarget, RenderTargetTextureTypes)
RenderTarget.Dispose()
RenderTarget.Dispose(Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Imp.Graphics.Blazor
Assembly: Fusee.Engine.Imp.Graphics.Blazor.dll
Syntax
public class RenderTargetBlazor : RenderTarget, IRenderTarget, IDisposable

Constructors

RenderTargetBlazor(TexRes)

Creates a new instance of type RenderTargetBlazor.

Declaration
public RenderTargetBlazor(TexRes texRes)
Parameters
Type Name Description
TexRes texRes

The TexRes of this render target.

Methods

SetAlbedoTex()

Generates a albedo and specular (alpha channel) texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetAlbedoTex()
Overrides
RenderTarget.SetAlbedoTex()

SetDepthTex(TextureCompareMode, Compare)

Generates a depth texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetDepthTex(TextureCompareMode compareMode = TextureCompareMode.None, Compare compareFunc = Compare.Less)
Parameters
Type Name Description
TextureCompareMode compareMode
Compare compareFunc
Overrides
RenderTarget.SetDepthTex(TextureCompareMode, Compare)

SetEmissiveTex()

Generates a emissive texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetEmissiveTex()
Overrides
RenderTarget.SetEmissiveTex()

SetNormalTex()

Generates a normal texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetNormalTex()
Overrides
RenderTarget.SetNormalTex()

SetPositionTex()

Generates a position texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetPositionTex()
Overrides
RenderTarget.SetPositionTex()

SetSpecularTex()

Generates a specular texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetSpecularTex()
Overrides
RenderTarget.SetSpecularTex()

SetSSAOTex()

Generates a SSAO texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetSSAOTex()
Overrides
RenderTarget.SetSSAOTex()

SetSubsurfaceTex()

Generates a subsurface texture and sets it at the correct position in the RenderTextures Array.

Declaration
public override void SetSubsurfaceTex()
Overrides
RenderTarget.SetSubsurfaceTex()

SetTexture(IWritableTexture, RenderTargetTextureTypes)

Sets a RenderTexture into the correct position in the RederTexture array.

Declaration
public override void SetTexture(IWritableTexture src, RenderTargetTextureTypes tex)
Parameters
Type Name Description
IWritableTexture src

The source RenderTexture.

RenderTargetTextureTypes tex

The type of the texture.

Overrides
RenderTarget.SetTexture(IWritableTexture, RenderTargetTextureTypes)

Implements

IRenderTarget
System.IDisposable
Generated by DocFX
GitHub Repo
Back to top