Exemplo n.º 1
0
        private static AsyncGPUReadbackRequest Request_Internal_Texture_1(Texture src, int mipIndex)
        {
            AsyncGPUReadbackRequest result;

            AsyncGPUReadback.Request_Internal_Texture_1_Injected(src, mipIndex, out result);
            return(result);
        }
Exemplo n.º 2
0
        private static AsyncGPUReadbackRequest Request_Internal_ComputeBuffer_1(ComputeBuffer buffer)
        {
            AsyncGPUReadbackRequest result;

            AsyncGPUReadback.Request_Internal_ComputeBuffer_1_Injected(buffer, out result);
            return(result);
        }
Exemplo n.º 3
0
        private static AsyncGPUReadbackRequest Request_Internal_ComputeBuffer_2(ComputeBuffer src, int size, int offset)
        {
            AsyncGPUReadbackRequest result;

            AsyncGPUReadback.Request_Internal_ComputeBuffer_2_Injected(src, size, offset, out result);
            return(result);
        }
Exemplo n.º 4
0
        private static AsyncGPUReadbackRequest Request_Internal_Texture_4(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, TextureFormat dstFormat)
        {
            AsyncGPUReadbackRequest result;

            AsyncGPUReadback.Request_Internal_Texture_4_Injected(src, mipIndex, x, width, y, height, z, depth, dstFormat, out result);
            return(result);
        }
Exemplo n.º 5
0
        private static AsyncGPUReadbackRequest Request_Internal_Texture_2(Texture src, int mipIndex, TextureFormat dstFormat)
        {
            AsyncGPUReadbackRequest result;

            AsyncGPUReadback.Request_Internal_Texture_2_Injected(src, mipIndex, dstFormat, out result);
            return(result);
        }
Exemplo n.º 6
0
        public static AsyncGPUReadbackRequest Request(ComputeBuffer src)
        {
            if (src == null)
            {
                throw new ArgumentNullException();
            }
            AsyncGPUReadbackRequest result = AsyncGPUReadback.Request_Internal_ComputeBuffer_1(src);

            result.CreateSafetyHandle();
            return(result);
        }
Exemplo n.º 7
0
        public static AsyncGPUReadbackRequest Request(Texture src, int mipIndex, int x, int width, int y, int height, int z, int depth, TextureFormat dstFormat)
        {
            if (src == null)
            {
                throw new ArgumentNullException();
            }
            AsyncGPUReadbackRequest result = AsyncGPUReadback.Request_Internal_Texture_4(src, mipIndex, x, width, y, height, z, depth, dstFormat);

            result.CreateSafetyHandle();
            return(result);
        }
Exemplo n.º 8
0
        public static AsyncGPUReadbackRequest Request(Texture src, int mipIndex, TextureFormat dstFormat)
        {
            if (src == null)
            {
                throw new ArgumentNullException();
            }
            AsyncGPUReadbackRequest result = AsyncGPUReadback.Request_Internal_Texture_2(src, mipIndex, dstFormat);

            result.CreateSafetyHandle();
            return(result);
        }