Show / Hide Table of Contents

Class Graphics

Inheritance
Object
Graphics
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine
Assembly: UnityEngine.dll
Syntax
public class Graphics

Properties

| Improve this Doc View Source

activeColorBuffer

Declaration
public static RenderBuffer activeColorBuffer { get; }
Property Value
Type Description
RenderBuffer
| Improve this Doc View Source

activeColorGamut

Declaration
public static ColorGamut activeColorGamut { get; }
Property Value
Type Description
ColorGamut
| Improve this Doc View Source

activeDepthBuffer

Declaration
public static RenderBuffer activeDepthBuffer { get; }
Property Value
Type Description
RenderBuffer

activeTier

Declaration
public static GraphicsTier activeTier { get; set; }
Property Value
Type Description
GraphicsTier

Methods

| Improve this Doc View Source

Blit(Texture, Material)

Declaration
public static void Blit(Texture source, Material mat)
Parameters
Type Name Description
Texture source
Material mat
| Improve this Doc View Source

Blit(Texture, Material, Int32)

Declaration
public static void Blit(Texture source, Material mat, [DefaultValue("-1")] int pass)
Parameters
Type Name Description
Texture source
Material mat
Int32 pass
| Improve this Doc View Source

Blit(Texture, RenderTexture)

Declaration
public static void Blit(Texture source, RenderTexture dest)
Parameters
Type Name Description
Texture source
RenderTexture dest
| Improve this Doc View Source

Blit(Texture, RenderTexture, Material)

Declaration
public static void Blit(Texture source, RenderTexture dest, Material mat)
Parameters
Type Name Description
Texture source
RenderTexture dest
Material mat
| 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
Type Name Description
Texture source
RenderTexture dest
Material mat
Int32 pass
| Improve this Doc View Source

Blit(Texture, RenderTexture, Vector2, Vector2)

Declaration
public static void Blit(Texture source, RenderTexture dest, Vector2 scale, Vector2 offset)
Parameters
Type Name Description
Texture source
RenderTexture dest
Vector2 scale
Vector2 offset
| 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
Type Name Description
Texture source
RenderTexture dest
Material mat
Vector2[] offsets

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
Type Name Description
Texture src
Int32 srcElement
Texture dst
Int32 dstElement
Returns
Type Description
Boolean
| Improve this Doc View Source

ConvertTexture(Texture, Texture)

Declaration
public static bool ConvertTexture(Texture src, Texture dst)
Parameters
Type Name Description
Texture src
Texture dst
Returns
Type Description
Boolean
| 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
Type Name Description
Texture src
Int32 srcElement
Int32 srcMip
Int32 srcX
Int32 srcY
Int32 srcWidth
Int32 srcHeight
Texture dst
Int32 dstElement
Int32 dstMip
Int32 dstX
Int32 dstY
| 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
Type Name Description
Texture src
Int32 srcElement
Int32 srcMip
Texture dst
Int32 dstElement
Int32 dstMip
| Improve this Doc View Source

CopyTexture(Texture, Int32, Texture, Int32)

Declaration
public static void CopyTexture(Texture src, int srcElement, Texture dst, int dstElement)
Parameters
Type Name Description
Texture src
Int32 srcElement
Texture dst
Int32 dstElement
| Improve this Doc View Source

CopyTexture(Texture, Texture)

Declaration
public static void CopyTexture(Texture src, Texture dst)
Parameters
Type Name Description
Texture src
Texture dst
| Improve this Doc View Source

CreateGPUFence()

Declaration
[ExcludeFromDocs]
public static GPUFence CreateGPUFence()
Returns
Type Description
GPUFence
| Improve this Doc View Source

CreateGPUFence(SynchronisationStage)

Declaration
public static GPUFence CreateGPUFence([DefaultValue("SynchronisationStage.PixelProcessing")] SynchronisationStage stage)
Parameters
Type Name Description
SynchronisationStage stage
Returns
Type Description
GPUFence
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
Boolean receiveShadows
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
Boolean receiveShadows
Boolean useLightProbes
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
| 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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
| Improve this Doc View Source

DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform)

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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
| Improve this Doc View Source

DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform, Boolean)

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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
Boolean useLightProbes
| Improve this Doc View Source

DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform, LightProbeUsage)

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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
LightProbeUsage lightProbeUsage
| Improve this Doc View Source

