mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 09:35:23 -04:00
Remove unused draw modes, remove BlendEquation enum.
This commit is contained in:
parent
d7d2418ad4
commit
0cd3f22415
@ -28,8 +28,7 @@ namespace ClassicalSharp.GraphicsAPI {
|
|||||||
MatrixStack curStack;
|
MatrixStack curStack;
|
||||||
PrimitiveType[] modeMappings = new PrimitiveType[] {
|
PrimitiveType[] modeMappings = new PrimitiveType[] {
|
||||||
PrimitiveType.TriangleList, PrimitiveType.LineList,
|
PrimitiveType.TriangleList, PrimitiveType.LineList,
|
||||||
PrimitiveType.PointList, PrimitiveType.TriangleStrip,
|
PrimitiveType.TriangleStrip,
|
||||||
PrimitiveType.LineStrip, PrimitiveType.TriangleFan,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public DirectXApi( Device device ) {
|
public DirectXApi( Device device ) {
|
||||||
|
@ -251,19 +251,7 @@ namespace ClassicalSharp.GraphicsAPI {
|
|||||||
public enum DrawMode {
|
public enum DrawMode {
|
||||||
Triangles = 0,
|
Triangles = 0,
|
||||||
Lines = 1,
|
Lines = 1,
|
||||||
Points = 2,
|
TriangleStrip = 2,
|
||||||
|
|
||||||
TriangleStrip = 3,
|
|
||||||
LineStrip = 4,
|
|
||||||
TriangleFan = 5,
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum BlendEquation {
|
|
||||||
Add = 0,
|
|
||||||
Max = 1,
|
|
||||||
Min = 2,
|
|
||||||
Subtract = 3,
|
|
||||||
ReverseSubtract = 4,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum CompareFunc {
|
public enum CompareFunc {
|
||||||
|
@ -17,8 +17,7 @@ namespace ClassicalSharp.GraphicsAPI {
|
|||||||
int textureDimensions;
|
int textureDimensions;
|
||||||
const string vboExt = "GL_ARB_vertex_buffer_object";
|
const string vboExt = "GL_ARB_vertex_buffer_object";
|
||||||
BeginMode[] modeMappings = new BeginMode[] {
|
BeginMode[] modeMappings = new BeginMode[] {
|
||||||
BeginMode.Triangles, BeginMode.Lines, BeginMode.Points,
|
BeginMode.Triangles, BeginMode.Lines, BeginMode.TriangleStrip,
|
||||||
BeginMode.TriangleStrip, BeginMode.LineStrip, BeginMode.TriangleFan
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public OpenGLApi() {
|
public OpenGLApi() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user