The Event Information Panel in the Frame Debugger window displays information about the event such as geometry details and the shaderA program that runs on the GPU. More info
See in Glossary used for a draw call.
Label | Description |
---|---|
Render target selector: When rendering into multiple render targets (such as multiple RenderTextures or when also rendering to depth), this specifies which render target to display in the Game view. This is useful for example to view individual render targets in a G-buffer. | |
Color channel selector: Specifies which color channels of the render target to display. | |
Levels: Controls the black and white intensity. Use this to isolate areas of the Game view based on light intensity. | |
Output / MeshThe main graphics primitive of Unity. Meshes make up a large part of your 3D worlds. Unity supports triangulated or Quadrangulated polygon meshes. Nurbs, Nurms, Subdiv surfaces must be converted to polygons. More info See in Glossary Preview: Displays a preview of the selected event output as well as the mesh geometry in the event. For more information, see Preview. |
|
Event properties: Contains further information about the selected event. For more information, see Event properties. |
The preview section consists of two tabs:
Label | Description |
---|---|
Preview: A preview of the mesh geometry Unity rendered during the event. | |
Mesh name: The name of the mesh asset in the preview. Click on the mesh name to take see the mesh asset in the Project windowA window that shows the contents of your Assets folder (Project tab) More infoSee in Glossary. If the geometry was procedural and there is no mesh asset associated, this is empty (Unity displays -). |
|
Preview mode: Specifies how the preview renders the mesh. The options are: • Shaded: Renders the mesh using its material and a basic light. • UV Checker: Applies a checkerboard texture to the mesh to visualize how the mesh’s UV map applies textures.. • UV Layout: Displays how the vertices of the mesh are organized in the unwrapped UV map. This view disables the Wireframe toggle. • Vertex Color: Visualizes any vertex colors that the vertices in this mesh have. If no vertices have a vertex color, this option is unavailable. • Normals: Visualizes the relative directions of the normals in the mesh with color. • Tangents: Visualizes the tangent data in the mesh with color. • Blendshapes: Visualizes blend shape deformations on the mesh. If the mesh has no blend shapes, this option is unavailable. |
|
Wireframe toggle: Toggles the mesh wireframe on and off. When enabled, the preview displays the mesh vertices and edges. |
The event properties section contains properties and values for the selected event. It has a Details fold-out section that contains information about the event itself and then a fold-out section for each type of shader property. If the fold-out section is grayed-out, it means that the shader in the event didn’t contain any properties of that type. For more information on the information that each section displays, see:
Note: When using OpenGL and GLSL shaders, this panel displays all shader properties as being part of the vertex stage.
The Details section displays information about the rendering event, such as the number of draw calls as well as the meshes that Unity rendered and the shader it used to render them.
Property | Description |
---|---|
RenderTarget | The name of the render target |
Size | The size of the render target. |
Format | The TextureFormat for the render target. |
Color Actions | Shows which actions to perform on the color target when: • The GPU first loads the color target. For more information, see RenderBufferLoadAction. • The GPU finishes rendering to the color target. For more information, see RenderBufferStoreAction. |
Depth Actions | Shows which actions to perform on the depth target when: • The GPU first loads the depth target. For more information, see RenderBufferLoadAction. • The GPU finishes rendering to the depth target. For more information, see RenderBufferStoreAction. |
Memoryless | The render textureA special type of Texture that is created and updated at runtime. To use them, first create a new Render Texture and designate one of your Cameras to render into it. Then you can use the Render Texture in a Material just like a regular Texture. More info See in Glossary memoryless mode mode. For more information, see memoryless. |
ColorMask | The color channel mask used for the render target. For more information, see ColorMask. |
Blend Color | The color blending method Unity used during the selected event. |
Blend Alpha | The alpha blending method Unity used during the selected event. |
BlendOp Color | The color blending operation Blend Color used. |
BlendOp Alpha | The alpha blending operation Blend Alpha used. |
Draw Calls | The number of draw calls Unity processed during the selected event. |
Vertices | The number of vertices Unity processed during the select event. |
Indices | The number of indices Unity processed during the select event. |
Clear Color | The color Unity used to clear the render target during the selected event. If Unity didn’t clear the render target, the display doesn’t show a color here. |
Clear Depth | The color Unity used to clear the depth bufferA memory store that holds the z-value depth of each pixel in an image, where the z-value is the depth for each rendered pixel from the projection plane. More info See in Glossary during the selected event. If Unity didn’t clear the depth buffer, the display doesn’t show a color here. |
Clear Stencil | The color Unity used to clear the stencil bufferA memory store that holds an 8-bit per-pixel value. In Unity, you can use a stencil buffer to flag pixels, and then only render to pixels that pass the stencil operation. More info See in Glossary during the selected event. If Unity didn’t clear the stencil buffer, the display doesn’t show a color here. |
Batch cause | The reason why the SRP Batcher was unable to batch the selected rendering event with the previous rendering event. This is only relevant if your application uses the SRP Batcher. |
Meshes | The list of meshes that Unity rendered during the selected event. |
Pass | The shader Pass Unity used. |
LightMode | The LightMode pass tag Unity used during the selected event. |
Used Shader | The shader asset Unity used during the selected event. This can sometimes be different than the original shader, for example when the original shader uses a fallback shader or USEPASS. |
Original Shader | The original shader Unity used with the pass. |
ZClip | The shader’s depth clip mode. |
ZTest | The shader’s depth test mode. |
ZWrite | The shader’s depth clip mode. |
Cull | The shader’s cull mode. |
Conservative | Indicates whether the shader used conservative rasterization. |
Offset | The depth bias on the GPU that Unity used during the selected event. |
Stencil | Indicates whether Stencil is enabled in the selected event. For more information, see Stencil. |
Stencil Ref | The stencil reference value. |
Stencil ReadMask | The stencil readmask value Unity used to perform the stencil test. |
Stencil WriteMask | The stencil writemask value Unity used to write to the stencil buffer. |
Stencil Comp | The operation that the GPU performed for the stencil test for all pixelsThe smallest unit in a computer image. Pixel size depends on your screen resolution. Pixel lighting is calculated at every screen pixel. More info See in Glossary. |
Stencil Pass | The operation that the GPU performed on the stencil buffer for pixels that passed both the stencil test and the depth test. |
Stencil Fail | The operation that the GPU performed on the stencil buffer for pixels that failed the stencil test. |
Stencil ZFail | The operation that the GPU performed on the stencil buffer for pixels that passed the stencil test but failed the depth test. |
This section displays information about the enabled shader keywords Unity used in the rendering event.
Property | Description |
---|---|
Name | The name of the shader keyword. |
Stage | The shader stage that Unity used the shader keyword in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Scope | Indicates whether the scope of the keyword is global or local. For more information, see Declaring keywords. |
Dynamic | Indicates whether the keyword is dynamic or not. For more information, see Declaring and using shader keywords in HLSL. |
The Texture section displays information about the named textures Unity used during the rendering event.
Property | Description |
---|---|
Name | The property name for the texture. |
Stage | The shader stage that Unity used the texture in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Size | The size of the texture. This is the width and height for 2D textures and width, height, and depth for 3D textures, |
Sampler Type | Indicates type of a Texture (such as 2D Texture, cubemap, or 3D volume texture). |
Color Format | The color format that the texture uses. For more information on RenderTexture formats, see GraphicsFormat. For more information on formats for other texture types, see TextureFormat. |
Depth Stencil Format | The depth stencil format for the RenderTexture. For more information, see RenderTexture.depthStencilFormat. Note: If the texture isn’t a RenderTexture, Unity doesn’t display a graphics format here. |
Texture | The texture name. |
The Ints section displays information about the named int values Unity used during the rendering event.
Property | Description |
---|---|
Name | The name of the int property in the shader. |
Stage | The shader stage that Unity used the int property in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Value | The value of the int property. |
The Floats section displays information about the named float values Unity used during the rendering event.
Property | Description |
---|---|
Name | The name of the float property in the shader. |
Stage | The shader stage that Unity used the float property in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Value | The value of the float property. |
Property | Description |
---|---|
Name | The name of the vector property in the shader. |
Stage | The shader stage that Unity used the vector property in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Value(R) | The R component of the vector. |
Value(G) | The G component of the vector. |
Value(B) | The B component of the vector. |
Value(A) | The A component of the vector. |
The Matrices section displays information about the named matrix values Unity used during the rendering event.
Property | Description |
---|---|
Name | The name of the matrix property in the shader. |
Stage | The shader stage that Unity used the matrix property in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Column 0 | The values in the first column of the matrix. |
Column 1 | The values in the second column of the matrix. |
Column 2 | The values in the third column of the matrix. |
Column 3 | The values in the fourth column of the matrix. |
The Buffers section displays information about the named buffers Unity used during the rendering event.
Property | Description |
---|---|
Name | The name of the buffer in the shader. |
Stage | The shader stage that Unity used the buffer in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
This Constant Buffers section displays information about the named constant buffers Unity used during the rendering event.
Property | Description |
---|---|
Name | The name of the constant buffer in the shader. |
Stage | The shader stage that Unity used the constant buffer in. The possible values are: • vs: Vertex Shader • fs: Fragment Shader • gs: Geometry Shader • hs: Hull Shader • ds: Domain Shader |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.