mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Add GetTexture method to ISkinSource
Used to shortcut lookup checks without potentially expensive drawable creation overhead.
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
using osu.Game.Rulesets.Objects.Types;
|
||||
using OpenTK.Graphics;
|
||||
|
||||
@ -18,6 +19,8 @@ namespace osu.Game.Skinning
|
||||
|
||||
Drawable GetDrawableComponent(string componentName);
|
||||
|
||||
Texture GetTexture(string componentName);
|
||||
|
||||
SampleChannel GetSample(string sampleName);
|
||||
|
||||
Color4? GetComboColour(IHasComboIndex comboObject);
|
||||
|
Reference in New Issue
Block a user