core: Update Hillshade Algorithms and add Color-Relief Layer support (#3965)
This commit is contained in:
@@ -44,6 +44,8 @@ size_t Texture2DDesc::channelCount() const {
|
||||
|
||||
size_t Texture2DDesc::channelStorageSize() const {
|
||||
switch (channelType) {
|
||||
case gfx::TextureChannelDataType::Float:
|
||||
return 4;
|
||||
case gfx::TextureChannelDataType::HalfFloat:
|
||||
return 2;
|
||||
case gfx::TextureChannelDataType::UnsignedByte:
|
||||
|
||||
Reference in New Issue
Block a user