DrawMesh(Mesh, Matrix4x4, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform, LightProbeUsage, LightProbeProxyVolume)

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
Type Name Description
Mesh mesh
Matrix4x4 matrix
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
LightProbeUsage lightProbeUsage
LightProbeProxyVolume lightProbeProxyVolume
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
Boolean receiveShadows
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
Boolean castShadows
Boolean receiveShadows
Boolean useLightProbes
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
| 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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
| Improve this Doc View Source

DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform)

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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
| Improve this Doc View Source

DrawMesh(Mesh, Vector3, Quaternion, Material, Int32, Camera, Int32, MaterialPropertyBlock, ShadowCastingMode, Boolean, Transform, Boolean)

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
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Material material
Int32 layer
Camera camera
Int32 submeshIndex
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Transform probeAnchor
Boolean useLightProbes
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
List<Matrix4x4> matrices
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
LightProbeProxyVolume lightProbeProxyVolume
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Matrix4x4[] matrices
Int32 count
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
LightProbeProxyVolume lightProbeProxyVolume
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
| 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
Type Name Description
Mesh mesh
Int32 submeshIndex
Material material
Bounds bounds
ComputeBuffer bufferWithArgs
Int32 argsOffset
MaterialPropertyBlock properties
ShadowCastingMode castShadows
Boolean receiveShadows
Int32 layer
Camera camera
LightProbeUsage lightProbeUsage
LightProbeProxyVolume lightProbeProxyVolume
| Improve this Doc View Source

DrawMeshNow(Mesh, Matrix4x4)

Declaration
public static void DrawMeshNow(Mesh mesh, Matrix4x4 matrix)
Parameters
Type Name Description
Mesh mesh
Matrix4x4 matrix
| Improve this Doc View Source

DrawMeshNow(Mesh, Matrix4x4, Int32)

Declaration
public static void DrawMeshNow(Mesh mesh, Matrix4x4 matrix, int materialIndex)
Parameters
Type Name Description
Mesh mesh
Matrix4x4 matrix
Int32 materialIndex
| Improve this Doc View Source

DrawMeshNow(Mesh, Vector3, Quaternion)

Declaration
public static void DrawMeshNow(Mesh mesh, Vector3 position, Quaternion rotation)
Parameters
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
| Improve this Doc View Source

DrawMeshNow(Mesh, Vector3, Quaternion, Int32)

Declaration
public static void DrawMeshNow(Mesh mesh, Vector3 position, Quaternion rotation, int materialIndex)
Parameters
Type Name Description
Mesh mesh
Vector3 position
Quaternion rotation
Int32 materialIndex
| Improve this Doc View Source

DrawProcedural(MeshTopology, Int32)

Declaration
[ExcludeFromDocs]
public static void DrawProcedural(MeshTopology topology, int vertexCount)
Parameters
Type Name Description
MeshTopology topology
Int32 vertexCount
| Improve this Doc View Source

DrawProcedural(MeshTopology, Int32, Int32)

Declaration
public static void DrawProcedural(MeshTopology topology, int vertexCount, [DefaultValue("1")] int instanceCount)
Parameters
Type Name Description
MeshTopology topology
Int32 vertexCount
Int32 instanceCount
| Improve this Doc View Source

DrawProceduralIndirect(MeshTopology, ComputeBuffer)

Declaration
[ExcludeFromDocs]
public static void DrawProceduralIndirect(MeshTopology topology, ComputeBuffer bufferWithArgs)
Parameters
Type Name Description
MeshTopology topology
ComputeBuffer bufferWithArgs
| Improve this Doc View Source

DrawProceduralIndirect(MeshTopology, ComputeBuffer, Int32)

Declaration
public static void DrawProceduralIndirect(MeshTopology topology, ComputeBuffer bufferWithArgs, [DefaultValue("0")] int argsOffset)
Parameters
Type Name Description
MeshTopology topology
ComputeBuffer bufferWithArgs
Int32 argsOffset
| Improve this Doc View Source

DrawTexture(Rect, Texture)

Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture)
Parameters
Type Name Description
Rect screenRect
Texture texture
| 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
Type Name Description
Rect screenRect
Texture texture
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
| 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
Type Name Description
Rect screenRect
Texture texture
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Material mat
| 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
Type Name Description
Rect screenRect
Texture texture
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Material mat
Int32 pass
| Improve this Doc View Source

DrawTexture(Rect, Texture, Material)

