Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace UnityEngine.Rendering.HighDefinition
{
public partial class HDRenderPipeline
{
public TextureHandle CreateScreenSpaceShadowTextureArray(RenderGraph renderGraph)
internal TextureHandle CreateScreenSpaceShadowTextureArray(RenderGraph renderGraph)
{
int numShadowTextures = Math.Max((int)Math.Ceiling(m_Asset.currentPlatformRenderPipelineSettings.hdShadowInitParams.maxScreenSpaceShadowSlots / 4.0f), 1);
GraphicsFormat graphicsFormat = (GraphicsFormat)m_Asset.currentPlatformRenderPipelineSettings.hdShadowInitParams.screenSpaceShadowBufferFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void InitRecursiveRenderer()
m_FlagMaskTextureRT = RTHandles.Alloc(Vector2.one, TextureXR.slices, colorFormat: GraphicsFormat.R8_SNorm, dimension: TextureXR.dimension, enableRandomWrite: true, useDynamicScale: true, useMipMap: false, name: "FlagMaskTexture");
}

public TextureHandle CreateFlagMaskTexture(RenderGraph renderGraph)
internal TextureHandle CreateFlagMaskTexture(RenderGraph renderGraph)
{
return renderGraph.CreateTexture(new TextureDesc(Vector2.one, true, true)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize, G
/// Create the texture used as target for a realtime planar reflection probe.
/// </summary>
/// <param name="planarSize">The size of the texture</param>
/// <param name="format">The planar's format. It must match the format set in the asset.</param>
/// <returns>The texture used as planar reflection probe target</returns>
public static RenderTexture CreatePlanarProbeRenderTarget(int planarSize, GraphicsFormat format)
{
Expand Down