Class Graphics
Assembly: UnityEngine.dll
Syntax
Properties
|
Improve this Doc
View Source
activeColorBuffer
Declaration
public static RenderBuffer activeColorBuffer { get; }
Property Value
|
Improve this Doc
View Source
activeColorGamut
Declaration
public static ColorGamut activeColorGamut { get; }
Property Value
|
Improve this Doc
View Source
activeDepthBuffer
Declaration
public static RenderBuffer activeDepthBuffer { get; }
Property Value
activeTier
Declaration
public static GraphicsTier activeTier { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Blit(Texture, Material)
Declaration
public static void Blit(Texture source, Material mat)
Parameters
|
Improve this Doc
View Source
Blit(Texture, Material, Int32)
Declaration
public static void Blit(Texture source, Material mat, [DefaultValue("-1")] int pass)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTexture)
Declaration
public static void Blit(Texture source, RenderTexture dest)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTexture, Material)
Declaration
public static void Blit(Texture source, RenderTexture dest, Material mat)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTexture, Material, Int32)
Declaration
public static void Blit(Texture source, RenderTexture dest, Material mat, [DefaultValue("-1")] int pass)
Parameters
|
Improve this Doc
View Source
Blit(Texture, RenderTexture, Vector2, Vector2)
Declaration
public static void Blit(Texture source, RenderTexture dest, Vector2 scale, Vector2 offset)
Parameters
|
Improve this Doc
View Source
BlitMultiTap(Texture, RenderTexture, Material, Vector2[])
Declaration
public static void BlitMultiTap(Texture source, RenderTexture dest, Material mat, params Vector2[] offsets)
Parameters
ClearRandomWriteTargets()
Declaration
public static void ClearRandomWriteTargets()
|
Improve this Doc
View Source
ConvertTexture(Texture, Int32, Texture, Int32)
Declaration
public static bool ConvertTexture(Texture src, int srcElement, Texture dst, int dstElement)
Parameters
Returns
|
Improve this Doc
View Source
ConvertTexture(Texture, Texture)
Declaration
public static bool ConvertTexture(Texture src, Texture dst)
Parameters
Returns
|
Improve this Doc
View Source
CopyTexture(Texture, Int32, Int32, Int32, Int32, Int32, Int32, Texture, Int32, Int32, Int32, Int32)
Declaration
public static void CopyTexture(Texture src, int srcElement, int srcMip, int srcX, int srcY, int srcWidth, int srcHeight, Texture dst, int dstElement, int dstMip, int dstX, int dstY)
Parameters
|
Improve this Doc
View Source
CopyTexture(Texture, Int32, Int32, Texture, Int32, Int32)
Declaration
public static void CopyTexture(Texture src, int srcElement, int srcMip, Texture dst, int dstElement, int dstMip)
Parameters
|
Improve this Doc
View Source
CopyTexture(Texture, Int32, Texture, Int32)
Declaration
public static void CopyTexture(Texture src, int srcElement, Texture dst, int dstElement)
Parameters
|
Improve this Doc
View Source
CopyTexture(Texture, Texture)
Declaration
public static void CopyTexture(Texture src, Texture dst)
Parameters
|
Improve this Doc
View Source
CreateGPUFence()
Declaration
[ExcludeFromDocs]
public static GPUFence CreateGPUFence()
Returns
|
Improve this Doc
View Source
CreateGPUFence(SynchronisationStage)
Declaration
public static GPUFence CreateGPUFence([DefaultValue("SynchronisationStage.PixelProcessing")] SynchronisationStage stage)
Parameters
Returns
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, bool castShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, bool castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean, Boolean, Boolean)
Declaration
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, [DefaultValue("null")] Camera camera, [DefaultValue("0")] int submeshIndex, [DefaultValue("null")] MaterialPropertyBlock properties, [DefaultValue("true")] bool castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("true")] bool useLightProbes)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, Transform probeAnchor)
Parameters
|
Improve this Doc
View Source
Declaration
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("null")] Transform probeAnchor, [DefaultValue("true")] bool useLightProbes)
Parameters
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, Transform probeAnchor, LightProbeUsage lightProbeUsage)
Parameters
|
Improve this Doc
View Source
Declaration
public static void DrawMesh(Mesh mesh, Matrix4x4 matrix, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, Transform probeAnchor, LightProbeUsage lightProbeUsage, [DefaultValue("null")] LightProbeProxyVolume lightProbeProxyVolume)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, bool castShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, bool castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, Boolean, Boolean, Boolean)
Declaration
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, [DefaultValue("null")] Camera camera, [DefaultValue("0")] int submeshIndex, [DefaultValue("null")] MaterialPropertyBlock properties, [DefaultValue("true")] bool castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("true")] bool useLightProbes)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows)
Parameters
|
Improve this Doc
View Source
DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
Declaration
[ExcludeFromDocs]
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, Transform probeAnchor)
Parameters
|
Improve this Doc
View Source
Declaration
public static void DrawMesh(Mesh mesh, Vector3 position, Quaternion rotation, Material material, int layer, Camera camera, int submeshIndex, MaterialPropertyBlock properties, ShadowCastingMode castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("null")] Transform probeAnchor, [DefaultValue("true")] bool useLightProbes)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera, LightProbeUsage lightProbeUsage)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, List<Matrix4x4>, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage, LightProbeProxyVolume)
Declaration
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, List<Matrix4x4> matrices, [DefaultValue("null")] MaterialPropertyBlock properties, [DefaultValue("ShadowCastingMode.On")] ShadowCastingMode castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("0")] int layer, [DefaultValue("null")] Camera camera, [DefaultValue("LightProbeUsage.BlendProbes")] LightProbeUsage lightProbeUsage, [DefaultValue("null")] LightProbeProxyVolume lightProbeProxyVolume)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[])
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, int count, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera, LightProbeUsage lightProbeUsage)
Parameters
|
Improve this Doc
View Source
DrawMeshInstanced(Mesh, Int32, Material, Matrix4x4[], Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage, LightProbeProxyVolume)
Declaration
public static void DrawMeshInstanced(Mesh mesh, int submeshIndex, Material material, Matrix4x4[] matrices, [DefaultValue("matrices.Length")] int count, [DefaultValue("null")] MaterialPropertyBlock properties, [DefaultValue("ShadowCastingMode.On")] ShadowCastingMode castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("0")] int layer, [DefaultValue("null")] Camera camera, [DefaultValue("LightProbeUsage.BlendProbes")] LightProbeUsage lightProbeUsage, [DefaultValue("null")] LightProbeProxyVolume lightProbeProxyVolume)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties, ShadowCastingMode castShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage)
Declaration
[ExcludeFromDocs]
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties, ShadowCastingMode castShadows, bool receiveShadows, int layer, Camera camera, LightProbeUsage lightProbeUsage)
Parameters
|
Improve this Doc
View Source
DrawMeshInstancedIndirect(Mesh, Int32, Material, Bounds, ComputeBuffer, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Int32, Camera, LightProbeUsage, LightProbeProxyVolume)
Declaration
public static void DrawMeshInstancedIndirect(Mesh mesh, int submeshIndex, Material material, Bounds bounds, ComputeBuffer bufferWithArgs, [DefaultValue("0")] int argsOffset, [DefaultValue("null")] MaterialPropertyBlock properties, [DefaultValue("ShadowCastingMode.On")] ShadowCastingMode castShadows, [DefaultValue("true")] bool receiveShadows, [DefaultValue("0")] int layer, [DefaultValue("null")] Camera camera, [DefaultValue("LightProbeUsage.BlendProbes")] LightProbeUsage lightProbeUsage, [DefaultValue("null")] LightProbeProxyVolume lightProbeProxyVolume)
Parameters
|
Improve this Doc
View Source
DrawMeshNow(Mesh, Matrix4x4)
Declaration
public static void DrawMeshNow(Mesh mesh, Matrix4x4 matrix)
Parameters
|
Improve this Doc
View Source
DrawMeshNow(Mesh, Matrix4x4, Int32)
Declaration
public static void DrawMeshNow(Mesh mesh, Matrix4x4 matrix, int materialIndex)
Parameters
|
Improve this Doc
View Source
DrawMeshNow(Mesh, Vector3, Quaternion)
Declaration
public static void DrawMeshNow(Mesh mesh, Vector3 position, Quaternion rotation)
Parameters
|
Improve this Doc
View Source
DrawMeshNow(Mesh, Vector3, Quaternion, Int32)
Declaration
public static void DrawMeshNow(Mesh mesh, Vector3 position, Quaternion rotation, int materialIndex)
Parameters
|
Improve this Doc
View Source
DrawProcedural(MeshTopology, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawProcedural(MeshTopology topology, int vertexCount)
Parameters
|
Improve this Doc
View Source
DrawProcedural(MeshTopology, Int32, Int32)
Declaration
public static void DrawProcedural(MeshTopology topology, int vertexCount, [DefaultValue("1")] int instanceCount)
Parameters
|
Improve this Doc
View Source
DrawProceduralIndirect(MeshTopology, ComputeBuffer)
Declaration
[ExcludeFromDocs]
public static void DrawProceduralIndirect(MeshTopology topology, ComputeBuffer bufferWithArgs)
Parameters
|
Improve this Doc
View Source
DrawProceduralIndirect(MeshTopology, ComputeBuffer, Int32)
Declaration
public static void DrawProceduralIndirect(MeshTopology topology, ComputeBuffer bufferWithArgs, [DefaultValue("0")] int argsOffset)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Int32, Int32, Int32, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Int32, Int32, Int32, Int32, Material)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Material mat)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Int32, Int32, Int32, Int32, Material, Int32)
Declaration
public static void DrawTexture(Rect screenRect, Texture texture, int leftBorder, int rightBorder, int topBorder, int bottomBorder, [DefaultValue("null")] Material mat, [DefaultValue("-1")] int pass)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Material)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Material mat)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Material, Int32)
Declaration
public static void DrawTexture(Rect screenRect, Texture texture, [DefaultValue("null")] Material mat, [DefaultValue("-1")] int pass)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32, Color)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Color color)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32, Color, Material)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Color color, Material mat)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32, Color, Material, Int32)
Declaration
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Color color, [DefaultValue("null")] Material mat, [DefaultValue("-1")] int pass)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32, Material)
Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder, Material mat)
Parameters
|
Improve this Doc
View Source
DrawTexture(Rect, Texture, Rect, Int32, Int32, Int32, Int32, Material, Int32)
Declaration
public static void DrawTexture(Rect screenRect, Texture texture, Rect sourceRect, int leftBorder, int rightBorder, int topBorder, int bottomBorder, [DefaultValue("null")] Material mat, [DefaultValue("-1")] int pass)
Parameters
ExecuteCommandBuffer(CommandBuffer)
Declaration
public static void ExecuteCommandBuffer(CommandBuffer buffer)
Parameters
ExecuteCommandBufferAsync(CommandBuffer, ComputeQueueType)
Declaration
public static void ExecuteCommandBufferAsync(CommandBuffer buffer, ComputeQueueType queueType)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, ComputeBuffer)
Declaration
[ExcludeFromDocs]
public static void SetRandomWriteTarget(int index, ComputeBuffer uav)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, ComputeBuffer, Boolean)
Declaration
public static void SetRandomWriteTarget(int index, ComputeBuffer uav, [DefaultValue("false")] bool preserveCounterValue)
Parameters
|
Improve this Doc
View Source
SetRandomWriteTarget(Int32, RenderTexture)
Declaration
public static void SetRandomWriteTarget(int index, RenderTexture uav)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderBuffer, RenderBuffer)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderBuffer, RenderBuffer, Int32)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderBuffer, RenderBuffer, Int32, CubemapFace)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel, CubemapFace face)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderBuffer, RenderBuffer, Int32, CubemapFace, Int32)
Declaration
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer, [DefaultValue("0")] int mipLevel, [DefaultValue("CubemapFace.Unknown")] CubemapFace face, [DefaultValue("0")] int depthSlice)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderBuffer[], RenderBuffer)
Declaration
public static void SetRenderTarget(RenderBuffer[] colorBuffers, RenderBuffer depthBuffer)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTargetSetup)
Declaration
public static void SetRenderTarget(RenderTargetSetup setup)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTexture)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTexture, Int32)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt, int mipLevel)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTexture, Int32, CubemapFace)
Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt, int mipLevel, CubemapFace face)
Parameters
|
Improve this Doc
View Source
SetRenderTarget(RenderTexture, Int32, CubemapFace, Int32)
Declaration
public static void SetRenderTarget(RenderTexture rt, [DefaultValue("0")] int mipLevel, [DefaultValue("CubemapFace.Unknown")] CubemapFace face, [DefaultValue("0")] int depthSlice)
Parameters
|
Improve this Doc
View Source
WaitOnGPUFence(GPUFence)
Declaration
[ExcludeFromDocs]
public static void WaitOnGPUFence(GPUFence fence)
Parameters
|
Improve this Doc
View Source
WaitOnGPUFence(GPUFence, SynchronisationStage)
Declaration
public static void WaitOnGPUFence(GPUFence fence, [DefaultValue("SynchronisationStage.VertexProcessing")] SynchronisationStage stage)
Parameters
Extension Methods