Class ComputeShaderNode
Inheritance
System.Object
ComputeShaderNode
Assembly: Mixture.Runtime.dll
Syntax
[Serializable]
public abstract class ComputeShaderNode : MixtureNode
Fields
|
Improve this Doc
View Source
computeShader
Declaration
[HideInInspector]
public ComputeShader computeShader
Field Value
Type |
Description |
UnityEngine.ComputeShader |
|
|
Improve this Doc
View Source
tempRenderTexture
Declaration
protected CustomRenderTexture tempRenderTexture
Field Value
Type |
Description |
UnityEngine.CustomRenderTexture |
|
Properties
|
Improve this Doc
View Source
canProcess
Declaration
public override bool canProcess { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
computeShaderResourcePath
Declaration
protected abstract string computeShaderResourcePath { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
name
Declaration
public override string name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
previewTexture
Declaration
public override Texture previewTexture { get; }
Property Value
Type |
Description |
UnityEngine.Texture |
|
Overrides
|
Improve this Doc
View Source
previewTexturePropertyName
Declaration
public virtual string previewTexturePropertyName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Declaration
public virtual bool showOpenButton { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
tempRenderTextureHasDepthBuffer
Declaration
protected virtual bool tempRenderTextureHasDepthBuffer { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
tempRenderTextureHasMipmaps
Declaration
protected virtual bool tempRenderTextureHasMipmaps { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ClearBuffer(CommandBuffer, ComputeBuffer, Int32, Int32)
Declaration
protected void ClearBuffer(CommandBuffer cmd, ComputeBuffer buffer, int sizeInByte = -1, int offset = 0)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
UnityEngine.ComputeBuffer |
buffer |
|
System.Int32 |
sizeInByte |
|
System.Int32 |
offset |
|
|
Improve this Doc
View Source
ComputeIsValid()
Declaration
public bool ComputeIsValid()
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Disable()
Declaration
protected override void Disable()
Overrides
|
Improve this Doc
View Source
DispatchCompute(CommandBuffer, Int32, Int32, Int32, Int32)
Declaration
protected void DispatchCompute(CommandBuffer cmd, int kernelIndex, int width, int height = 1, int depth = 1)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
System.Int32 |
kernelIndex |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Int32 |
depth |
|
|
Improve this Doc
View Source
DispatchCompute(CommandBuffer, ComputeShader, Int32, Int32, Int32, Int32)
Declaration
protected void DispatchCompute(CommandBuffer cmd, ComputeShader compute, int kernelIndex, int width, int height = 1, int depth = 1)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
UnityEngine.ComputeShader |
compute |
|
System.Int32 |
kernelIndex |
|
System.Int32 |
width |
|
System.Int32 |
height |
|
System.Int32 |
depth |
|
|
Improve this Doc
View Source
DispatchComputePreview(CommandBuffer, Int32)
Declaration
protected void DispatchComputePreview(CommandBuffer cmd, int previewKernel)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
System.Int32 |
previewKernel |
|
|
Improve this Doc
View Source
DispatchComputePreview(CommandBuffer, ComputeShader, Int32)
Declaration
protected void DispatchComputePreview(CommandBuffer cmd, ComputeShader compute, int previewKernel)
Parameters
Type |
Name |
Description |
UnityEngine.Rendering.CommandBuffer |
cmd |
|
UnityEngine.ComputeShader |
compute |
|
System.Int32 |
previewKernel |
|
|
Improve this Doc
View Source
Enable()
Declaration
protected override void Enable()
|
Improve this Doc
View Source
LoadComputeShader(String)
Declaration
protected ComputeShader LoadComputeShader(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
UnityEngine.ComputeShader |
|