| 832 | } |
| 833 | |
| 834 | ref<Texture> Device::createTexture3D( |
| 835 | uint32_t width, |
| 836 | uint32_t height, |
| 837 | uint32_t depth, |
| 838 | ResourceFormat format, |
| 839 | uint32_t mipLevels, |
| 840 | const void* pInitData, |
| 841 | ResourceBindFlags bindFlags |
| 842 | ) |
| 843 | { |
| 844 | return make_ref<Texture>( |
| 845 | ref<Device>(this), Resource::Type::Texture3D, format, width, height, depth, 1, mipLevels, 1, bindFlags, pInitData |
| 846 | ); |
| 847 | } |
| 848 | |
| 849 | ref<Texture> Device::createTextureCube( |
| 850 | uint32_t width, |
no outgoing calls