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

INTERNAL_CALL_DrawProcedural() private method

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

Usage Example

コード例 #1
0
        public void DrawProcedural(Matrix4x4 matrix, Material material, int shaderPass, MeshTopology topology, int vertexCount)
        {
            MaterialPropertyBlock properties = (MaterialPropertyBlock)null;
            int instanceCount = 1;

            CommandBuffer.INTERNAL_CALL_DrawProcedural(this, ref matrix, material, shaderPass, topology, vertexCount, instanceCount, properties);
        }
All Usage Examples Of UnityEngine.Rendering.CommandBuffer::INTERNAL_CALL_DrawProcedural