UnityEngine.Rendering.CommandBuffer.INTERNAL_CALL_DrawProceduralIndirect C# (CSharp) Method

INTERNAL_CALL_DrawProceduralIndirect() private method

private INTERNAL_CALL_DrawProceduralIndirect ( CommandBuffer self, Matrix4x4 &matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties ) : void
self CommandBuffer
matrix Matrix4x4
material Material
shaderPass int
topology MeshTopology
bufferWithArgs ComputeBuffer
argsOffset int
properties MaterialPropertyBlock
return void
        private static extern void INTERNAL_CALL_DrawProceduralIndirect(CommandBuffer self, ref Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs, int argsOffset, MaterialPropertyBlock properties);
        [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall]

Usage Example

コード例 #1
0
        public void DrawProceduralIndirect(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, ComputeBuffer bufferWithArgs)
        {
            MaterialPropertyBlock properties = (MaterialPropertyBlock)null;
            int argsOffset = 0;

            CommandBuffer.INTERNAL_CALL_DrawProceduralIndirect(this, ref matrix, material, shaderPass, topology, bufferWithArgs, argsOffset, properties);
        }