Declaration
[ExcludeFromDocs]
public static void DrawTexture(Rect screenRect, Texture texture, Material mat)
Parameters
Type Name Description
Rect screenRect
Texture texture
Material mat
| 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
Type Name Description
Rect screenRect
Texture texture
Material mat
Int32 pass
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Color color
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Color color
Material mat
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Color color
Material mat
Int32 pass
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Material mat
| 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
Type Name Description
Rect screenRect
Texture texture
Rect sourceRect
Int32 leftBorder
Int32 rightBorder
Int32 topBorder
Int32 bottomBorder
Material mat
Int32 pass

ExecuteCommandBuffer(CommandBuffer)

Declaration
public static void ExecuteCommandBuffer(CommandBuffer buffer)
Parameters
Type Name Description
CommandBuffer buffer

ExecuteCommandBufferAsync(CommandBuffer, ComputeQueueType)

Declaration
public static void ExecuteCommandBufferAsync(CommandBuffer buffer, ComputeQueueType queueType)
Parameters
Type Name Description
CommandBuffer buffer
ComputeQueueType queueType
| Improve this Doc View Source

SetRandomWriteTarget(Int32, ComputeBuffer)

Declaration
[ExcludeFromDocs]
public static void SetRandomWriteTarget(int index, ComputeBuffer uav)
Parameters
Type Name Description
Int32 index
ComputeBuffer uav
| Improve this Doc View Source

SetRandomWriteTarget(Int32, ComputeBuffer, Boolean)

Declaration
public static void SetRandomWriteTarget(int index, ComputeBuffer uav, [DefaultValue("false")] bool preserveCounterValue)
Parameters
Type Name Description
Int32 index
ComputeBuffer uav
Boolean preserveCounterValue
| Improve this Doc View Source

SetRandomWriteTarget(Int32, RenderTexture)

Declaration
public static void SetRandomWriteTarget(int index, RenderTexture uav)
Parameters
Type Name Description
Int32 index
RenderTexture uav
| Improve this Doc View Source

SetRenderTarget(RenderBuffer, RenderBuffer)

Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer)
Parameters
Type Name Description
RenderBuffer colorBuffer
RenderBuffer depthBuffer
| Improve this Doc View Source

SetRenderTarget(RenderBuffer, RenderBuffer, Int32)

Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderBuffer colorBuffer, RenderBuffer depthBuffer, int mipLevel)
Parameters
Type Name Description
RenderBuffer colorBuffer
RenderBuffer depthBuffer
Int32 mipLevel
| 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
Type Name Description
RenderBuffer colorBuffer
RenderBuffer depthBuffer
Int32 mipLevel
CubemapFace face
| 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
Type Name Description
RenderBuffer colorBuffer
RenderBuffer depthBuffer
Int32 mipLevel
CubemapFace face
Int32 depthSlice
| Improve this Doc View Source

SetRenderTarget(RenderBuffer[], RenderBuffer)

Declaration
public static void SetRenderTarget(RenderBuffer[] colorBuffers, RenderBuffer depthBuffer)
Parameters
Type Name Description
RenderBuffer[] colorBuffers
RenderBuffer depthBuffer
| Improve this Doc View Source

SetRenderTarget(RenderTargetSetup)

Declaration
public static void SetRenderTarget(RenderTargetSetup setup)
Parameters
Type Name Description
RenderTargetSetup setup
| Improve this Doc View Source

SetRenderTarget(RenderTexture)

Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt)
Parameters
Type Name Description
RenderTexture rt
| Improve this Doc View Source

SetRenderTarget(RenderTexture, Int32)

Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt, int mipLevel)
Parameters
Type Name Description
RenderTexture rt
Int32 mipLevel
| Improve this Doc View Source

SetRenderTarget(RenderTexture, Int32, CubemapFace)

Declaration
[ExcludeFromDocs]
public static void SetRenderTarget(RenderTexture rt, int mipLevel, CubemapFace face)
Parameters
Type Name Description
RenderTexture rt
Int32 mipLevel
CubemapFace face
| 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
Type Name Description
RenderTexture rt
Int32 mipLevel
CubemapFace face
Int32 depthSlice
| Improve this Doc View Source

WaitOnGPUFence(GPUFence)

Declaration
[ExcludeFromDocs]
public static void WaitOnGPUFence(GPUFence fence)
Parameters
Type Name Description
GPUFence fence
| Improve this Doc View Source

WaitOnGPUFence(GPUFence, SynchronisationStage)

Declaration
public static void WaitOnGPUFence(GPUFence fence, [DefaultValue("SynchronisationStage.VertexProcessing")] SynchronisationStage stage)
Parameters
Type Name Description
GPUFence fence
SynchronisationStage stage

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX