Class CommandBuffer
Inheritance
CommandBuffer
Assembly: UnityEngine.dll
Syntax
public class CommandBuffer : IDisposable
Constructors
|
Improve this Doc
View Source
CommandBuffer()
Declaration
Properties
name
Declaration
public string name { get; set; }
Property Value
sizeInBytes
Declaration
public int sizeInBytes { get; }
Property Value
Methods
BeginSample(String)
Declaration
public void BeginSample(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
Blit(RenderTargetIdentifier, RenderTargetIdentifier)
Declaration
public void Blit(RenderTargetIdentifier source, RenderTargetIdentifier dest)
Parameters
|
Improve this Doc
View Source
Blit(RenderTargetIdentifier, RenderTargetIdentifier, Material)
Declaration
public void Blit(RenderTargetIdentifier source, RenderTargetIdentifier dest, Material mat)
Parameters
|
Improve this Doc
View Source
Blit(RenderTargetIdentifier, RenderTargetIdentifier, Material, Int32)
Declaration
public void Blit(RenderTargetIdentifier source, RenderTargetIdentifier dest, Material mat, int pass)
Parameters
|
Improve this Doc
View Source
Blit(RenderTargetIdentifier, RenderTargetIdentifier, Vector2, Vector2)
Declaration
public void Blit(RenderTargetIdentifier source, RenderTargetIdentifier dest, Vector2 scale, Vector2 offset)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTargetIdentifier)
Declaration
public void Blit(Texture source, RenderTargetIdentifier dest)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTargetIdentifier, Material)
Declaration
public void Blit(Texture source, RenderTargetIdentifier dest, Material mat)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTargetIdentifier, Material, Int32)
Declaration
public void Blit(Texture source, RenderTargetIdentifier dest, Material mat, int pass)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTargetIdentifier, Vector2, Vector2)
Declaration
public void Blit(Texture source, RenderTargetIdentifier dest, Vector2 scale, Vector2 offset)
Parameters
Clear()
Declaration
ClearRandomWriteTargets()
Declaration
public void ClearRandomWriteTargets()
|
Improve this Doc
View Source
ClearRenderTarget(Boolean, Boolean, Color)
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor)
Parameters
ClearRenderTarget(Boolean, Boolean, Color, Single)
Declaration
public void ClearRenderTarget(bool clearDepth, bool clearColor, Color backgroundColor, float depth)
Parameters
|
Improve this Doc
View Source
ConvertTexture(RenderTargetIdentifier, Int32, RenderTargetIdentifier, Int32)
Declaration
public void ConvertTexture(RenderTargetIdentifier src, int srcElement, RenderTargetIdentifier dst, int dstElement)
Parameters
|
Improve this Doc
View Source
ConvertTexture(RenderTargetIdentifier, RenderTargetIdentifier)
Declaration
public void ConvertTexture(RenderTargetIdentifier src, RenderTargetIdentifier dst)
Parameters
CopyCounterValue(ComputeBuffer, ComputeBuffer, UInt32)
Declaration
public void CopyCounterValue(ComputeBuffer src, ComputeBuffer dst, uint dstOffsetBytes)
Parameters
|
Improve this Doc
View Source
CopyTexture(RenderTargetIdentifier, Int32, Int32, Int32, Int32, Int32, Int32, RenderTargetIdentifier, Int32, Int32, Int32, Int32)
Declaration
public void CopyTexture(RenderTargetIdentifier src, int srcElement, int srcMip, int srcX, int srcY, int srcWidth, int srcHeight, RenderTargetIdentifier dst, int dstElement, int dstMip, int dstX, int dstY)
Parameters
|
Improve this Doc
View Source
CopyTexture(RenderTargetIdentifier, Int32, Int32, RenderTargetIdentifier, Int32, Int32)
Declaration
public void CopyTexture(RenderTargetIdentifier src, int srcElement, int srcMip, RenderTargetIdentifier dst, int dstElement, int dstMip)
Parameters
|
Improve this Doc
View Source
CopyTexture(RenderTargetIdentifier, Int32, RenderTargetIdentifier, Int32)
Declaration
public void CopyTexture(RenderTargetIdentifier src, int srcElement, RenderTargetIdentifier dst, int dstElement)
Parameters
|
Improve this Doc
View Source
CopyTexture(RenderTargetIdentifier, RenderTargetIdentifier)
Declaration
public void CopyTexture(RenderTargetIdentifier src, RenderTargetIdentifier dst)
Parameters
|
Improve this Doc
View Source
CreateGPUFence()
Declaration
public GPUFence CreateGPUFence()
Returns
|
Improve this Doc
View Source
CreateGPUFence(SynchronisationStage)
Declaration
public GPUFence CreateGPUFence(SynchronisationStage stage)
Parameters
Returns
DisableScissorRect()
Declaration
public void DisableScissorRect()
DisableShaderKeyword(String)
Declaration
public void DisableShaderKeyword(string keyword)
Parameters
Type |
Name |
Description |
String |
keyword |
|
|
Improve this Doc
View Source
DispatchCompute(ComputeShader, Int32, Int32, Int32, Int32)
Declaration
public void DispatchCompute(ComputeShader computeShader, int kernelIndex, int threadGroupsX, int threadGroupsY, int threadGroupsZ)
Parameters
|
Improve this Doc
View Source
DispatchCompute(ComputeShader, Int32, ComputeBuffer, UInt32)
Declaration
public void DispatchCompute(ComputeShader computeShader, int kernelIndex, ComputeBuffer indirectBuffer, uint argsOffset)
Parameters
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material)
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32)
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Int32)
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Int32, MaterialPropertyBlock)
Declaration
public void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int submeshIndex, int shaderPass, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Int32, Matrix4x4[])
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Int32, Matrix4x4[], Int32)
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, int count)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Int32, Matrix4x4[], Int32, MaterialPropertyBlock)
Declaration
public void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, int shaderPass, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, ComputeBuffer)
Declaration
public void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, ComputeBuffer, Int32)
Declaration
public void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs, int argsOffset)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Int32, ComputeBuffer, Int32, MaterialPropertyBlock)
Declaration
public void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, int shaderPass, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32)
Declaration
public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount)
Parameters
|
Improve this Doc
View Source
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32, Int32)
Declaration
public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount, int instanceCount)
Parameters
|
Improve this Doc
View Source
DrawProcedural(Matrix4x4, Material, Int32, MeshTopology, Int32, Int32, MaterialPropertyBlock)
Declaration
public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount, int instanceCount, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer)
Declaration
public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs)
Parameters
|
Improve this Doc
View Source
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32)
Declaration
public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset)
Parameters
|
Improve this Doc
View Source
DrawProceduralIndirect(Matrix4x4, Material, Int32, MeshTopology, ComputeBuffer, Int32, MaterialPropertyBlock)
Declaration
public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawRenderer(Renderer, Material)
Declaration
public void DrawRenderer(Renderer renderer, Material material)
Parameters
|
Improve this Doc
View Source
DrawRenderer(Renderer, Material, Int32)
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex)
Parameters
|
Improve this Doc
View Source
DrawRenderer(Renderer, Material, Int32, Int32)
Declaration
public void DrawRenderer(Renderer renderer, Material material, int submeshIndex, int shaderPass)
Parameters
EnableScissorRect(Rect)
Declaration
public void EnableScissorRect(Rect scissor)
Parameters
Type |
Name |
Description |
Rect |
scissor |
|
EnableShaderKeyword(String)
Declaration
public void EnableShaderKeyword(string keyword)
Parameters
Type |
Name |
Description |
String |
keyword |
|
EndSample(String)
Declaration
public void EndSample(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
Finalize()
Declaration
protected void Finalize()
|
Improve this Doc
View Source
GenerateMips(RenderTexture)
Declaration
public void GenerateMips(RenderTexture rt)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32)
Declaration
public void GetTemporaryRT(int nameID, int width, int height)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32, Boolean)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, bool enableRandomWrite)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32, Boolean, RenderTextureMemoryless)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, bool enableRandomWrite, RenderTextureMemoryless memorylessMode)
Parameters
GetTemporaryRT(Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32, Boolean, RenderTextureMemoryless, Boolean)
Declaration
public void GetTemporaryRT(int nameID, int width, int height, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, bool enableRandomWrite, RenderTextureMemoryless memorylessMode, bool useDynamicScale)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, RenderTextureDescriptor)
Declaration
public void GetTemporaryRT(int nameID, RenderTextureDescriptor desc)
Parameters
|
Improve this Doc
View Source
GetTemporaryRT(Int32, RenderTextureDescriptor, FilterMode)
Declaration
public void GetTemporaryRT(int nameID, RenderTextureDescriptor desc, FilterMode filter)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter, RenderTextureFormat format)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing)
Parameters
|
Improve this Doc
View Source
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32, Boolean)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, bool enableRandomWrite)
Parameters
GetTemporaryRTArray(Int32, Int32, Int32, Int32, Int32, FilterMode, RenderTextureFormat, RenderTextureReadWrite, Int32, Boolean, Boolean)
Declaration
public void GetTemporaryRTArray(int nameID, int width, int height, int slices, int depthBuffer, FilterMode filter, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, bool enableRandomWrite, bool useDynamicScale)
Parameters
|
Improve this Doc
View Source
IssuePluginCustomBlit(IntPtr, UInt32, RenderTargetIdentifier, RenderTargetIdentifier, UInt32, UInt32)
Declaration
public void IssuePluginCustomBlit(IntPtr callback, uint command, RenderTargetIdentifier source, RenderTargetIdentifier dest, uint commandParam, uint commandFlags)
Parameters
|
Improve this Doc
View Source
IssuePluginCustomTextureUpdate(IntPtr, Texture, UInt32)
Declaration
[Obsolete("Use IssuePluginCustomTextureUpdateV2 to register TextureUpdate callbacks instead. Callbacks will be passed event IDs kUnityRenderingExtEventUpdateTextureBeginV2 or kUnityRenderingExtEventUpdateTextureEndV2, and data parameter of type UnityRenderingExtTextureUpdateParamsV2.", false)]
public void IssuePluginCustomTextureUpdate(IntPtr callback, Texture targetTexture, uint userData)
Parameters
|
Improve this Doc
View Source
IssuePluginCustomTextureUpdateV1(IntPtr, Texture, UInt32)
Declaration
[Obsolete("Use IssuePluginCustomTextureUpdateV2 to register TextureUpdate callbacks instead. Callbacks will be passed event IDs kUnityRenderingExtEventUpdateTextureBeginV2 or kUnityRenderingExtEventUpdateTextureEndV2, and data parameter of type UnityRenderingExtTextureUpdateParamsV2.", false)]
public void IssuePluginCustomTextureUpdateV1(IntPtr callback, Texture targetTexture, uint userData)
Parameters
|
Improve this Doc
View Source
IssuePluginCustomTextureUpdateV2(IntPtr, Texture, UInt32)
Declaration
public void IssuePluginCustomTextureUpdateV2(IntPtr callback, Texture targetTexture, uint userData)
Parameters
|
Improve this Doc
View Source
IssuePluginEvent(IntPtr, Int32)
Declaration
public void IssuePluginEvent(IntPtr callback, int eventID)
Parameters
|
Improve this Doc
View Source
IssuePluginEventAndData(IntPtr, Int32, IntPtr)
Declaration
public void IssuePluginEventAndData(IntPtr callback, int eventID, IntPtr data)
Parameters
|
Improve this Doc
View Source
Release()
Declaration
ReleaseTemporaryRT(Int32)
Declaration
public void ReleaseTemporaryRT(int nameID)
Parameters
Type |
Name |
Description |
Int32 |
nameID |
|
|
Improve this Doc
View Source
RequestAsyncReadback(ComputeBuffer, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(ComputeBuffer src, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(ComputeBuffer, Int32, Int32, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(ComputeBuffer src, int size, int offset, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(Texture, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(Texture src, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(Texture, Int32, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(Texture src, int mipIndex, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(Texture, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(Texture, Int32, Int32, Int32, Int32, Int32, Int32, Int32, TextureFormat, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
RequestAsyncReadback(Texture, Int32, TextureFormat, Action<AsyncGPUReadbackRequest>)
Declaration
public void RequestAsyncReadback(Texture src, int mipIndex, TextureFormat dstFormat, Action<AsyncGPUReadbackRequest> callback)
Parameters
|
Improve this Doc
View Source
ResolveAntiAliasedSurface(RenderTexture, RenderTexture)
Declaration
public void ResolveAntiAliasedSurface(RenderTexture rt, RenderTexture target = null)
Parameters
SetComputeBufferParam(ComputeShader, Int32, Int32, ComputeBuffer)
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, int nameID, ComputeBuffer buffer)
Parameters
|
Improve this Doc
View Source
SetComputeBufferParam(ComputeShader, Int32, String, ComputeBuffer)
Declaration
public void SetComputeBufferParam(ComputeShader computeShader, int kernelIndex, string name, ComputeBuffer buffer)
Parameters
SetComputeFloatParam(ComputeShader, Int32, Single)
Declaration
public void SetComputeFloatParam(ComputeShader computeShader, int nameID, float val)
Parameters
|
Improve this Doc
View Source
SetComputeFloatParam(ComputeShader, String, Single)
Declaration
public void SetComputeFloatParam(ComputeShader computeShader, string name, float val)
Parameters
|
Improve this Doc
View Source
SetComputeFloatParams(ComputeShader, Int32, Single[])
Declaration
public void SetComputeFloatParams(ComputeShader computeShader, int nameID, params float[] values)
Parameters
|
Improve this Doc
View Source
SetComputeFloatParams(ComputeShader, String, Single[])
Declaration
public void SetComputeFloatParams(ComputeShader computeShader, string name, params float[] values)
Parameters
SetComputeIntParam(ComputeShader, Int32, Int32)
Declaration
public void SetComputeIntParam(ComputeShader computeShader, int nameID, int val)
Parameters
|
Improve this Doc
View Source
SetComputeIntParam(ComputeShader, String, Int32)
Declaration
public void SetComputeIntParam(ComputeShader computeShader, string name, int val)
Parameters
|
Improve this Doc
View Source
SetComputeIntParams(ComputeShader, Int32, Int32[])
Declaration
public void SetComputeIntParams(ComputeShader computeShader, int nameID, params int[] values)
Parameters
|
Improve this Doc
View Source
SetComputeIntParams(ComputeShader, String, Int32[])
Declaration
public void SetComputeIntParams(ComputeShader computeShader, string name, params int[] values)
Parameters
SetComputeMatrixArrayParam(ComputeShader, Int32, Matrix4x4[])
Declaration
public void SetComputeMatrixArrayParam(ComputeShader computeShader, int nameID, Matrix4x4[] values)
Parameters
|
Improve this Doc
View Source
SetComputeMatrixArrayParam(ComputeShader, String, Matrix4x4[])
Declaration
public void SetComputeMatrixArrayParam(ComputeShader computeShader, string name, Matrix4x4[] values)
Parameters
SetComputeMatrixParam(ComputeShader, Int32, Matrix4x4)
Declaration
public void SetComputeMatrixParam(ComputeShader computeShader, int nameID, Matrix4x4 val)
Parameters
|
Improve this Doc
View Source
SetComputeMatrixParam(ComputeShader, String, Matrix4x4)
Declaration
public void SetComputeMatrixParam(ComputeShader computeShader, string name, Matrix4x4 val)
Parameters
|
Improve this Doc
View Source
SetComputeTextureParam(ComputeShader, Int32, Int32, RenderTargetIdentifier)
Declaration
public void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, RenderTargetIdentifier rt)
Parameters
|
Improve this Doc
View Source
SetComputeTextureParam(ComputeShader, Int32, Int32, RenderTargetIdentifier, Int32)
Declaration
public void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, int nameID, RenderTargetIdentifier rt, int mipLevel)
Parameters
|
Improve this Doc
View Source
SetComputeTextureParam(ComputeShader, Int32, String, RenderTargetIdentifier)
Declaration
public void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, RenderTargetIdentifier rt)
Parameters
|
Improve this Doc
View Source
SetComputeTextureParam(ComputeShader, Int32, String, RenderTargetIdentifier, Int32)
Declaration
public void SetComputeTextureParam(ComputeShader computeShader, int kernelIndex, string name, RenderTargetIdentifier rt, int mipLevel)
Parameters
SetComputeVectorArrayParam(ComputeShader, Int32, Vector4[])
Declaration
public void SetComputeVectorArrayParam(ComputeShader computeShader, int nameID, Vector4[] values)
Parameters
|
Improve this Doc
View Source
SetComputeVectorArrayParam(ComputeShader, String, Vector4[])
Declaration
public void SetComputeVectorArrayParam(ComputeShader computeShader, string name, Vector4[] values)
Parameters
SetComputeVectorParam(ComputeShader, Int32, Vector4)
Declaration
public void SetComputeVectorParam(ComputeShader computeShader, int nameID, Vector4 val)
Parameters
|
Improve this Doc
View Source
SetComputeVectorParam(ComputeShader, String, Vector4)
Declaration
public void SetComputeVectorParam(ComputeShader computeShader, string name, Vector4 val)
Parameters
SetGlobalBuffer(Int32, ComputeBuffer)
Declaration
public void SetGlobalBuffer(int nameID, ComputeBuffer value)
Parameters
|
Improve this Doc
View Source
SetGlobalBuffer(String, ComputeBuffer)
Declaration
public void SetGlobalBuffer(string name, ComputeBuffer value)
Parameters
SetGlobalColor(Int32, Color)
Declaration
public void SetGlobalColor(int nameID, Color value)
Parameters
|
Improve this Doc
View Source
SetGlobalColor(String, Color)
Declaration
public void SetGlobalColor(string name, Color value)
Parameters
SetGlobalDepthBias(Single, Single)
Declaration
public void SetGlobalDepthBias(float bias, float slopeBias)
Parameters
SetGlobalFloat(Int32, Single)
Declaration
public void SetGlobalFloat(int nameID, float value)
Parameters
|
Improve this Doc
View Source
SetGlobalFloat(String, Single)
Declaration
public void SetGlobalFloat(string name, float value)
Parameters
|
Improve this Doc
View Source
SetGlobalFloatArray(Int32, List<Single>)
Declaration
public void SetGlobalFloatArray(int nameID, List<float> values)
Parameters
SetGlobalFloatArray(Int32, Single[])
Declaration
public void SetGlobalFloatArray(int nameID, float[] values)
Parameters
|
Improve this Doc
View Source
SetGlobalFloatArray(String, List<Single>)
Declaration
public void SetGlobalFloatArray(string propertyName, List<float> values)
Parameters
|
Improve this Doc
View Source
SetGlobalFloatArray(String, Single[])
Declaration
public void SetGlobalFloatArray(string propertyName, float[] values)
Parameters
SetGlobalInt(Int32, Int32)
Declaration
public void SetGlobalInt(int nameID, int value)
Parameters
|
Improve this Doc
View Source
SetGlobalInt(String, Int32)
Declaration
public void SetGlobalInt(string name, int value)
Parameters
SetGlobalMatrix(Int32, Matrix4x4)
Declaration
public void SetGlobalMatrix(int nameID, Matrix4x4 value)
Parameters
|
Improve this Doc
View Source
SetGlobalMatrix(String, Matrix4x4)
Declaration
public void SetGlobalMatrix(string name, Matrix4x4 value)
Parameters
|
Improve this Doc
View Source
SetGlobalMatrixArray(Int32, List<Matrix4x4>)
Declaration
public void SetGlobalMatrixArray(int nameID, List<Matrix4x4> values)
Parameters
SetGlobalMatrixArray(Int32, Matrix4x4[])
Declaration
public void SetGlobalMatrixArray(int nameID, Matrix4x4[] values)
Parameters
|
Improve this Doc
View Source
SetGlobalMatrixArray(String, List<Matrix4x4>)
Declaration
public void SetGlobalMatrixArray(string propertyName, List<Matrix4x4> values)
Parameters
|
Improve this Doc
View Source
SetGlobalMatrixArray(String, Matrix4x4[])
Declaration
public void SetGlobalMatrixArray(string propertyName, Matrix4x4[] values)
Parameters
|
Improve this Doc
View Source
SetGlobalTexture(Int32, RenderTargetIdentifier)
Declaration
public void SetGlobalTexture(int nameID, RenderTargetIdentifier value)
Parameters
|
Improve this Doc
View Source
SetGlobalTexture(String, RenderTargetIdentifier)
Declaration
public void SetGlobalTexture(string name, RenderTargetIdentifier value)
Parameters
SetGlobalVector(Int32, Vector4)
Declaration
public void SetGlobalVector(int nameID, Vector4 value)
Parameters
|
Improve this Doc
View Source
SetGlobalVector(String, Vector4)
Declaration
public void SetGlobalVector(string name, Vector4 value)
Parameters
|
Improve this Doc
View Source
SetGlobalVectorArray(Int32, List<Vector4>)
Declaration
public void SetGlobalVectorArray(int nameID, List<Vector4> values)
Parameters
SetGlobalVectorArray(Int32, Vector4[])
Declaration
public void SetGlobalVectorArray(int nameID, Vector4[] values)
Parameters
|
Improve this Doc
View Source
SetGlobalVectorArray(String, List<Vector4>)
Declaration
public void SetGlobalVectorArray(string propertyName, List<Vector4> values)
Parameters
|
Improve this Doc
View Source
SetGlobalVectorArray(String, Vector4[])
Declaration
public void SetGlobalVectorArray(string propertyName, Vector4[] values)
Parameters
SetInvertCulling(Boolean)
Declaration
public void SetInvertCulling(bool invertCulling)
Parameters
Type |
Name |
Description |
Boolean |
invertCulling |
|
SetProjectionMatrix(Matrix4x4)
Declaration
public void SetProjectionMatrix(Matrix4x4 proj)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, ComputeBuffer)
Declaration
public void SetRandomWriteTarget(int index, ComputeBuffer buffer)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, ComputeBuffer, Boolean)
Declaration
public void SetRandomWriteTarget(int index, ComputeBuffer buffer, bool preserveCounterValue)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, RenderTargetIdentifier)
Declaration
public void SetRandomWriteTarget(int index, RenderTargetIdentifier rt)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetBinding)
Declaration
public void SetRenderTarget(RenderTargetBinding binding)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, Int32)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, Int32, CubemapFace)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, Int32, CubemapFace, Int32)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction loadAction, RenderBufferStoreAction storeAction)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderBufferLoadAction, RenderBufferStoreAction)
Declaration
public void SetRenderTarget(RenderTargetIdentifier rt, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction, RenderTargetIdentifier, RenderBufferLoadAction, RenderBufferStoreAction)
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderBufferLoadAction colorLoadAction, RenderBufferStoreAction colorStoreAction, RenderTargetIdentifier depth, RenderBufferLoadAction depthLoadAction, RenderBufferStoreAction depthStoreAction)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier)
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, Int32)
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, Int32, CubemapFace)
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier, RenderTargetIdentifier, Int32, CubemapFace, Int32)
Declaration
public void SetRenderTarget(RenderTargetIdentifier color, RenderTargetIdentifier depth, int mipLevel, CubemapFace cubemapFace, int depthSlice)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetIdentifier[], RenderTargetIdentifier)
Declaration
public void SetRenderTarget(RenderTargetIdentifier[] colors, RenderTargetIdentifier depth)
Parameters
|
Improve this Doc
View Source
SetShadowSamplingMode(RenderTargetIdentifier, ShadowSamplingMode)
Declaration
public void SetShadowSamplingMode(RenderTargetIdentifier shadowmap, ShadowSamplingMode mode)
Parameters
SetViewMatrix(Matrix4x4)
Declaration
public void SetViewMatrix(Matrix4x4 view)
Parameters
SetViewport(Rect)
Declaration
public void SetViewport(Rect pixelRect)
Parameters
Type |
Name |
Description |
Rect |
pixelRect |
|
SetViewProjectionMatrices(Matrix4x4, Matrix4x4)
Declaration
public void SetViewProjectionMatrices(Matrix4x4 view, Matrix4x4 proj)
Parameters
|
Improve this Doc
View Source
WaitOnGPUFence(GPUFence)
Declaration
public void WaitOnGPUFence(GPUFence fence)
Parameters
|
Improve this Doc
View Source
WaitOnGPUFence(GPUFence, SynchronisationStage)
Declaration
public void WaitOnGPUFence(GPUFence fence, SynchronisationStage stage)
Parameters
Implements
Extension Methods