mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Expose BasicEffect.
This commit is contained in:
parent
b5b48cc204
commit
0008e4afe5
@ -40,11 +40,13 @@ namespace Spine {
|
|||||||
public class SkeletonRenderer {
|
public class SkeletonRenderer {
|
||||||
GraphicsDevice device;
|
GraphicsDevice device;
|
||||||
SpriteBatcher batcher;
|
SpriteBatcher batcher;
|
||||||
BasicEffect effect;
|
|
||||||
RasterizerState rasterizerState;
|
RasterizerState rasterizerState;
|
||||||
float[] vertices = new float[8];
|
float[] vertices = new float[8];
|
||||||
BlendState defaultBlendState;
|
BlendState defaultBlendState;
|
||||||
|
|
||||||
|
BasicEffect effect;
|
||||||
|
public BasicEffect Effect { get { return effect; } set { effect = value; } }
|
||||||
|
|
||||||
private bool premultipliedAlpha;
|
private bool premultipliedAlpha;
|
||||||
public bool PremultipliedAlpha { get { return premultipliedAlpha; } set { premultipliedAlpha = value; } }
|
public bool PremultipliedAlpha { get { return premultipliedAlpha; } set { premultipliedAlpha = value; } }
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user