Show / Hide Table of Contents

Class ComputeEffect

Class that contains information on how to build a compute shader program.

Inheritance
System.Object
SceneComponent
Effect
ComputeEffect
Implements
IComponent
System.IDisposable
Inherited Members
Effect.UniformParameters
Effect.RendererStates
Effect.EffectChanged
Effect.EffectManagerEventArgs
Effect.SessionUniqueIdentifier
Effect.SetFxParam<T>(String, T)
Effect.SetFxParam<T>(Int32, T)
Effect.GetFxParam<T>(String)
Effect.Equals(Object)
Effect.Equals(Effect)
Effect.GetHashCode()
Effect.Dispose()
Effect.Dispose(Boolean)
SceneComponent.Name
SceneComponent.Active
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.Engine.Core.Effects
Assembly: Fusee.Engine.Core.dll
Syntax
public class ComputeEffect : Effect, IComponent, IDisposable

Constructors

ComputeEffect(String, IEnumerable<IFxParamDeclaration>)

Creates a new instance.

Declaration
public ComputeEffect(string shaderCode, IEnumerable<IFxParamDeclaration> effectParameters)
Parameters
Type Name Description
System.String shaderCode

The compute shader code.

System.Collections.Generic.IEnumerable<IFxParamDeclaration> effectParameters

The uniform parameters as collections of IFxParamDeclaration.

Properties

ComputeShaderSrc

The Compute Shader code.

Declaration
public string ComputeShaderSrc { get; protected set; }
Property Value
Type Description
System.String

Implements

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