You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Changed RenderingDevice::TextureUsageBits type to enum flags
This commit is contained in:
@@ -66,7 +66,7 @@ public:
|
||||
RD_SETGET(uint32_t, mipmaps)
|
||||
RD_SETGET(RD::TextureType, texture_type)
|
||||
RD_SETGET(RD::TextureSamples, samples)
|
||||
RD_SETGET(uint32_t, usage_bits)
|
||||
RD_SETGET(BitField<RenderingDevice::TextureUsageBits>, usage_bits)
|
||||
|
||||
void add_shareable_format(RD::DataFormat p_format) { base.shareable_formats.push_back(p_format); }
|
||||
void remove_shareable_format(RD::DataFormat p_format) { base.shareable_formats.erase(p_format); }
|
||||
|
||||
Reference in New Issue
Block a user