[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] DeepFrameBuffer::getSampleCountSlice()
From: |
Richard Hadsell |
Subject: |
[Openexr-devel] DeepFrameBuffer::getSampleCountSlice() |
Date: |
Mon, 07 Oct 2013 17:33:22 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
Why is there only a const function DeepFrameBuffer::getSampleCountSlice() that
returns a 'const Slice &'?
I want to allocate a sample count buffer that only spans a single tile, and then modify the slice for each tile that I read one at a time. This works fine for channel slices that I access using findSlice. Is it safe to const_cast the return from
getSampleCountSlice, or is there a fundamental reason why I cannot modify that slice's base?
--
Dick Hadsell 203-992-6320 Fax: 203-992-6001
Reply-to: address@hidden
Blue Sky Studios http://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560
- [Openexr-devel] DeepFrameBuffer::getSampleCountSlice(),
Richard Hadsell <=